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": "1ae45e31-4548-4ce1-a431-c7f9351b4d3a", "id": "961cc266-9630-478f-b632-1fdda92da987", "companyID": "a106e80c-4fe9-4a96-afd0-3e87ee0fb6cb" }
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>a106e80c-4fe9-4a96-afd0-3e87ee0fb6cb</CompanyID> <ID>961cc266-9630-478f-b632-1fdda92da987</ID> <CategoryType>Customer</CategoryType> <Name>sample string 1</Name> <ParentID>1ae45e31-4548-4ce1-a431-c7f9351b4d3a</ParentID> </CategoryUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"categoryType":1,"name":"sample string 1","parentID":"1ae45e31-4548-4ce1-a431-c7f9351b4d3a","id":"961cc266-9630-478f-b632-1fdda92da987","companyID":"a106e80c-4fe9-4a96-afd0-3e87ee0fb6cb"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.