POST api/Student/ServiceReservation

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
Entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ServiceId": 1,
  "ContactId": 2,
  "priceListId": [
    1,
    2,
    3
  ],
  "Direction": "sample string 3",
  "TNId": "sample string 4"
}

application/xml, text/xml

Sample:
<Membership_VM_Services xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CPortalApi.ModelsVM">
  <ContactId>2</ContactId>
  <Direction>sample string 3</Direction>
  <ServiceId>1</ServiceId>
  <TNId>sample string 4</TNId>
  <priceListId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </priceListId>
</Membership_VM_Services>

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

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>