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": "b157550d-76d5-4eef-b568-cddd2ed07eed",
  "companyID": "90f4960b-c13e-4bd5-b871-a82159ea92d8"
}

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>90f4960b-c13e-4bd5-b871-a82159ea92d8</CompanyID>
  <ID>b157550d-76d5-4eef-b568-cddd2ed07eed</ID>
  <Name>sample string 1</Name>
</UnitUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"name":"sample string 1","id":"b157550d-76d5-4eef-b568-cddd2ed07eed","companyID":"90f4960b-c13e-4bd5-b871-a82159ea92d8"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.