POST api/PNA/Payments/Enroll/Memberships

Request Information

URI Parameters

None.

Body Parameters

mTransacCreateDTO
NameDescriptionTypeAdditional information
plansid

integer

None.

itemname

string

None.

amount

decimal number

None.

clientipaddress

string

None.

Request Formats

application/json, text/json

Sample:
{
  "plansid": 1,
  "itemname": "sample string 1",
  "amount": 2.0,
  "clientipaddress": "sample string 3"
}

application/xml, text/xml

Sample:
<mTransacCreateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PNA.Models.DTO">
  <amount>2</amount>
  <clientipaddress>sample string 3</clientipaddress>
  <itemname>sample string 1</itemname>
  <plansid>1</plansid>
</mTransacCreateDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'mTransacCreateDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.