POST dato/webhook/DatoWebhookInfos
Request Information
URI Parameters
None.
Body Parameters
DatoWebhookPayload| Name | Description | Type | Additional information |
|---|---|---|---|
| event_type | string |
None. |
|
| entity_type | string |
None. |
|
| entity | DatoWebhookEntity |
None. |
|
| related_entities | Collection of DatoWebhookRelatedEntity |
None. |
Request Formats
application/json, text/json
Sample:
{
"event_type": "sample string 1",
"entity_type": "sample string 2",
"entity": {
"id": "sample string 1",
"attributes": {
"titre": "sample string 1"
},
"relationships": {
"item_type": {
"data": {
"id": "sample string 1",
"type": "sample string 2"
}
},
"creator": {
"data": {
"id": "sample string 1",
"type": "sample string 2"
}
}
}
},
"related_entities": [
{
"id": "sample string 1",
"type": "sample string 2",
"attributes": {
"name": "sample string 1"
}
},
{
"id": "sample string 1",
"type": "sample string 2",
"attributes": {
"name": "sample string 1"
}
}
]
}
application/xml, text/xml
Sample:
<DatoWebhookPayload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EITWEP.EntityClasses">
<entity>
<attributes>
<titre>sample string 1</titre>
</attributes>
<id>sample string 1</id>
<relationships>
<creator>
<data>
<id>sample string 1</id>
<type>sample string 2</type>
</data>
</creator>
<item_type>
<data>
<id>sample string 1</id>
<type>sample string 2</type>
</data>
</item_type>
</relationships>
</entity>
<entity_type>sample string 2</entity_type>
<event_type>sample string 1</event_type>
<related_entities>
<DatoWebhookRelatedEntity>
<attributes>
<name>sample string 1</name>
</attributes>
<id>sample string 1</id>
<type>sample string 2</type>
</DatoWebhookRelatedEntity>
<DatoWebhookRelatedEntity>
<attributes>
<name>sample string 1</name>
</attributes>
<id>sample string 1</id>
<type>sample string 2</type>
</DatoWebhookRelatedEntity>
</related_entities>
</DatoWebhookPayload>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.