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": "f88d5942-6d2f-4d9a-aaef-5abdd543144e", "companyID": "5a966e14-e8e9-46bc-a5f3-fca9cd48ec08" }
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>5a966e14-e8e9-46bc-a5f3-fca9cd48ec08</CompanyID> <ID>f88d5942-6d2f-4d9a-aaef-5abdd543144e</ID> <Name>sample string 1</Name> </UnitUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"name":"sample string 1","id":"f88d5942-6d2f-4d9a-aaef-5abdd543144e","companyID":"5a966e14-e8e9-46bc-a5f3-fca9cd48ec08"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.