POST api/v1/banzaifieldservices/{PartnerId}/BookAppointmentAfterOrder

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PartnerId

integer

Required

Body Parameters

BookAppointment
NameDescriptionTypeAdditional information
AppointmentId

integer

None.

dateStart

date

None.

dateEnd

date

None.

status

integer

None.

dateInsert

date

None.

dateUpdate

date

None.

price

integer

None.

oldAppointmentId

integer

None.

basketId

globally unique identifier

None.

numOrd

integer

None.

numOrdPadre

integer

None.

userKey

globally unique identifier

None.

addressId

globally unique identifier

None.

indirizzo

string

None.

civico

string

None.

provincia

string

None.

retry

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "appointmentId": 1,
  "dateStart": "2024-12-29T16:53:59.0473037+01:00",
  "dateEnd": "2024-12-29T16:53:59.0473037+01:00",
  "status": 4,
  "dateInsert": "2024-12-29T16:53:59.0473037+01:00",
  "dateUpdate": "2024-12-29T16:53:59.0473037+01:00",
  "price": 7,
  "oldAppointmentId": 1,
  "basketId": "3e5020bb-9ad6-44f2-a186-2674e82b3c91",
  "numOrd": 1,
  "numOrdPadre": 1,
  "userKey": "d4ab291c-5381-4b8f-bfe8-14ba535b4431",
  "addressId": "04052c2f-d30b-4213-b765-926179bca5ed",
  "indirizzo": "sample string 9",
  "civico": "sample string 10",
  "provincia": "sample string 11",
  "retry": 1
}

text/plain

Sample:
{"appointmentId":1,"dateStart":"2024-12-29T16:53:59.0473037+01:00","dateEnd":"2024-12-29T16:53:59.0473037+01:00","status":4,"dateInsert":"2024-12-29T16:53:59.0473037+01:00","dateUpdate":"2024-12-29T16:53:59.0473037+01:00","price":7,"oldAppointmentId":1,"basketId":"3e5020bb-9ad6-44f2-a186-2674e82b3c91","numOrd":1,"numOrdPadre":1,"userKey":"d4ab291c-5381-4b8f-bfe8-14ba535b4431","addressId":"04052c2f-d30b-4213-b765-926179bca5ed","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","retry":1}

application/xml, text/xml

Sample:
<BookAppointment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServicePlatform.DAL">
  <AppointmentId>1</AppointmentId>
  <addressId>04052c2f-d30b-4213-b765-926179bca5ed</addressId>
  <basketId>3e5020bb-9ad6-44f2-a186-2674e82b3c91</basketId>
  <civico>sample string 10</civico>
  <dateEnd>2024-12-29T16:53:59.0473037+01:00</dateEnd>
  <dateInsert>2024-12-29T16:53:59.0473037+01:00</dateInsert>
  <dateStart>2024-12-29T16:53:59.0473037+01:00</dateStart>
  <dateUpdate>2024-12-29T16:53:59.0473037+01:00</dateUpdate>
  <indirizzo>sample string 9</indirizzo>
  <numOrd>1</numOrd>
  <numOrdPadre>1</numOrdPadre>
  <oldAppointmentId>1</oldAppointmentId>
  <price>7</price>
  <provincia>sample string 11</provincia>
  <retry>1</retry>
  <status>4</status>
  <userKey>d4ab291c-5381-4b8f-bfe8-14ba535b4431</userKey>
</BookAppointment>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/octet-stream

Sample:
{"AppointmentId":1,"dateStart":"2024-12-29T16:53:59.0473037+01:00","dateEnd":"2024-12-29T16:53:59.0473037+01:00","status":4,"dateInsert":"2024-12-29T16:53:59.0473037+01:00","dateUpdate":"2024-12-29T16:53:59.0473037+01:00","price":7,"oldAppointmentId":1,"basketId":"3e5020bb-9ad6-44f2-a186-2674e82b3c91","numOrd":1,"numOrdPadre":1,"userKey":"d4ab291c-5381-4b8f-bfe8-14ba535b4431","addressId":"04052c2f-d30b-4213-b765-926179bca5ed","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","retry":1}

Response Information

Resource Description

ActionResponse
NameDescriptionTypeAdditional information
Code

string

None.

Description

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "description": "sample string 2"
}

text/plain

Sample:
{"code":"sample string 1","description":"sample string 2"}

application/xml, text/xml

Sample:
<ActionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServicePlatform.BL.Models.BanzaiServicePlatform.Dto">
  <Code>sample string 1</Code>
  <Description>sample string 2</Description>
</ActionResponse>

application/octet-stream

Sample:
{"Code":"sample string 1","Description":"sample string 2"}

text/javascript, application/javascript, application/json-p

Sample:
({"code":"sample string 1","description":"sample string 2"});