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": "21d0cd36-189e-4a96-8357-40ec6433aac3", "id": "4a9de75d-a3d5-4ddb-af66-3f4335d2f608", "companyID": "16dc04c5-296b-485d-bca3-58fd6f25b27f" }
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>16dc04c5-296b-485d-bca3-58fd6f25b27f</CompanyID> <ID>4a9de75d-a3d5-4ddb-af66-3f4335d2f608</ID> <CategoryType>Customer</CategoryType> <Name>sample string 1</Name> <ParentID>21d0cd36-189e-4a96-8357-40ec6433aac3</ParentID> </CategoryUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"categoryType":1,"name":"sample string 1","parentID":"21d0cd36-189e-4a96-8357-40ec6433aac3","id":"4a9de75d-a3d5-4ddb-af66-3f4335d2f608","companyID":"16dc04c5-296b-485d-bca3-58fd6f25b27f"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.