PUT api/Category/Update
Request Information
URI Parameters
None.
Body Parameters
CategoryUpdateDtoName | Description | Type | Additional information |
---|---|---|---|
CategoryType | CategoryType |
None. |
|
Name | string |
None. |
|
ParentID | globally unique identifier |
None. |
|
ID | globally unique identifier |
Required |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "categoryType": 1, "name": "sample string 1", "parentID": "2a2ede66-f4f2-4946-9378-044c94e1496d", "id": "a443afa0-e5a1-47bd-8b00-2c948e2c93bb", "companyID": "f0af0ae4-a3c3-4c39-b995-66e1f105f256" }
application/xml, text/xml
Sample:
<CategoryUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>f0af0ae4-a3c3-4c39-b995-66e1f105f256</CompanyID> <ID>a443afa0-e5a1-47bd-8b00-2c948e2c93bb</ID> <CategoryType>Customer</CategoryType> <Name>sample string 1</Name> <ParentID>2a2ede66-f4f2-4946-9378-044c94e1496d</ParentID> </CategoryUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"categoryType":1,"name":"sample string 1","parentID":"2a2ede66-f4f2-4946-9378-044c94e1496d","id":"a443afa0-e5a1-47bd-8b00-2c948e2c93bb","companyID":"f0af0ae4-a3c3-4c39-b995-66e1f105f256"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.