POST api/Payment/AddEventPayment

Request Information

URI Parameters

None.

Body Parameters

PaymentModel
NameDescriptionTypeAdditional information
LeagueId

integer

None.

EventId

integer

None.

UserId

integer

None.

amount

integer

None.

createdBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LeagueId": 1,
  "EventId": 2,
  "UserId": 3,
  "amount": 4,
  "createdBy": 5
}

application/xml, text/xml

Sample:
<PaymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SportClub.DTO">
  <EventId>2</EventId>
  <LeagueId>1</LeagueId>
  <UserId>3</UserId>
  <amount>4</amount>
  <createdBy>5</createdBy>
</PaymentModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.