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": "c69fe468-1008-452c-bfa3-88670301f833", "companyID": "f51fb701-36f6-4507-bc94-cb706b276c54" }
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>f51fb701-36f6-4507-bc94-cb706b276c54</CompanyID> <ID>c69fe468-1008-452c-bfa3-88670301f833</ID> <Name>sample string 1</Name> </DepartmentUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"name":"sample string 1","id":"c69fe468-1008-452c-bfa3-88670301f833","companyID":"f51fb701-36f6-4507-bc94-cb706b276c54"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.