POST api/Categories/Trash
Request Information
URI Parameters
None.
Body Parameters
CategoryName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
Status | string |
None. |
|
Type | string |
None. |
|
CreatedDate | date |
None. |
|
ModifiedDate | date |
None. |
|
Deleted | date |
None. |
|
Reaches | Collection of Reach |
None. |
|
Shows | Collection of Show |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Name": "sample string 2", "Status": "sample string 3", "Type": "sample string 4", "CreatedDate": "2024-09-09T15:21:12.7736237-07:00", "ModifiedDate": "2024-09-09T15:21:12.7736237-07:00", "Deleted": "2024-09-09T15:21:12.7736237-07:00", "Reaches": [ { "Id": 1, "Name": "sample string 2", "ChannelNumber": "sample string 3", "Image": "sample string 4", "Status": "sample string 5", "CategoryId": 1, "CategoryName": "sample string 6", "CreatedDate": "2024-09-09T15:21:12.7736237-07:00", "ModifiedDate": "2024-09-09T15:21:12.7736237-07:00", "Deleted": "2024-09-09T15:21:12.7736237-07:00" }, { "Id": 1, "Name": "sample string 2", "ChannelNumber": "sample string 3", "Image": "sample string 4", "Status": "sample string 5", "CategoryId": 1, "CategoryName": "sample string 6", "CreatedDate": "2024-09-09T15:21:12.7736237-07:00", "ModifiedDate": "2024-09-09T15:21:12.7736237-07:00", "Deleted": "2024-09-09T15:21:12.7736237-07:00" } ], "Shows": [ { "Id": 1, "Name": "sample string 2", "Description": "sample string 3", "ThumbImage": "sample string 4", "BannerImageList": "sample string 5", "YoutubeLinkList": "sample string 6", "ShowDatetime": "sample string 7", "CategoryId": 1, "CategoryName": "sample string 8", "Language": "sample string 9", "Status": "sample string 10", "CreatedDate": "2024-09-09T15:21:12.7736237-07:00", "ModifiedDate": "2024-09-09T15:21:12.7736237-07:00", "Deleted": "2024-09-09T15:21:12.7736237-07:00", "IsFeatured": true, "TVSchedules": [ { "Id": 1, "Day": "sample string 2", "Time": "sample string 3", "ShowId": 1, "Show": "sample string 4", "Status": "sample string 5", "CreatedDate": "2024-09-09T15:21:12.7736237-07:00", "ModifiedDate": "2024-09-09T15:21:12.7736237-07:00", "Deleted": "2024-09-09T15:21:12.7736237-07:00" }, { "Id": 1, "Day": "sample string 2", "Time": "sample string 3", "ShowId": 1, "Show": "sample string 4", "Status": "sample string 5", "CreatedDate": "2024-09-09T15:21:12.7736237-07:00", "ModifiedDate": "2024-09-09T15:21:12.7736237-07:00", "Deleted": "2024-09-09T15:21:12.7736237-07:00" } ] }, { "Id": 1, "Name": "sample string 2", "Description": "sample string 3", "ThumbImage": "sample string 4", "BannerImageList": "sample string 5", "YoutubeLinkList": "sample string 6", "ShowDatetime": "sample string 7", "CategoryId": 1, "CategoryName": "sample string 8", "Language": "sample string 9", "Status": "sample string 10", "CreatedDate": "2024-09-09T15:21:12.7736237-07:00", "ModifiedDate": "2024-09-09T15:21:12.7736237-07:00", "Deleted": "2024-09-09T15:21:12.7736237-07:00", "IsFeatured": true, "TVSchedules": [ { "Id": 1, "Day": "sample string 2", "Time": "sample string 3", "ShowId": 1, "Show": "sample string 4", "Status": "sample string 5", "CreatedDate": "2024-09-09T15:21:12.7736237-07:00", "ModifiedDate": "2024-09-09T15:21:12.7736237-07:00", "Deleted": "2024-09-09T15:21:12.7736237-07:00" }, { "Id": 1, "Day": "sample string 2", "Time": "sample string 3", "ShowId": 1, "Show": "sample string 4", "Status": "sample string 5", "CreatedDate": "2024-09-09T15:21:12.7736237-07:00", "ModifiedDate": "2024-09-09T15:21:12.7736237-07:00", "Deleted": "2024-09-09T15:21:12.7736237-07:00" } ] } ] }
text/html
Sample:
{"Id":1,"Name":"sample string 2","Status":"sample string 3","Type":"sample string 4","CreatedDate":"2024-09-09T15:21:12.7736237-07:00","ModifiedDate":"2024-09-09T15:21:12.7736237-07:00","Deleted":"2024-09-09T15:21:12.7736237-07:00","Reaches":[{"Id":1,"Name":"sample string 2","ChannelNumber":"sample string 3","Image":"sample string 4","Status":"sample string 5","CategoryId":1,"CategoryName":"sample string 6","CreatedDate":"2024-09-09T15:21:12.7736237-07:00","ModifiedDate":"2024-09-09T15:21:12.7736237-07:00","Deleted":"2024-09-09T15:21:12.7736237-07:00"},{"Id":1,"Name":"sample string 2","ChannelNumber":"sample string 3","Image":"sample string 4","Status":"sample string 5","CategoryId":1,"CategoryName":"sample string 6","CreatedDate":"2024-09-09T15:21:12.7736237-07:00","ModifiedDate":"2024-09-09T15:21:12.7736237-07:00","Deleted":"2024-09-09T15:21:12.7736237-07:00"}],"Shows":[{"Id":1,"Name":"sample string 2","Description":"sample string 3","ThumbImage":"sample string 4","BannerImageList":"sample string 5","YoutubeLinkList":"sample string 6","ShowDatetime":"sample string 7","CategoryId":1,"CategoryName":"sample string 8","Language":"sample string 9","Status":"sample string 10","CreatedDate":"2024-09-09T15:21:12.7736237-07:00","ModifiedDate":"2024-09-09T15:21:12.7736237-07:00","Deleted":"2024-09-09T15:21:12.7736237-07:00","IsFeatured":true,"TVSchedules":[{"Id":1,"Day":"sample string 2","Time":"sample string 3","ShowId":1,"Show":"sample string 4","Status":"sample string 5","CreatedDate":"2024-09-09T15:21:12.7736237-07:00","ModifiedDate":"2024-09-09T15:21:12.7736237-07:00","Deleted":"2024-09-09T15:21:12.7736237-07:00"},{"Id":1,"Day":"sample string 2","Time":"sample string 3","ShowId":1,"Show":"sample string 4","Status":"sample string 5","CreatedDate":"2024-09-09T15:21:12.7736237-07:00","ModifiedDate":"2024-09-09T15:21:12.7736237-07:00","Deleted":"2024-09-09T15:21:12.7736237-07:00"}]},{"Id":1,"Name":"sample string 2","Description":"sample string 3","ThumbImage":"sample string 4","BannerImageList":"sample string 5","YoutubeLinkList":"sample string 6","ShowDatetime":"sample string 7","CategoryId":1,"CategoryName":"sample string 8","Language":"sample string 9","Status":"sample string 10","CreatedDate":"2024-09-09T15:21:12.7736237-07:00","ModifiedDate":"2024-09-09T15:21:12.7736237-07:00","Deleted":"2024-09-09T15:21:12.7736237-07:00","IsFeatured":true,"TVSchedules":[{"Id":1,"Day":"sample string 2","Time":"sample string 3","ShowId":1,"Show":"sample string 4","Status":"sample string 5","CreatedDate":"2024-09-09T15:21:12.7736237-07:00","ModifiedDate":"2024-09-09T15:21:12.7736237-07:00","Deleted":"2024-09-09T15:21:12.7736237-07:00"},{"Id":1,"Day":"sample string 2","Time":"sample string 3","ShowId":1,"Show":"sample string 4","Status":"sample string 5","CreatedDate":"2024-09-09T15:21:12.7736237-07:00","ModifiedDate":"2024-09-09T15:21:12.7736237-07:00","Deleted":"2024-09-09T15:21:12.7736237-07:00"}]}]}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponceDataName | Description | Type | Additional information |
---|---|---|---|
TotalCount | integer |
None. |
|
Message | string |
None. |
|
Success | boolean |
None. |
|
Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "TotalCount": 1, "Message": "sample string 2", "Success": true, "Data": {} }
text/html
Sample:
{"TotalCount":1,"Message":"sample string 2","Success":true,"Data":{}}
application/xml, text/xml
Sample:
<ResponceData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Formatter"> <Data /> <Message>sample string 2</Message> <Success>true</Success> <TotalCount>1</TotalCount> </ResponceData>