PUT api/Unit/Update

Request Information

URI Parameters

None.

Body Parameters

UnitUpdateDto
NameDescriptionTypeAdditional 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": "02df4867-5266-4a8e-9c41-68ce87ed3c08",
  "companyID": "55ff79d3-e2f6-43a4-87e7-610404845d63"
}

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>55ff79d3-e2f6-43a4-87e7-610404845d63</CompanyID>
  <ID>02df4867-5266-4a8e-9c41-68ce87ed3c08</ID>
  <Name>sample string 1</Name>
</UnitUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"name":"sample string 1","id":"02df4867-5266-4a8e-9c41-68ce87ed3c08","companyID":"55ff79d3-e2f6-43a4-87e7-610404845d63"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.