POST api/ActionService/UpdateMembership
Documentation for 'UpdateMembership'.
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:
{
"PackageID": 1,
"DeficientAmount": 2.0,
"NewBalance": 3.0,
"NewCredits": 4.0,
"PackageAmount": 5.0,
"Credits": 6.0,
"UserID": 7,
"UGID": "sample string 8",
"TransactionAmount": 9.0,
"CountryCode": "sample string 10",
"UserIP": "sample string 11",
"ConceptID": 12
}
application/xml, text/xml
Sample:
<MembershipUpgrade xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Musician.Subscription"> <ConceptID>12</ConceptID> <CountryCode>sample string 10</CountryCode> <Credits>6</Credits> <DeficientAmount>2</DeficientAmount> <NewBalance>3</NewBalance> <NewCredits>4</NewCredits> <PackageAmount>5</PackageAmount> <PackageID>1</PackageID> <TransactionAmount>9</TransactionAmount> <UGID>sample string 8</UGID> <UserID>7</UserID> <UserIP>sample string 11</UserIP> </MembershipUpgrade>
application/x-www-form-urlencoded
Sample:
Response Information
Response body formats
application/json, text/json
Sample:
{
"status": "sample string 1",
"Message": {
"value": true
}
}
application/xml, text/xml
Sample:
<ResponseBaseOfGenericBooleanResponseVxd1ES9A 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">
<d2p1:value>true</d2p1:value>
</Message>
<status>sample string 1</status>
</ResponseBaseOfGenericBooleanResponseVxd1ES9A>