POST api/PNA/Payments/Join/Events

Request Information

URI Parameters

None.

Body Parameters

eTransacCreateDTO
NameDescriptionTypeAdditional information
eventid

integer

None.

itemname

string

None.

amount

decimal number

None.

clientipaddress

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<eTransacCreateDTO 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>
  <eventid>1</eventid>
  <itemname>sample string 1</itemname>
</eTransacCreateDTO>

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 'eTransacCreateDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.