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": "126cee48-913c-47d9-a1e3-a819185637da", "companyID": "941040a5-9a58-4a8b-b9e9-721d87d39fd3" }
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>941040a5-9a58-4a8b-b9e9-721d87d39fd3</CompanyID> <ID>126cee48-913c-47d9-a1e3-a819185637da</ID> <Name>sample string 1</Name> </DepartmentUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"name":"sample string 1","id":"126cee48-913c-47d9-a1e3-a819185637da","companyID":"941040a5-9a58-4a8b-b9e9-721d87d39fd3"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.