Request

Response

    dm.operation.started

    Event:
    dm.operation.started
    System:
    data (Data Management)
    Scope:
    folder
    Trigger:
    When a Data Management asynchronous operation starts

    Create a Webhook

    Request

    curl -X 'POST'\
         -v 'https://developer.api.autodesk.com/webhooks/v1/systems/data/events/dm.operation.started/hooks'\
         -H 'Content-Type: application/json'\
         -H 'authorization: Bearer bNU4P0trbQKNSzxWksLPTzSbbmUz'\
         -d '{
                "callbackUrl": "http://bf067e05.ngrok.io/callback",
                "scope": {
                    "folder": "urn:adsk.wipprod:fs.folder:co.s424tpjyS_yYBs5ozch94g"
                },
                "hookAttribute": {
                    "myfoo": 34,
                    "projectId": "someURN",
                    "myobject": {
                      "nested": true
                    }
                }
            }'
    
    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 can
    verify the signature to validate the integrity of the payload.

    Example Body

    Note: The tenant field in the body will only be available if WIP includes a scope including tenant in the event.

    {
      "version": "1.0",
      "resourceUrn": "urn:adsk.wipprod:fs.folder:co.HGJKYimOQomuJU1E1tSmfg",
      "hook": {
        "system": "data",
        "event": "dm.operation.started",
        "hookId": "1fcd3e30-9f3f-11e7-951f-0fd5337ed5ce",
        "tenant": "urn:adsk.wipprod:fs.folder:co.s424tpjyS_yYBs5ozch94g",
        "callbackUrl": "http://bf067e05.ngrok.io/callback",
        "createdBy": "************",
        "createdDate": "2017-09-22T02:38:32.341+0000",
        "creatorType": "Application",
        "hookAttribute": {
          "myfoo": 34,
          "projectId": "someURN",
          "myobject": {
            "nested": true
          }
        },
        "scope": {
          "folder": "urn:adsk.wipprod:fs.folder:co.s424tpjyS_yYBs5ozch94g"
        },
        "urn": "urn:adsk.webhooks:events.hook:1fcd3e30-9f3f-11e7-951f-0fd5337ed5ce",
        "status": "active",
        "__self__": "/systems/data/events/dm.operation.started/hooks/1fcd3e30-9f3f-11e7-951f-0fd5337ed5ce"
      },
      "payload": {
            "userInfo": {
                "id": "3WS7MJQPFJJB"
            },
            "progress": 0,
            "startTime": "2020-08-06T23:04:11+0000",
            "operationName": "DeleteFolderHandler",
            "state": "AVAILABLE",
            "message": "Delete a folder hierarchy asynchronously",
            "errors": [],
            "sourceResource": "urn:adsk.wipqa:fs.folder:co.Jryrw2XlTuOEuv4gAt0DIA",
            "eventContext": {
                "jobId": "K6cfWD2tRZ6zzAv2rF-mwg",
                "sourceAggregateUrnPath": "/urn:adsk.wipqa:fs.folder:co.woxoClweRCeMWn-HFbXGdQ/urn:adsk.wipqa:fs.folder:co.db0S9PIXS6-AbuCqwnD-4g",
                "sourceAggregatePath": "/RootFolder/subfolder1",
                "branchName": "master",
                "scopes": [
                    "{\"sourceSystem\":\"adsk.wipqa\",\"type\":\"dmid\",\"id\":\"a360betawip1fqa:group:38256668\"}",
                    "{\"sourceSystem\":\"adsk.wipqa\",\"type\":\"dmid\",\"id\":\"a360betawip1fqa:tenant:2315546\"}"
                ],
                "ancestors": [
                    {
                        "title": "b662c88c-85e3-45c7-a9cc-6c77a31462a4",
                        "urn": "urn:adsk.wipqa:fs.folder:co.woxoClweRCeMWn-HFbXGdQ",
                        "dmid": ""
                    },
                    {
                        "title": "Valyria team QA-account-root-folder",
                        "urn": "urn:adsk.wipqa:fs.folder:co.C7_f4YaoTFGEJA6_81wiAA",
                        "dmid": "bim360qa:account:8cbdfbec-3f02-47c7-838d-8f2236d7040d"
                    },
                    {
                        "title": "04825481-5812-4fbb-9695-1e2e70f1d065-root-folder",
                        "urn": "urn:adsk.wipqa:fs.folder:co.Lf1SPmKYS5OK_CVplH_1VA",
                        "dmid": "bim360qa:project:04825481-5812-4fbb-9695-1e2e70f1d065"
                    }
                ],
                "operation": "DeleteFolder",
                "sourceLastModifiedUserId": "3WS7MJQPFJJB"
            },
            "tenant": "2315546"
       }
    }
    
    Show More