POST Api/Payment/RegisterGymMember

Request Information

URI Parameters

None.

Body Parameters

ServiceRegistrationDTO
NameDescriptionTypeAdditional information
PackageId

integer

None.

Startdate

date

None.

Amount

decimal number

None.

InvoiceDate

date

None.

PaymentReference

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PackageId": 1,
  "Startdate": "2026-01-12T19:38:01.1235224+02:00",
  "Amount": 3.0,
  "InvoiceDate": "2026-01-12T19:38:01.125169+02:00",
  "PaymentReference": "sample string 5"
}

application/xml, text/xml

Sample:
<ServiceRegistrationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileAPI.Models"><Amount>3</Amount><InvoiceDate>2026-01-12T19:38:01.125169+02:00</InvoiceDate><PackageId>1</PackageId><PaymentReference>sample string 5</PaymentReference><Startdate>2026-01-12T19:38:01.1235224+02:00</Startdate></ServiceRegistrationDTO>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.