POST api/category
Request Information
URI Parameters
None.
Body Parameters
Category| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryId | integer |
None. |
|
| Account | Account |
None. |
|
| CategoryName | string |
None. |
|
| CategoryDescription | string |
None. |
|
| CategoryImage | string |
None. |
|
| CategoryActive | integer |
None. |
|
| CategoryActiveDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"CategoryId": 1,
"Account": {
"AccountId": 1,
"AccountName": "sample string 2",
"AccountActive": 3,
"AccountActiveDate": "2025-10-25T03:19:53.3392726-05:00"
},
"CategoryName": "sample string 2",
"CategoryDescription": "sample string 3",
"CategoryImage": "sample string 4",
"CategoryActive": 5,
"CategoryActiveDate": "2025-10-25T03:19:53.3392726-05:00"
}
text/html
Sample:
{"CategoryId":1,"Account":{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2025-10-25T03:19:53.3392726-05:00"},"CategoryName":"sample string 2","CategoryDescription":"sample string 3","CategoryImage":"sample string 4","CategoryActive":5,"CategoryActiveDate":"2025-10-25T03:19:53.3392726-05:00"}
application/xml, text/xml
Sample:
<Category xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FeedFlowAPI.Models.Content">
<Account xmlns:d2p1="http://schemas.datacontract.org/2004/07/FeedFlowAPI.Models.Permissions">
<d2p1:AccountActive>3</d2p1:AccountActive>
<d2p1:AccountActiveDate>2025-10-25T03:19:53.3392726-05:00</d2p1:AccountActiveDate>
<d2p1:AccountId>1</d2p1:AccountId>
<d2p1:AccountName>sample string 2</d2p1:AccountName>
</Account>
<CategoryActive>5</CategoryActive>
<CategoryActiveDate>2025-10-25T03:19:53.3392726-05:00</CategoryActiveDate>
<CategoryDescription>sample string 3</CategoryDescription>
<CategoryId>1</CategoryId>
<CategoryImage>sample string 4</CategoryImage>
<CategoryName>sample string 2</CategoryName>
</Category>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.