PUT api/Unit/Update
Request Information
URI Parameters
None.
Body Parameters
UnitUpdateDtoName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
ID | globally unique identifier |
Required |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "name": "sample string 1", "id": "0f0c2ec4-d941-4ebf-a9ff-dd764a920a7e", "companyID": "9cd4f9f4-ba8a-4c2a-8a09-b4ca22cfbdec" }
application/xml, text/xml
Sample:
<UnitUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>9cd4f9f4-ba8a-4c2a-8a09-b4ca22cfbdec</CompanyID> <ID>0f0c2ec4-d941-4ebf-a9ff-dd764a920a7e</ID> <Name>sample string 1</Name> </UnitUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"name":"sample string 1","id":"0f0c2ec4-d941-4ebf-a9ff-dd764a920a7e","companyID":"9cd4f9f4-ba8a-4c2a-8a09-b4ca22cfbdec"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.