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": "9ef2f730-455d-4ffa-82be-f6627759cb94",
  "companyID": "a3df755a-1e74-4550-8edb-e1447e927a35"
}

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>a3df755a-1e74-4550-8edb-e1447e927a35</CompanyID>
  <ID>9ef2f730-455d-4ffa-82be-f6627759cb94</ID>
  <Name>sample string 1</Name>
</DepartmentUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"name":"sample string 1","id":"9ef2f730-455d-4ffa-82be-f6627759cb94","companyID":"a3df755a-1e74-4550-8edb-e1447e927a35"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.