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": "c4b337d9-eb5c-40a3-83db-9f2731d80e89", "id": "6e85cfd3-f36d-41a4-9fc4-8b2b25838344", "companyID": "065f2c08-1157-4b0b-a860-662a84b5846b" }
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>065f2c08-1157-4b0b-a860-662a84b5846b</CompanyID> <ID>6e85cfd3-f36d-41a4-9fc4-8b2b25838344</ID> <CategoryType>Customer</CategoryType> <Name>sample string 1</Name> <ParentID>c4b337d9-eb5c-40a3-83db-9f2731d80e89</ParentID> </CategoryUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"categoryType":1,"name":"sample string 1","parentID":"c4b337d9-eb5c-40a3-83db-9f2731d80e89","id":"6e85cfd3-f36d-41a4-9fc4-8b2b25838344","companyID":"065f2c08-1157-4b0b-a860-662a84b5846b"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.