POST api/appointment/save-trans-service

Request Information

URI Parameters

None.

Body Parameters

BookingServiceParams
NameDescriptionTypeAdditional information
BookingId

integer

None.

SelectedServices

Collection of ServiceItemObj

None.

Request Formats

application/json, text/json

Sample:
{
  "BookingId": 1,
  "SelectedServices": [
    {
      "ItemId": 1,
      "Quantity": 2,
      "ItemPrice": 3.1
    },
    {
      "ItemId": 1,
      "Quantity": 2,
      "ItemPrice": 3.1
    }
  ]
}

application/xml, text/xml

Sample:
<BookingServiceParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities.ApiEntities">
  <BookingId>1</BookingId>
  <SelectedServices>
    <ServiceItemObj>
      <ItemId>1</ItemId>
      <ItemPrice>3.1</ItemPrice>
      <Quantity>2</Quantity>
    </ServiceItemObj>
    <ServiceItemObj>
      <ItemId>1</ItemId>
      <ItemPrice>3.1</ItemPrice>
      <Quantity>2</Quantity>
    </ServiceItemObj>
  </SelectedServices>
</BookingServiceParams>

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.