item.lock
Event: | item.lock |
System: | adsk.flc.production (Fusion Lifecycle) |
Scope: | workspace |
Trigger: | When a Fusion Lifecycle item transitions into a locked state |
Create a Webhook
Request
curl -X 'POST'\
-v 'https://developer.api.autodesk.com/webhooks/v1/systems/adsk.flc.production/events/item.lock/hooks'\
-H 'Content-Type: application/json'\
-H 'authorization: Bearer bNU4P0trbQKNSzxWksLPTzSbbmUz'\
-d '{
"callbackUrl": "http://callbackUrl.com/lock",
"scope": {
"workspace" : "urn:adsk.plm:tenant.workspace:TENANT.721"
}
}'
Show More
Callback Payload
Headers
x-adsk-delivery-id string | Payload delivery ID |
x-adsk-signature string | Hash-signature of the payload using secret token as the key.
It is prefixed with
sha1hash= . Your callback endpoint canverify the signature to validate the integrity of the payload.
|
Example Body
{
"version" : "1.0",
"resourceUrn" : "urn:adsk.plm:tenant.workspace.item:TENANT.721.109597",
"hook" : {
"hookId" : "7eceb920-6fde-11e8-a574-7b39610424dd",
"tenant" : "TENANT",
"callbackUrl" : "http://callbackurl.com/lock",
"createdBy" : "************",
"event" : "item.lock",
"createdDate" : "2018-06-14T14:23:23.570+0000",
"system" : "adsk.flc.production",
"creatorType" : "O2User",
"status" : "active",
"scope" : {
"workspace" : "urn:adsk.plm:tenant.workspace:TENANT.721"
},
"urn" : "urn:adsk.webhooks:events.hook:7eceb920-6fde-11e8-a574-7b39610424dd",
"__self__" : "/systems/adsk.flc.production/events/item.lock/hooks/7eceb920-6fde-11e8-a574-7b39610424dd"
},
"payload" : {
"ItemUrn" : "urn:adsk.plm:tenant.workspace.item:TENANT.721.109597",
"ItemDescription" : "NU000521"
}
}
Show More