PUT api/Department/Update
Request Information
URI Parameters
None.
Body Parameters
DepartmentUpdateDtoName | Description | Type | Additional 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": "0d815fcf-6ab6-49e5-bc26-d6c3b0a6c42c", "companyID": "ad9334a7-d2be-416d-9b1b-db36dd3ba727" }
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>ad9334a7-d2be-416d-9b1b-db36dd3ba727</CompanyID> <ID>0d815fcf-6ab6-49e5-bc26-d6c3b0a6c42c</ID> <Name>sample string 1</Name> </DepartmentUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"name":"sample string 1","id":"0d815fcf-6ab6-49e5-bc26-d6c3b0a6c42c","companyID":"ad9334a7-d2be-416d-9b1b-db36dd3ba727"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.