POST api/Unit/Add
Request Information
URI Parameters
None.
Body Parameters
UnitAddDtoName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "name": "sample string 1", "companyID": "1b55d9c3-eca9-4fe3-8fff-5d68d006487a" }
application/xml, text/xml
Sample:
<UnitAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>1b55d9c3-eca9-4fe3-8fff-5d68d006487a</CompanyID> <Name>sample string 1</Name> </UnitAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"name":"sample string 1","companyID":"1b55d9c3-eca9-4fe3-8fff-5d68d006487a"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.