POST api/Clubs/SaveServiceSubscribtion?ServiceId={ServiceId}&ContactId={ContactId}&TNId={TNId}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
ServiceId
No documentation available.

Define this parameter in the request URI.

ContactId
No documentation available.

Define this parameter in the request URI.

selections
No documentation available.

Define this parameter in the request body.

TNId
No documentation available.

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
[
  {
    "PriceListId": 1,
    "Quantity": 2
  },
  {
    "PriceListId": 1,
    "Quantity": 2
  },
  {
    "PriceListId": 1,
    "Quantity": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfClubsController.PriceSelection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CPortalApi.Controllers">
  <ClubsController.PriceSelection>
    <PriceListId>1</PriceListId>
    <Quantity>2</Quantity>
  </ClubsController.PriceSelection>
  <ClubsController.PriceSelection>
    <PriceListId>1</PriceListId>
    <Quantity>2</Quantity>
  </ClubsController.PriceSelection>
  <ClubsController.PriceSelection>
    <PriceListId>1</PriceListId>
    <Quantity>2</Quantity>
  </ClubsController.PriceSelection>
</ArrayOfClubsController.PriceSelection>

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 'List`1'.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Result": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<GeneralErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP_Plus">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result>true</Result>
</GeneralErrors>