GET api/v1/banzaifieldservices/{PartnerId}/GetAppointmentsToBook/{status}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PartnerId

integer

Required

status

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of serp_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.

partnerId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "appointmentId": 1,
    "dateStart": "2024-12-29T16:43:44.6143338+01:00",
    "dateEnd": "2024-12-29T16:43:44.6143338+01:00",
    "status": 4,
    "dateInsert": "2024-12-29T16:43:44.6143338+01:00",
    "dateUpdate": "2024-12-29T16:43:44.6143338+01:00",
    "price": 7,
    "oldAppointmentId": 1,
    "basketId": "9e986142-8d18-4a8d-bf8b-24654e6542b7",
    "numOrd": 1,
    "numOrdPadre": 1,
    "userKey": "5df2baf4-8b49-41e0-b2b7-dae712b30bfb",
    "addressId": "b5ca7b89-53e4-484a-bc7f-3947fcf1f5dc",
    "indirizzo": "sample string 9",
    "civico": "sample string 10",
    "provincia": "sample string 11",
    "partnerId": 12
  },
  {
    "appointmentId": 1,
    "dateStart": "2024-12-29T16:43:44.6143338+01:00",
    "dateEnd": "2024-12-29T16:43:44.6143338+01:00",
    "status": 4,
    "dateInsert": "2024-12-29T16:43:44.6143338+01:00",
    "dateUpdate": "2024-12-29T16:43:44.6143338+01:00",
    "price": 7,
    "oldAppointmentId": 1,
    "basketId": "9e986142-8d18-4a8d-bf8b-24654e6542b7",
    "numOrd": 1,
    "numOrdPadre": 1,
    "userKey": "5df2baf4-8b49-41e0-b2b7-dae712b30bfb",
    "addressId": "b5ca7b89-53e4-484a-bc7f-3947fcf1f5dc",
    "indirizzo": "sample string 9",
    "civico": "sample string 10",
    "provincia": "sample string 11",
    "partnerId": 12
  }
]

text/plain

Sample:
[{"appointmentId":1,"dateStart":"2024-12-29T16:43:44.6143338+01:00","dateEnd":"2024-12-29T16:43:44.6143338+01:00","status":4,"dateInsert":"2024-12-29T16:43:44.6143338+01:00","dateUpdate":"2024-12-29T16:43:44.6143338+01:00","price":7,"oldAppointmentId":1,"basketId":"9e986142-8d18-4a8d-bf8b-24654e6542b7","numOrd":1,"numOrdPadre":1,"userKey":"5df2baf4-8b49-41e0-b2b7-dae712b30bfb","addressId":"b5ca7b89-53e4-484a-bc7f-3947fcf1f5dc","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12},{"appointmentId":1,"dateStart":"2024-12-29T16:43:44.6143338+01:00","dateEnd":"2024-12-29T16:43:44.6143338+01:00","status":4,"dateInsert":"2024-12-29T16:43:44.6143338+01:00","dateUpdate":"2024-12-29T16:43:44.6143338+01:00","price":7,"oldAppointmentId":1,"basketId":"9e986142-8d18-4a8d-bf8b-24654e6542b7","numOrd":1,"numOrdPadre":1,"userKey":"5df2baf4-8b49-41e0-b2b7-dae712b30bfb","addressId":"b5ca7b89-53e4-484a-bc7f-3947fcf1f5dc","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12}]

application/xml, text/xml

