POST api/UpgradeId
Request Information
URI Parameters
None.
Body Parameters
Modupgrade| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| RegNo | string |
None. |
|
| Amount | string |
None. |
|
| Donation | decimal number |
None. |
|
| Password | string |
None. |
|
| Type | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"RegNo": "sample string 2",
"Amount": "sample string 3",
"Donation": 4.0,
"Password": "sample string 5",
"Type": "sample string 6"
}
application/xml, text/xml
Sample:
<Modupgrade xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TwoleafAPI.Models"> <Amount>sample string 3</Amount> <Donation>4</Donation> <Password>sample string 5</Password> <RegNo>sample string 2</RegNo> <Type>sample string 6</Type> <UserId>sample string 1</UserId> </Modupgrade>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CommonResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | string |
None. |
|
| Payload | Object |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"Payload": {},
"Message": "sample string 3"
}
application/xml, text/xml
Sample:
<CommonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TwoleafAPI.Models"> <Message>sample string 3</Message> <Payload /> <Status>sample string 1</Status> </CommonResponse>