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": "2264262b-e4db-421c-93d0-0090d25ea6df", "companyID": "db31b27a-9f49-4775-946d-e7103f441234" }
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>db31b27a-9f49-4775-946d-e7103f441234</CompanyID> <ID>2264262b-e4db-421c-93d0-0090d25ea6df</ID> <Name>sample string 1</Name> </DepartmentUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"name":"sample string 1","id":"2264262b-e4db-421c-93d0-0090d25ea6df","companyID":"db31b27a-9f49-4775-946d-e7103f441234"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.