GET api/v1/banzaifieldservices/{PartnerId}/GetAppointmentsToBook/{status}
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| PartnerId | integer | Required | |
| status | integer | Required | 
Body Parameters
None.
Response Information
Resource Description
Collection of serp_BookAppointment| Name | Description | Type | Additional 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": "2025-10-31T14:02:06.5097164+01:00",
    "dateEnd": "2025-10-31T14:02:06.5097164+01:00",
    "status": 4,
    "dateInsert": "2025-10-31T14:02:06.5097164+01:00",
    "dateUpdate": "2025-10-31T14:02:06.5097164+01:00",
    "price": 7,
    "oldAppointmentId": 1,
    "basketId": "ec746f07-e045-4488-b249-70a3c7238b0b",
    "numOrd": 1,
    "numOrdPadre": 1,
    "userKey": "dd3ce00b-cf74-4cff-8bb4-6901b60fd975",
    "addressId": "657ab59c-b400-4b30-aee7-2db321b26513",
    "indirizzo": "sample string 9",
    "civico": "sample string 10",
    "provincia": "sample string 11",
    "partnerId": 12
  },
  {
    "appointmentId": 1,
    "dateStart": "2025-10-31T14:02:06.5097164+01:00",
    "dateEnd": "2025-10-31T14:02:06.5097164+01:00",
    "status": 4,
    "dateInsert": "2025-10-31T14:02:06.5097164+01:00",
    "dateUpdate": "2025-10-31T14:02:06.5097164+01:00",
    "price": 7,
    "oldAppointmentId": 1,
    "basketId": "ec746f07-e045-4488-b249-70a3c7238b0b",
    "numOrd": 1,
    "numOrdPadre": 1,
    "userKey": "dd3ce00b-cf74-4cff-8bb4-6901b60fd975",
    "addressId": "657ab59c-b400-4b30-aee7-2db321b26513",
    "indirizzo": "sample string 9",
    "civico": "sample string 10",
    "provincia": "sample string 11",
    "partnerId": 12
  }
]
        text/plain
            Sample:
        
[{"appointmentId":1,"dateStart":"2025-10-31T14:02:06.5097164+01:00","dateEnd":"2025-10-31T14:02:06.5097164+01:00","status":4,"dateInsert":"2025-10-31T14:02:06.5097164+01:00","dateUpdate":"2025-10-31T14:02:06.5097164+01:00","price":7,"oldAppointmentId":1,"basketId":"ec746f07-e045-4488-b249-70a3c7238b0b","numOrd":1,"numOrdPadre":1,"userKey":"dd3ce00b-cf74-4cff-8bb4-6901b60fd975","addressId":"657ab59c-b400-4b30-aee7-2db321b26513","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12},{"appointmentId":1,"dateStart":"2025-10-31T14:02:06.5097164+01:00","dateEnd":"2025-10-31T14:02:06.5097164+01:00","status":4,"dateInsert":"2025-10-31T14:02:06.5097164+01:00","dateUpdate":"2025-10-31T14:02:06.5097164+01:00","price":7,"oldAppointmentId":1,"basketId":"ec746f07-e045-4488-b249-70a3c7238b0b","numOrd":1,"numOrdPadre":1,"userKey":"dd3ce00b-cf74-4cff-8bb4-6901b60fd975","addressId":"657ab59c-b400-4b30-aee7-2db321b26513","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>657ab59c-b400-4b30-aee7-2db321b26513</addressId>
    <basketId>ec746f07-e045-4488-b249-70a3c7238b0b</basketId>
    <civico>sample string 10</civico>
    <dateEnd>2025-10-31T14:02:06.5097164+01:00</dateEnd>
    <dateInsert>2025-10-31T14:02:06.5097164+01:00</dateInsert>
    <dateStart>2025-10-31T14:02:06.5097164+01:00</dateStart>
    <dateUpdate>2025-10-31T14:02:06.5097164+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>dd3ce00b-cf74-4cff-8bb4-6901b60fd975</userKey>
  </serp_BookAppointment>
  <serp_BookAppointment>
    <AppointmentId>1</AppointmentId>
    <addressId>657ab59c-b400-4b30-aee7-2db321b26513</addressId>
    <basketId>ec746f07-e045-4488-b249-70a3c7238b0b</basketId>
    <civico>sample string 10</civico>
    <dateEnd>2025-10-31T14:02:06.5097164+01:00</dateEnd>
    <dateInsert>2025-10-31T14:02:06.5097164+01:00</dateInsert>
    <dateStart>2025-10-31T14:02:06.5097164+01:00</dateStart>
    <dateUpdate>2025-10-31T14:02:06.5097164+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>dd3ce00b-cf74-4cff-8bb4-6901b60fd975</userKey>
  </serp_BookAppointment>
</ArrayOfserp_BookAppointment>
        application/octet-stream
            Sample:
        
[{"AppointmentId":1,"dateStart":"2025-10-31T14:02:06.5097164+01:00","dateEnd":"2025-10-31T14:02:06.5097164+01:00","status":4,"dateInsert":"2025-10-31T14:02:06.5097164+01:00","dateUpdate":"2025-10-31T14:02:06.5097164+01:00","price":7,"oldAppointmentId":1,"basketId":"ec746f07-e045-4488-b249-70a3c7238b0b","numOrd":1,"numOrdPadre":1,"userKey":"dd3ce00b-cf74-4cff-8bb4-6901b60fd975","addressId":"657ab59c-b400-4b30-aee7-2db321b26513","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12},{"AppointmentId":1,"dateStart":"2025-10-31T14:02:06.5097164+01:00","dateEnd":"2025-10-31T14:02:06.5097164+01:00","status":4,"dateInsert":"2025-10-31T14:02:06.5097164+01:00","dateUpdate":"2025-10-31T14:02:06.5097164+01:00","price":7,"oldAppointmentId":1,"basketId":"ec746f07-e045-4488-b249-70a3c7238b0b","numOrd":1,"numOrdPadre":1,"userKey":"dd3ce00b-cf74-4cff-8bb4-6901b60fd975","addressId":"657ab59c-b400-4b30-aee7-2db321b26513","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":"2025-10-31T14:02:06.5097164+01:00","dateEnd":"2025-10-31T14:02:06.5097164+01:00","status":4,"dateInsert":"2025-10-31T14:02:06.5097164+01:00","dateUpdate":"2025-10-31T14:02:06.5097164+01:00","price":7,"oldAppointmentId":1,"basketId":"ec746f07-e045-4488-b249-70a3c7238b0b","numOrd":1,"numOrdPadre":1,"userKey":"dd3ce00b-cf74-4cff-8bb4-6901b60fd975","addressId":"657ab59c-b400-4b30-aee7-2db321b26513","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12},{"appointmentId":1,"dateStart":"2025-10-31T14:02:06.5097164+01:00","dateEnd":"2025-10-31T14:02:06.5097164+01:00","status":4,"dateInsert":"2025-10-31T14:02:06.5097164+01:00","dateUpdate":"2025-10-31T14:02:06.5097164+01:00","price":7,"oldAppointmentId":1,"basketId":"ec746f07-e045-4488-b249-70a3c7238b0b","numOrd":1,"numOrdPadre":1,"userKey":"dd3ce00b-cf74-4cff-8bb4-6901b60fd975","addressId":"657ab59c-b400-4b30-aee7-2db321b26513","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12}]);