POST api/Command/DeleteSites

Deletes an entity site

Request Information

URI Parameters

None.

Body Parameters

The create delete sites command

WorkPoint365.WebAPI.Model.CreateDeleteSitesCommand
NameDescriptionTypeAdditional information
ItemIds

The entity ids

Collection of integer

None.

BusinessModuleId

The business module id

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "ItemIds": [
    1,
    2
  ],
  "BusinessModuleId": "139f3121-0659-4271-8208-11e126dfc864"
}

application/xml, text/xml

Sample:
<CreateDeleteSitesCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPoint365.WebAPI.Model">
  <BusinessModuleId>139f3121-0659-4271-8208-11e126dfc864</BusinessModuleId>
  <ItemIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ItemIds>
</CreateDeleteSitesCommand>

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>