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": "d6efca27-f177-44fc-a4f7-d834023a831c", "id": "b5952d38-cc68-46cf-92e6-500a804cba8c", "companyID": "a8cb6a5f-8971-4ed3-bcf2-fe154c6fcd8c" }
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>a8cb6a5f-8971-4ed3-bcf2-fe154c6fcd8c</CompanyID> <ID>b5952d38-cc68-46cf-92e6-500a804cba8c</ID> <CategoryType>Customer</CategoryType> <Name>sample string 1</Name> <ParentID>d6efca27-f177-44fc-a4f7-d834023a831c</ParentID> </CategoryUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"categoryType":1,"name":"sample string 1","parentID":"d6efca27-f177-44fc-a4f7-d834023a831c","id":"b5952d38-cc68-46cf-92e6-500a804cba8c","companyID":"a8cb6a5f-8971-4ed3-bcf2-fe154c6fcd8c"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.