Webhook projectmember.deleted - project ID?

When using the projectmember.deleted event in a webhook gives the ID of the project member that has been deleted. But the project ID is not given and we can't look for the projekt based on the project member ID as it has been removed from the project.

So how can we know the ID of the project in this case?

RE: Webhook projectmember.deleted - project ID?

Good point! This seems to have been an oversight that will have to be remedied.

Will get this into the backlog!

Best regards!

Av: Tony Yates 30. jan 2020

RE: Webhook projectmember.deleted - project ID?

Thanks Tony!

Av: Patrik Larsson 30. jan 2020

RE: Webhook projectmember.deleted - project ID?

Does not look like this one has been implemented yet...
It looks like there is nothing we can do with the projectmember_id when the row is deleted from the table....
It would have been nice to have other fields availible .....

Av: Ummair Tahir 1. okt 2020

RE: Webhook projectmember.deleted - project ID?

No news on this Tony? Are again in the same situation where a customer would have good use of webhooks and the delete event on projectmember.

Av: Patrik Larsson 9. jul 2021

RE: Webhook projectmember.deleted - project ID?

https://github.com/SuperOffice/SDK-Doc/blob/master/NetServer.Web.Services/Reference/Webhooks/Project%20Member%20Events.md

 

ProjectMember.deleted

 

{

    "EventId":"88f91933-edce-4c1a-8ded-ade8e2f72434",

    "Timestamp":"2018-04-05T08:28:01.5732501Z",

    "Changes":[],

    "Values": {

      "associate_id": 4039840,

      "project_id": 178105

    },

    "Event":"projectmember.deleted",

    "PrimaryKey":18,

    "Entity":"projectmember",

    "ContextIdentifier":"Cust54321",

    "ChangedByAssociateId":5,

    "WebhookName":"Name you provided"

}

Av: Christian Mogensen 10. jul 2021