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": "342ef677-b65f-40a1-b6d2-250b5fd3eee8", "id": "4ead3d3d-947c-4376-8645-72df07ae8389", "companyID": "a3101877-036d-4d01-9718-e0320eeb9771" }
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>a3101877-036d-4d01-9718-e0320eeb9771</CompanyID> <ID>4ead3d3d-947c-4376-8645-72df07ae8389</ID> <CategoryType>Customer</CategoryType> <Name>sample string 1</Name> <ParentID>342ef677-b65f-40a1-b6d2-250b5fd3eee8</ParentID> </CategoryUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"categoryType":1,"name":"sample string 1","parentID":"342ef677-b65f-40a1-b6d2-250b5fd3eee8","id":"4ead3d3d-947c-4376-8645-72df07ae8389","companyID":"a3101877-036d-4d01-9718-e0320eeb9771"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.