POST api/businessmodules/{businessModuleId}/entities/{entityId}/webhooks/disable
Moves an entity
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| businessModuleId | globally unique identifier |
Required |
|
| entityId | integer |
Required |
Body Parameters
WorkPoint365.WebAPI.Model.Controllers.List.WebhookMigrationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Scope |
If AllLists, migration mode is applied to all lists on the entity site.
If SpecificLists, only the lists in |
WorkPoint365.WebAPI.Model.Controllers.List.WebhookMigrationScope |
None. |
| Lists |
Only used when Scope=SpecificLists. List identifiers in WorkPoint “relative list url” form (e.g. "Documents", "Shared Documents", etc.). |
Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Scope": 0,
"Lists": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<WebhookMigrationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPoint365.WebAPI.Model.Controllers.List">
<Lists xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Lists>
<Scope>AllLists</Scope>
</WebhookMigrationRequest>
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.