POST api/User/InternalPurchaseState
Request Information
URI Parameters
None.
Body Parameters
InternalPurchaseStateRequst| Name | Description | Type | Additional information |
|---|---|---|---|
| sessionId | string |
None. |
|
| pCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"sessionId": "sample string 1",
"pCode": 2
}
application/xml, text/xml
Sample:
<InternalPurchaseStateRequst xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model.Requst"> <pCode xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model">2</pCode> <sessionId xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model">sample string 1</sessionId> </InternalPurchaseStateRequst>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
InternalPurchaseStateResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IsInternalPurchase | integer |
None. |
|
| InternalPurchaseCode | string |
None. |
|
| QuotaNum | string |
None. |
|
| statusCode | StatusCode |
None. |
|
| isSuccessful | boolean |
None. |
|
| message | string |
None. |
|
| returnUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsInternalPurchase": 1,
"InternalPurchaseCode": "sample string 2",
"QuotaNum": "sample string 3",
"isSuccessful": true,
"statusCode": 0,
"message": "sample string 5",
"returnUrl": "sample string 6"
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.