POST api/ActionService/GetMembershipCost_And_InsertLog
Documentation for 'GetMembershipCost_And_InsertLog'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| request | Documentation for 'request'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"UserID": 1,
"PackageID": 2,
"UGID": "sample string 3",
"ConceptID": 4
}
application/xml, text/xml
Sample:
<SubscriptionUpgradeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Musician.Subscription"> <ConceptID>4</ConceptID> <PackageID>2</PackageID> <UGID>sample string 3</UGID> <UserID>1</UserID> </SubscriptionUpgradeRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Response body formats
application/json, text/json
Sample:
{
"status": "sample string 1",
"Message": {
"UserID": 1,
"PackageID": 2,
"DeficientAmount": 3.0,
"CurrentBalance": 4.0,
"PackageAmount": 5.0,
"CurrentCredits": 6.0,
"UGID": "sample string 7"
}
}
application/xml, text/xml
Sample:
<ResponseBaseOfSubscriptionUpgradeResponse_STwkL0iV xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.MessageBase">
<Message xmlns:d2p1="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Musician.Subscription">
<d2p1:CurrentBalance>4</d2p1:CurrentBalance>
<d2p1:CurrentCredits>6</d2p1:CurrentCredits>
<d2p1:DeficientAmount>3</d2p1:DeficientAmount>
<d2p1:PackageAmount>5</d2p1:PackageAmount>
<d2p1:PackageID>2</d2p1:PackageID>
<d2p1:UGID>sample string 7</d2p1:UGID>
<d2p1:UserID>1</d2p1:UserID>
</Message>
<status>sample string 1</status>
</ResponseBaseOfSubscriptionUpgradeResponse_STwkL0iV>