POST api/Account/ChargeMember

Request Information

URI Parameters

None.

Body Parameters

Membership
NameDescriptionTypeAdditional information
Oid

integer

None.

Pid

integer

None.

PromoCode

string

None.

PromoType

string

None.

PurchasedDateTime

date

None.

IsExpired

boolean

None.

ExpireDate

date

None.

CreatedBy

string

None.

CreatedDate

date

None.

AppId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Oid": 1,
  "Pid": 2,
  "PromoCode": "sample string 3",
  "PromoType": "sample string 4",
  "PurchasedDateTime": "2024-07-14T01:30:35.0238859+00:00",
  "IsExpired": true,
  "ExpireDate": "2024-07-14T01:30:35.0238859+00:00",
  "CreatedBy": "sample string 8",
  "CreatedDate": "2024-07-14T01:30:35.0238859+00:00",
  "AppId": "sample string 10"
}

multipart/form-data

Sample:
{"Oid":1,"Pid":2,"PromoCode":"sample string 3","PromoType":"sample string 4","PurchasedDateTime":"2024-07-14T01:30:35.0238859+00:00","IsExpired":true,"ExpireDate":"2024-07-14T01:30:35.0238859+00:00","CreatedBy":"sample string 8","CreatedDate":"2024-07-14T01:30:35.0238859+00:00","AppId":"sample string 10"}

application/xml, text/xml

Sample:
<Membership xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileActML">
  <AppId>sample string 10</AppId>
  <CreatedBy>sample string 8</CreatedBy>
  <CreatedDate>2024-07-14T01:30:35.0238859+00:00</CreatedDate>
  <ExpireDate>2024-07-14T01:30:35.0238859+00:00</ExpireDate>
  <IsExpired>true</IsExpired>
  <Oid>1</Oid>
  <Pid>2</Pid>
  <PromoCode>sample string 3</PromoCode>
  <PromoType>sample string 4</PromoType>
  <PurchasedDateTime>2024-07-14T01:30:35.0238859+00:00</PurchasedDateTime>
</Membership>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, multipart/form-data, application/xml, text/xml

Sample:

Sample not available.