POST api/Command/CreateSites
Creates an entity site
Request Information
URI Parameters
None.
Body Parameters
The create delete sites command
WorkPoint365.WebAPI.Model.CreateDeleteSitesCommandName | Description | Type | Additional 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": "99ad9538-2c3f-49c3-bdb9-153d6137eaca" }
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>99ad9538-2c3f-49c3-bdb9-153d6137eaca</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
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>