POST api/Video/NewContentAdd
Request Information
URI Parameters
None.
Body Parameters
NewVideoRequstModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| CategoryTypeID | integer |
None. |
|
| FormatTypeID | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Link | string |
None. |
|
| Duration | string |
None. |
|
| Size | string |
None. |
|
| VideoCount | integer |
None. |
|
| ImageCount | integer |
None. |
|
| Price | decimal number |
None. |
|
| InvoiceID | integer |
None. |
|
| UserID | integer |
None. |
|
| ConfirmVideoStatusTypeID | integer |
None. |
|
| CancelReasonText | string |
None. |
|
| SectionTypeID | integer |
None. |
|
| IsMyLink | boolean |
None. |
|
| Image | string |
None. |
|
| Images | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"CategoryTypeID": 2,
"FormatTypeID": 3,
"Name": "sample string 4",
"Description": "sample string 5",
"Link": "sample string 6",
"Duration": "sample string 7",
"Size": "sample string 8",
"VideoCount": 9,
"ImageCount": 10,
"Price": 11.0,
"InvoiceID": 12,
"UserID": 13,
"ConfirmVideoStatusTypeID": 14,
"CancelReasonText": "sample string 15",
"SectionTypeID": 16,
"IsMyLink": true,
"Image": "sample string 18",
"Images": [
"sample string 1",
"sample string 2"
]
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SVJsonResult| Name | Description | Type | Additional information |
|---|---|---|---|
| ContentEncoding | Encoding |
None. |
|
| ContentType | string |
None. |
|
| Data | Object |
None. |
|
| JsonRequestBehavior | JsonRequestBehavior |
None. |
|
| MaxJsonLength | integer |
None. |
|
| RecursionLimit | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ContentEncoding": null,
"ContentType": "sample string 1",
"Data": {},
"JsonRequestBehavior": 0,
"MaxJsonLength": 1,
"RecursionLimit": 1
}