PUT api/City/Update

Request Information

URI Parameters

None.

Body Parameters

CityUpdateDto
NameDescriptionTypeAdditional information
ID

globally unique identifier

Required

CompanyID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "1baabd8a-4c40-49ca-b2ce-1f6f6ed0533e",
  "companyID": "383fd727-0682-4a94-8039-0ae2e1626b4e"
}

application/xml, text/xml

Sample:
<CityUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">
  <CompanyID>383fd727-0682-4a94-8039-0ae2e1626b4e</CompanyID>
  <ID>1baabd8a-4c40-49ca-b2ce-1f6f6ed0533e</ID>
</CityUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"id":"1baabd8a-4c40-49ca-b2ce-1f6f6ed0533e","companyID":"383fd727-0682-4a94-8039-0ae2e1626b4e"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.