PUT api/Department/Update

Request Information

URI Parameters

None.

Body Parameters

DepartmentUpdateDto
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": "8654fb5d-de6e-4667-9321-3359b668d09e",
  "companyID": "8f7d8eb6-cad5-41a8-a2eb-aea277b1feba"
}

application/xml, text/xml

Sample:
<DepartmentUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">
  <CompanyID>8f7d8eb6-cad5-41a8-a2eb-aea277b1feba</CompanyID>
  <ID>8654fb5d-de6e-4667-9321-3359b668d09e</ID>
  <Name>sample string 1</Name>
</DepartmentUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"name":"sample string 1","id":"8654fb5d-de6e-4667-9321-3359b668d09e","companyID":"8f7d8eb6-cad5-41a8-a2eb-aea277b1feba"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.