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": "9d6b2678-092d-420c-9cdf-19c67f9a4da6", "id": "2ca23e87-ec3b-4b53-a41d-9d0fcdef3343", "companyID": "ef45c2ec-2121-454f-8c04-5f5cc23d6d1a" }
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>ef45c2ec-2121-454f-8c04-5f5cc23d6d1a</CompanyID> <ID>2ca23e87-ec3b-4b53-a41d-9d0fcdef3343</ID> <CategoryType>Customer</CategoryType> <Name>sample string 1</Name> <ParentID>9d6b2678-092d-420c-9cdf-19c67f9a4da6</ParentID> </CategoryUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"categoryType":1,"name":"sample string 1","parentID":"9d6b2678-092d-420c-9cdf-19c67f9a4da6","id":"2ca23e87-ec3b-4b53-a41d-9d0fcdef3343","companyID":"ef45c2ec-2121-454f-8c04-5f5cc23d6d1a"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.