POST 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": "4c89dd36-7f6a-4b39-a0ae-571514c19847", "id": "459c088c-1f8c-4017-be20-ca03e5ecd613", "companyID": "9342b618-a17b-4ea8-9d42-81b2d90a31c0" }
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>9342b618-a17b-4ea8-9d42-81b2d90a31c0</CompanyID> <ID>459c088c-1f8c-4017-be20-ca03e5ecd613</ID> <CategoryType>Customer</CategoryType> <Name>sample string 1</Name> <ParentID>4c89dd36-7f6a-4b39-a0ae-571514c19847</ParentID> </CategoryUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"categoryType":1,"name":"sample string 1","parentID":"4c89dd36-7f6a-4b39-a0ae-571514c19847","id":"459c088c-1f8c-4017-be20-ca03e5ecd613","companyID":"9342b618-a17b-4ea8-9d42-81b2d90a31c0"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.