POST api/Category/Create
Request Information
URI Parameters
None.
Body Parameters
CreateCategoryRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ParentId | integer |
None. |
|
| Ten | string |
None. |
|
| MoTa | string |
None. |
|
| AnhBiaId | globally unique identifier |
None. |
|
| CreateId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"ParentId": 1,
"Ten": "sample string 2",
"MoTa": "sample string 3",
"AnhBiaId": "aafdfe79-1c7f-4095-af95-9342f869711c",
"CreateId": "73dd053d-b161-4b21-869d-6fbd78039050"
}
application/xml, text/xml
Sample:
<CreateCategoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.Category"> <AnhBiaId>aafdfe79-1c7f-4095-af95-9342f869711c</AnhBiaId> <CreateId>73dd053d-b161-4b21-869d-6fbd78039050</CreateId> <MoTa>sample string 3</MoTa> <ParentId>1</ParentId> <Ten>sample string 2</Ten> </CreateCategoryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>