POST api/Subscriber/UpgradeOfferSegmentation
Request Information
URI Parameters
None.
Body Parameters
MigrationUpgradationParam| Name | Description | Type | Additional information |
|---|---|---|---|
| SMSID | integer |
None. |
|
| UserID | integer |
None. |
|
| ChargeId | integer |
None. |
|
| DebitAmt | decimal number |
None. |
|
| Source | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SMSID": 1,
"UserID": 2,
"ChargeId": 3,
"DebitAmt": 4.1,
"Source": "sample string 5"
}
application/xml, text/xml
Sample:
<MigrationUpgradationParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Transaction.Recharge"> <ChargeId>3</ChargeId> <DebitAmt>4.1</DebitAmt> <SMSID>1</SMSID> <Source>sample string 5</Source> <UserID>2</UserID> </MigrationUpgradationParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultInfoOfMigrationUpgradationResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| AccessToken | string |
None. |
|
| TokenType | string |
None. |
|
| ResultType | TypeOfResult |
None. |
|
| ResultCode | integer |
None. |
|
| ResultDesc | string |
None. |
|
| Result | MigrationUpgradationResponse |
None. |
|
| ErrCode | integer |
None. |
|
| ErrDesc | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"AccessToken": "sample string 1",
"TokenType": "sample string 2",
"ResultType": 0,
"ResultCode": 3,
"ResultDesc": "sample string 4",
"Result": {
"UpgradedinBilling": true,
"UpgradedinCRM": true,
"Message": "sample string 3"
},
"ErrCode": 5,
"ErrDesc": "sample string 6"
}
application/xml, text/xml
Sample:
<ResultInfoOfMigrationUpgradationResponseYpx_PLYeY xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Common">
<AccessToken>sample string 1</AccessToken>
<ErrCode>5</ErrCode>
<ErrDesc>sample string 6</ErrDesc>
<Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Transaction.Recharge">
<d2p1:Message>sample string 3</d2p1:Message>
<d2p1:TransactionID>sample string 4</d2p1:TransactionID>
<d2p1:UpgradedinBilling>true</d2p1:UpgradedinBilling>
<d2p1:UpgradedinCRM>true</d2p1:UpgradedinCRM>
</Result>
<ResultCode>3</ResultCode>
<ResultDesc>sample string 4</ResultDesc>
<ResultType>Success</ResultType>
<TokenType>sample string 2</TokenType>
</ResultInfoOfMigrationUpgradationResponseYpx_PLYeY>