POST api/VideoInsert
Request Information
URI Parameters
None.
Body Parameters
VideoModel| Name | Description | Type | Additional information |
|---|---|---|---|
| VideoId | integer |
None. |
|
| UserId | integer |
None. |
|
| UserName | string |
None. |
|
| CategoryId | integer |
None. |
|
| Category | string |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| VideoLink | string |
None. |
|
| CREATEDBY | integer |
None. |
|
| IsVerified | integer |
None. |
|
| MODIFIEDBY | integer |
None. |
|
| Operation | string |
None. |
|
| IsVerifiedShow | string |
None. |
|
| DateShow | string |
None. |
|
| NoComment | integer |
None. |
|
| NoLike | integer |
None. |
|
| IsLike | integer |
None. |
|
| Status | character |
None. |
Request Formats
application/json, text/json
Sample:
{
"VideoId": 1,
"UserId": 2,
"UserName": "sample string 3",
"CategoryId": 4,
"Category": "sample string 5",
"Title": "sample string 6",
"Description": "sample string 7",
"VideoLink": "sample string 8",
"CREATEDBY": 9,
"IsVerified": 10,
"MODIFIEDBY": 11,
"Operation": "sample string 12",
"IsVerifiedShow": "sample string 13",
"DateShow": "sample string 14",
"NoComment": 15,
"NoLike": 16,
"IsLike": 17,
"Status": "A"
}
application/xml, text/xml
Sample:
<VideoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DecstopAPI.Models"> <CREATEDBY>9</CREATEDBY> <Category>sample string 5</Category> <CategoryId>4</CategoryId> <DateShow>sample string 14</DateShow> <Description>sample string 7</Description> <IsLike>17</IsLike> <IsVerified>10</IsVerified> <IsVerifiedShow>sample string 13</IsVerifiedShow> <MODIFIEDBY>11</MODIFIEDBY> <NoComment>15</NoComment> <NoLike>16</NoLike> <Operation>sample string 12</Operation> <Status>65</Status> <Title>sample string 6</Title> <UserId>2</UserId> <UserName>sample string 3</UserName> <VideoId>1</VideoId> <VideoLink>sample string 8</VideoLink> </VideoModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Result | string |
None. |
|
| newResult | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Result": "sample string 2",
"newResult": "sample string 3"
}
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DecstopAPI.Models"> <Id>1</Id> <Result>sample string 2</Result> <newResult>sample string 3</newResult> </ResultModel>