PUT api/category
Request Information
URI Parameters
None.
Body Parameters
CategoryName | 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": "2024-04-24T12:00:23.2603103-05:00" }, "CategoryName": "sample string 2", "CategoryDescription": "sample string 3", "CategoryImage": "sample string 4", "CategoryActive": 5, "CategoryActiveDate": "2024-04-24T12:00:23.2603103-05:00" }
text/html
Sample:
{"CategoryId":1,"Account":{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2024-04-24T12:00:23.2603103-05:00"},"CategoryName":"sample string 2","CategoryDescription":"sample string 3","CategoryImage":"sample string 4","CategoryActive":5,"CategoryActiveDate":"2024-04-24T12:00:23.2603103-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>2024-04-24T12:00:23.2603103-05:00</d2p1:AccountActiveDate> <d2p1:AccountId>1</d2p1:AccountId> <d2p1:AccountName>sample string 2</d2p1:AccountName> </Account> <CategoryActive>5</CategoryActive> <CategoryActiveDate>2024-04-24T12:00:23.2603103-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
Collection of CategoryName | 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. |
Response Formats
application/json, text/json
Sample:
[ { "CategoryId": 1, "Account": { "AccountId": 1, "AccountName": "sample string 2", "AccountActive": 3, "AccountActiveDate": "2024-04-24T12:00:23.3092992-05:00" }, "CategoryName": "sample string 2", "CategoryDescription": "sample string 3", "CategoryImage": "sample string 4", "CategoryActive": 5, "CategoryActiveDate": "2024-04-24T12:00:23.3092992-05:00" }, { "CategoryId": 1, "Account": { "AccountId": 1, "AccountName": "sample string 2", "AccountActive": 3, "AccountActiveDate": "2024-04-24T12:00:23.3092992-05:00" }, "CategoryName": "sample string 2", "CategoryDescription": "sample string 3", "CategoryImage": "sample string 4", "CategoryActive": 5, "CategoryActiveDate": "2024-04-24T12:00:23.3092992-05:00" } ]
text/html
Sample:
[{"CategoryId":1,"Account":{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2024-04-24T12:00:23.3092992-05:00"},"CategoryName":"sample string 2","CategoryDescription":"sample string 3","CategoryImage":"sample string 4","CategoryActive":5,"CategoryActiveDate":"2024-04-24T12:00:23.3092992-05:00"},{"CategoryId":1,"Account":{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2024-04-24T12:00:23.3092992-05:00"},"CategoryName":"sample string 2","CategoryDescription":"sample string 3","CategoryImage":"sample string 4","CategoryActive":5,"CategoryActiveDate":"2024-04-24T12:00:23.3092992-05:00"}]
application/xml, text/xml
Sample:
<ArrayOfCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FeedFlowAPI.Models.Content"> <Category> <Account xmlns:d3p1="http://schemas.datacontract.org/2004/07/FeedFlowAPI.Models.Permissions"> <d3p1:AccountActive>3</d3p1:AccountActive> <d3p1:AccountActiveDate>2024-04-24T12:00:23.3092992-05:00</d3p1:AccountActiveDate> <d3p1:AccountId>1</d3p1:AccountId> <d3p1:AccountName>sample string 2</d3p1:AccountName> </Account> <CategoryActive>5</CategoryActive> <CategoryActiveDate>2024-04-24T12:00:23.3092992-05:00</CategoryActiveDate> <CategoryDescription>sample string 3</CategoryDescription> <CategoryId>1</CategoryId> <CategoryImage>sample string 4</CategoryImage> <CategoryName>sample string 2</CategoryName> </Category> <Category> <Account xmlns:d3p1="http://schemas.datacontract.org/2004/07/FeedFlowAPI.Models.Permissions"> <d3p1:AccountActive>3</d3p1:AccountActive> <d3p1:AccountActiveDate>2024-04-24T12:00:23.3092992-05:00</d3p1:AccountActiveDate> <d3p1:AccountId>1</d3p1:AccountId> <d3p1:AccountName>sample string 2</d3p1:AccountName> </Account> <CategoryActive>5</CategoryActive> <CategoryActiveDate>2024-04-24T12:00:23.3092992-05:00</CategoryActiveDate> <CategoryDescription>sample string 3</CategoryDescription> <CategoryId>1</CategoryId> <CategoryImage>sample string 4</CategoryImage> <CategoryName>sample string 2</CategoryName> </Category> </ArrayOfCategory>