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-12-10T00:01:19.4197948+01:00",
"dateEnd": "2025-12-10T00:01:19.4197948+01:00",
"status": 4,
"dateInsert": "2025-12-10T00:01:19.4197948+01:00",
"dateUpdate": "2025-12-10T00:01:19.4197948+01:00",
"price": 7,
"oldAppointmentId": 1,
"basketId": "d1201a92-1af7-4d76-9a26-858c8d246b82",
"numOrd": 1,
"numOrdPadre": 1,
"userKey": "0ed6eccd-3648-4a3f-b5af-f289f7d48e04",
"addressId": "067346d7-5e66-4d0d-a8cd-07030f2b8e75",
"indirizzo": "sample string 9",
"civico": "sample string 10",
"provincia": "sample string 11",
"partnerId": 12
},
{
"appointmentId": 1,
"dateStart": "2025-12-10T00:01:19.4197948+01:00",
"dateEnd": "2025-12-10T00:01:19.4197948+01:00",
"status": 4,
"dateInsert": "2025-12-10T00:01:19.4197948+01:00",
"dateUpdate": "2025-12-10T00:01:19.4197948+01:00",
"price": 7,
"oldAppointmentId": 1,
"basketId": "d1201a92-1af7-4d76-9a26-858c8d246b82",
"numOrd": 1,
"numOrdPadre": 1,
"userKey": "0ed6eccd-3648-4a3f-b5af-f289f7d48e04",
"addressId": "067346d7-5e66-4d0d-a8cd-07030f2b8e75",
"indirizzo": "sample string 9",
"civico": "sample string 10",
"provincia": "sample string 11",
"partnerId": 12
}
]
text/plain
Sample:
[{"appointmentId":1,"dateStart":"2025-12-10T00:01:19.4197948+01:00","dateEnd":"2025-12-10T00:01:19.4197948+01:00","status":4,"dateInsert":"2025-12-10T00:01:19.4197948+01:00","dateUpdate":"2025-12-10T00:01:19.4197948+01:00","price":7,"oldAppointmentId":1,"basketId":"d1201a92-1af7-4d76-9a26-858c8d246b82","numOrd":1,"numOrdPadre":1,"userKey":"0ed6eccd-3648-4a3f-b5af-f289f7d48e04","addressId":"067346d7-5e66-4d0d-a8cd-07030f2b8e75","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12},{"appointmentId":1,"dateStart":"2025-12-10T00:01:19.4197948+01:00","dateEnd":"2025-12-10T00:01:19.4197948+01:00","status":4,"dateInsert":"2025-12-10T00:01:19.4197948+01:00","dateUpdate":"2025-12-10T00:01:19.4197948+01:00","price":7,"oldAppointmentId":1,"basketId":"d1201a92-1af7-4d76-9a26-858c8d246b82","numOrd":1,"numOrdPadre":1,"userKey":"0ed6eccd-3648-4a3f-b5af-f289f7d48e04","addressId":"067346d7-5e66-4d0d-a8cd-07030f2b8e75","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>067346d7-5e66-4d0d-a8cd-07030f2b8e75</addressId>
<basketId>d1201a92-1af7-4d76-9a26-858c8d246b82</basketId>
<civico>sample string 10</civico>
<dateEnd>2025-12-10T00:01:19.4197948+01:00</dateEnd>
<dateInsert>2025-12-10T00:01:19.4197948+01:00</dateInsert>
<dateStart>2025-12-10T00:01:19.4197948+01:00</dateStart>
<dateUpdate>2025-12-10T00:01:19.4197948+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>0ed6eccd-3648-4a3f-b5af-f289f7d48e04</userKey>
</serp_BookAppointment>
<serp_BookAppointment>
<AppointmentId>1</AppointmentId>
<addressId>067346d7-5e66-4d0d-a8cd-07030f2b8e75</addressId>
<basketId>d1201a92-1af7-4d76-9a26-858c8d246b82</basketId>
<civico>sample string 10</civico>
<dateEnd>2025-12-10T00:01:19.4197948+01:00</dateEnd>
<dateInsert>2025-12-10T00:01:19.4197948+01:00</dateInsert>
<dateStart>2025-12-10T00:01:19.4197948+01:00</dateStart>
<dateUpdate>2025-12-10T00:01:19.4197948+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>0ed6eccd-3648-4a3f-b5af-f289f7d48e04</userKey>
</serp_BookAppointment>
</ArrayOfserp_BookAppointment>
application/octet-stream
Sample:
[{"AppointmentId":1,"dateStart":"2025-12-10T00:01:19.4197948+01:00","dateEnd":"2025-12-10T00:01:19.4197948+01:00","status":4,"dateInsert":"2025-12-10T00:01:19.4197948+01:00","dateUpdate":"2025-12-10T00:01:19.4197948+01:00","price":7,"oldAppointmentId":1,"basketId":"d1201a92-1af7-4d76-9a26-858c8d246b82","numOrd":1,"numOrdPadre":1,"userKey":"0ed6eccd-3648-4a3f-b5af-f289f7d48e04","addressId":"067346d7-5e66-4d0d-a8cd-07030f2b8e75","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12},{"AppointmentId":1,"dateStart":"2025-12-10T00:01:19.4197948+01:00","dateEnd":"2025-12-10T00:01:19.4197948+01:00","status":4,"dateInsert":"2025-12-10T00:01:19.4197948+01:00","dateUpdate":"2025-12-10T00:01:19.4197948+01:00","price":7,"oldAppointmentId":1,"basketId":"d1201a92-1af7-4d76-9a26-858c8d246b82","numOrd":1,"numOrdPadre":1,"userKey":"0ed6eccd-3648-4a3f-b5af-f289f7d48e04","addressId":"067346d7-5e66-4d0d-a8cd-07030f2b8e75","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-12-10T00:01:19.4197948+01:00","dateEnd":"2025-12-10T00:01:19.4197948+01:00","status":4,"dateInsert":"2025-12-10T00:01:19.4197948+01:00","dateUpdate":"2025-12-10T00:01:19.4197948+01:00","price":7,"oldAppointmentId":1,"basketId":"d1201a92-1af7-4d76-9a26-858c8d246b82","numOrd":1,"numOrdPadre":1,"userKey":"0ed6eccd-3648-4a3f-b5af-f289f7d48e04","addressId":"067346d7-5e66-4d0d-a8cd-07030f2b8e75","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12},{"appointmentId":1,"dateStart":"2025-12-10T00:01:19.4197948+01:00","dateEnd":"2025-12-10T00:01:19.4197948+01:00","status":4,"dateInsert":"2025-12-10T00:01:19.4197948+01:00","dateUpdate":"2025-12-10T00:01:19.4197948+01:00","price":7,"oldAppointmentId":1,"basketId":"d1201a92-1af7-4d76-9a26-858c8d246b82","numOrd":1,"numOrdPadre":1,"userKey":"0ed6eccd-3648-4a3f-b5af-f289f7d48e04","addressId":"067346d7-5e66-4d0d-a8cd-07030f2b8e75","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12}]);