POST api/User/PaymentInfoSold
Request Information
URI Parameters
None.
Body Parameters
PaymentSold| Name | Description | Type | Additional information |
|---|---|---|---|
| UploadId | integer |
None. |
|
| UserId | integer |
None. |
|
| PurchaseVideoUserId | integer |
None. |
|
| PurchaseVideoPriceAmount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"uploadId": 1,
"userId": 2,
"purchaseVideoUserId": 3,
"purchaseVideoPriceAmount": 4.0
}
application/xml, text/xml
Sample:
<PaymentSold xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cultural_DAL.Common"> <PurchaseVideoPriceAmount>4</PurchaseVideoPriceAmount> <PurchaseVideoUserId>3</PurchaseVideoUserId> <UploadId>1</UploadId> <UserId>2</UserId> </PaymentSold>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaymentResponsesold| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| SuccessMessage | string |
None. |
|
| FailureMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"successMessage": "sample string 2",
"failureMessage": "sample string 3"
}
application/xml, text/xml
Sample:
<PaymentResponsesold xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cultural_DAL.Common"> <FailureMessage>sample string 3</FailureMessage> <IsSuccess>true</IsSuccess> <SuccessMessage>sample string 2</SuccessMessage> </PaymentResponsesold>