PUT api/Categories/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
CategoryDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
String length: inclusive between 0 and 255 |
|
| Description | string |
String length: inclusive between 0 and 255 |
|
| CreatedByUserId | globally unique identifier |
None. |
|
| TenantId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "b99721e5-c729-43d9-bc79-62ff2a1c15d5",
"Name": "sample string 2",
"Description": "sample string 3",
"CreatedByUserId": "0ee862cc-1c3f-4df7-bb3d-e7b39f7d1e4f",
"TenantId": "a4114c2a-c8ce-4ae1-8094-9a624cc9fcea"
}
application/xml, text/xml
Sample:
<CategoryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Products.Models"> <CreatedByUserId>0ee862cc-1c3f-4df7-bb3d-e7b39f7d1e4f</CreatedByUserId> <Description>sample string 3</Description> <Id>b99721e5-c729-43d9-bc79-62ff2a1c15d5</Id> <Name>sample string 2</Name> <TenantId>a4114c2a-c8ce-4ae1-8094-9a624cc9fcea</TenantId> </CategoryDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.