Sample:
<ArrayOfserp_BookAppointment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServicePlatform.DAL">
  <serp_BookAppointment>
    <AppointmentId>1</AppointmentId>
    <addressId>b5ca7b89-53e4-484a-bc7f-3947fcf1f5dc</addressId>
    <basketId>9e986142-8d18-4a8d-bf8b-24654e6542b7</basketId>
    <civico>sample string 10</civico>
    <dateEnd>2024-12-29T16:43:44.6143338+01:00</dateEnd>
    <dateInsert>2024-12-29T16:43:44.6143338+01:00</dateInsert>
    <dateStart>2024-12-29T16:43:44.6143338+01:00</dateStart>
    <dateUpdate>2024-12-29T16:43:44.6143338+01:00</dateUpdate>
    <indirizzo>sample string 9</indirizzo>
    <numOrd>1</numOrd>
    <numOrdPadre>1</numOrdPadre>
    <oldAppointmentId>1</oldAppointmentId>
    <partnerId>12</partnerId>
    <price>7</price>
    <provincia>sample string 11</provincia>
    <status>4</status>
    <userKey>5df2baf4-8b49-41e0-b2b7-dae712b30bfb</userKey>
  </serp_BookAppointment>
  <serp_BookAppointment>
    <AppointmentId>1</AppointmentId>
    <addressId>b5ca7b89-53e4-484a-bc7f-3947fcf1f5dc</addressId>
    <basketId>9e986142-8d18-4a8d-bf8b-24654e6542b7</basketId>
    <civico>sample string 10</civico>
    <dateEnd>2024-12-29T16:43:44.6143338+01:00</dateEnd>
    <dateInsert>2024-12-29T16:43:44.6143338+01:00</dateInsert>
    <dateStart>2024-12-29T16:43:44.6143338+01:00</dateStart>
    <dateUpdate>2024-12-29T16:43:44.6143338+01:00</dateUpdate>
    <indirizzo>sample string 9</indirizzo>
    <numOrd>1</numOrd>
    <numOrdPadre>1</numOrdPadre>
    <oldAppointmentId>1</oldAppointmentId>
    <partnerId>12</partnerId>
    <price>7</price>
    <provincia>sample string 11</provincia>
    <status>4</status>
    <userKey>5df2baf4-8b49-41e0-b2b7-dae712b30bfb</userKey>
  </serp_BookAppointment>
</ArrayOfserp_BookAppointment>

application/octet-stream

Sample:
[{"AppointmentId":1,"dateStart":"2024-12-29T16:43:44.6143338+01:00","dateEnd":"2024-12-29T16:43:44.6143338+01:00","status":4,"dateInsert":"2024-12-29T16:43:44.6143338+01:00","dateUpdate":"2024-12-29T16:43:44.6143338+01:00","price":7,"oldAppointmentId":1,"basketId":"9e986142-8d18-4a8d-bf8b-24654e6542b7","numOrd":1,"numOrdPadre":1,"userKey":"5df2baf4-8b49-41e0-b2b7-dae712b30bfb","addressId":"b5ca7b89-53e4-484a-bc7f-3947fcf1f5dc","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12},{"AppointmentId":1,"dateStart":"2024-12-29T16:43:44.6143338+01:00","dateEnd":"2024-12-29T16:43:44.6143338+01:00","status":4,"dateInsert":"2024-12-29T16:43:44.6143338+01:00","dateUpdate":"2024-12-29T16:43:44.6143338+01:00","price":7,"oldAppointmentId":1,"basketId":"9e986142-8d18-4a8d-bf8b-24654e6542b7","numOrd":1,"numOrdPadre":1,"userKey":"5df2baf4-8b49-41e0-b2b7-dae712b30bfb","addressId":"b5ca7b89-53e4-484a-bc7f-3947fcf1f5dc","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12}]

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

Sample:
([{"appointmentId":1,"dateStart":"2024-12-29T16:43:44.6143338+01:00","dateEnd":"2024-12-29T16:43:44.6143338+01:00","status":4,"dateInsert":"2024-12-29T16:43:44.6143338+01:00","dateUpdate":"2024-12-29T16:43:44.6143338+01:00","price":7,"oldAppointmentId":1,"basketId":"9e986142-8d18-4a8d-bf8b-24654e6542b7","numOrd":1,"numOrdPadre":1,"userKey":"5df2baf4-8b49-41e0-b2b7-dae712b30bfb","addressId":"b5ca7b89-53e4-484a-bc7f-3947fcf1f5dc","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12},{"appointmentId":1,"dateStart":"2024-12-29T16:43:44.6143338+01:00","dateEnd":"2024-12-29T16:43:44.6143338+01:00","status":4,"dateInsert":"2024-12-29T16:43:44.6143338+01:00","dateUpdate":"2024-12-29T16:43:44.6143338+01:00","price":7,"oldAppointmentId":1,"basketId":"9e986142-8d18-4a8d-bf8b-24654e6542b7","numOrd":1,"numOrdPadre":1,"userKey":"5df2baf4-8b49-41e0-b2b7-dae712b30bfb","addressId":"b5ca7b89-53e4-484a-bc7f-3947fcf1f5dc","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12}]);