POST api/Categories
Request Information
URI Parameters
None.
Body Parameters
Category| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryId | integer |
None. |
|
| Name | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CategoryId": 1,
"Name": "sample string 2"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Category| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryId | integer |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"CategoryId": 1,
"Name": "sample string 2"
}