POST api/User/InternalPurchase
Request Information
URI Parameters
None.
Body Parameters
InternalPurchaseRequst| Name | Description | Type | Additional information |
|---|---|---|---|
| PhoneNum | string |
None. |
|
| Name | string |
None. |
|
| WxAccount | string |
None. |
|
| Address | string |
None. |
|
| IdCode | string |
None. |
|
| UserRelationship | integer |
None. |
|
| RecommendUser | string |
None. |
|
| sessionId | string |
None. |
|
| pCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PhoneNum": "sample string 1",
"Name": "sample string 2",
"WxAccount": "sample string 3",
"Address": "sample string 4",
"IdCode": "sample string 5",
"UserRelationship": 6,
"RecommendUser": "sample string 7",
"sessionId": "sample string 8",
"pCode": 9
}
application/xml, text/xml
Sample:
<InternalPurchaseRequst 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">9</pCode> <sessionId xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model">sample string 8</sessionId> <Address>sample string 4</Address> <IdCode>sample string 5</IdCode> <Name>sample string 2</Name> <PhoneNum>sample string 1</PhoneNum> <RecommendUser>sample string 7</RecommendUser> <UserRelationship>6</UserRelationship> <WxAccount>sample string 3</WxAccount> </InternalPurchaseRequst>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
InternalPurchaseResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| InternalPurchaseResult | integer |
None. |
|
| statusCode | StatusCode |
None. |
|
| isSuccessful | boolean |
None. |
|
| message | string |
None. |
|
| returnUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"InternalPurchaseResult": 1,
"isSuccessful": true,
"statusCode": 0,
"message": "sample string 3",
"returnUrl": "sample string 4"
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.