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": "5af39659-a72d-4e22-8616-f238a2cea085",
  "companyID": "8137baa1-4a46-4373-bc68-15dbd1a38bc2"
}

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>8137baa1-4a46-4373-bc68-15dbd1a38bc2</CompanyID>
  <ID>5af39659-a72d-4e22-8616-f238a2cea085</ID>
</CityUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"id":"5af39659-a72d-4e22-8616-f238a2cea085","companyID":"8137baa1-4a46-4373-bc68-15dbd1a38bc2"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.