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-08T16:50:36.282388+01:00",
"dateEnd": "2025-12-08T16:50:36.282388+01:00",
"status": 4,
"dateInsert": "2025-12-08T16:50:36.282388+01:00",
"dateUpdate": "2025-12-08T16:50:36.282388+01:00",
"price": 7,
"oldAppointmentId": 1,
"basketId": "84c5025f-2001-4d54-9421-050b68f44b94",
"numOrd": 1,
"numOrdPadre": 1,
"userKey": "07909d8b-bf12-413c-a9fb-317a99b8d959",
"addressId": "edba921a-166a-474f-ba4b-538e4e32cefc",
"indirizzo": "sample string 9",
"civico": "sample string 10",
"provincia": "sample string 11",
"partnerId": 12
},
{
"appointmentId": 1,
"dateStart": "2025-12-08T16:50:36.282388+01:00",
"dateEnd": "2025-12-08T16:50:36.282388+01:00",
"status": 4,
"dateInsert": "2025-12-08T16:50:36.282388+01:00",
"dateUpdate": "2025-12-08T16:50:36.282388+01:00",
"price": 7,
"oldAppointmentId": 1,
"basketId": "84c5025f-2001-4d54-9421-050b68f44b94",
"numOrd": 1,
"numOrdPadre": 1,
"userKey": "07909d8b-bf12-413c-a9fb-317a99b8d959",
"addressId": "edba921a-166a-474f-ba4b-538e4e32cefc",
"indirizzo": "sample string 9",
"civico": "sample string 10",
"provincia": "sample string 11",
"partnerId": 12
}
]
text/plain
Sample:
[{"appointmentId":1,"dateStart":"2025-12-08T16:50:36.282388+01:00","dateEnd":"2025-12-08T16:50:36.282388+01:00","status":4,"dateInsert":"2025-12-08T16:50:36.282388+01:00","dateUpdate":"2025-12-08T16:50:36.282388+01:00","price":7,"oldAppointmentId":1,"basketId":"84c5025f-2001-4d54-9421-050b68f44b94","numOrd":1,"numOrdPadre":1,"userKey":"07909d8b-bf12-413c-a9fb-317a99b8d959","addressId":"edba921a-166a-474f-ba4b-538e4e32cefc","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12},{"appointmentId":1,"dateStart":"2025-12-08T16:50:36.282388+01:00","dateEnd":"2025-12-08T16:50:36.282388+01:00","status":4,"dateInsert":"2025-12-08T16:50:36.282388+01:00","dateUpdate":"2025-12-08T16:50:36.282388+01:00","price":7,"oldAppointmentId":1,"basketId":"84c5025f-2001-4d54-9421-050b68f44b94","numOrd":1,"numOrdPadre":1,"userKey":"07909d8b-bf12-413c-a9fb-317a99b8d959","addressId":"edba921a-166a-474f-ba4b-538e4e32cefc","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>edba921a-166a-474f-ba4b-538e4e32cefc</addressId>
<basketId>84c5025f-2001-4d54-9421-050b68f44b94</basketId>
<civico>sample string 10</civico>
<dateEnd>2025-12-08T16:50:36.282388+01:00</dateEnd>
<dateInsert>2025-12-08T16:50:36.282388+01:00</dateInsert>
<dateStart>2025-12-08T16:50:36.282388+01:00</dateStart>
<dateUpdate>2025-12-08T16:50:36.282388+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>07909d8b-bf12-413c-a9fb-317a99b8d959</userKey>
</serp_BookAppointment>
<serp_BookAppointment>
<AppointmentId>1</AppointmentId>
<addressId>edba921a-166a-474f-ba4b-538e4e32cefc</addressId>
<basketId>84c5025f-2001-4d54-9421-050b68f44b94</basketId>
<civico>sample string 10</civico>
<dateEnd>2025-12-08T16:50:36.282388+01:00</dateEnd>
<dateInsert>2025-12-08T16:50:36.282388+01:00</dateInsert>
<dateStart>2025-12-08T16:50:36.282388+01:00</dateStart>
<dateUpdate>2025-12-08T16:50:36.282388+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>07909d8b-bf12-413c-a9fb-317a99b8d959</userKey>
</serp_BookAppointment>
</ArrayOfserp_BookAppointment>
application/octet-stream
Sample:
[{"AppointmentId":1,"dateStart":"2025-12-08T16:50:36.282388+01:00","dateEnd":"2025-12-08T16:50:36.282388+01:00","status":4,"dateInsert":"2025-12-08T16:50:36.282388+01:00","dateUpdate":"2025-12-08T16:50:36.282388+01:00","price":7,"oldAppointmentId":1,"basketId":"84c5025f-2001-4d54-9421-050b68f44b94","numOrd":1,"numOrdPadre":1,"userKey":"07909d8b-bf12-413c-a9fb-317a99b8d959","addressId":"edba921a-166a-474f-ba4b-538e4e32cefc","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12},{"AppointmentId":1,"dateStart":"2025-12-08T16:50:36.282388+01:00","dateEnd":"2025-12-08T16:50:36.282388+01:00","status":4,"dateInsert":"2025-12-08T16:50:36.282388+01:00","dateUpdate":"2025-12-08T16:50:36.282388+01:00","price":7,"oldAppointmentId":1,"basketId":"84c5025f-2001-4d54-9421-050b68f44b94","numOrd":1,"numOrdPadre":1,"userKey":"07909d8b-bf12-413c-a9fb-317a99b8d959","addressId":"edba921a-166a-474f-ba4b-538e4e32cefc","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-08T16:50:36.282388+01:00","dateEnd":"2025-12-08T16:50:36.282388+01:00","status":4,"dateInsert":"2025-12-08T16:50:36.282388+01:00","dateUpdate":"2025-12-08T16:50:36.282388+01:00","price":7,"oldAppointmentId":1,"basketId":"84c5025f-2001-4d54-9421-050b68f44b94","numOrd":1,"numOrdPadre":1,"userKey":"07909d8b-bf12-413c-a9fb-317a99b8d959","addressId":"edba921a-166a-474f-ba4b-538e4e32cefc","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12},{"appointmentId":1,"dateStart":"2025-12-08T16:50:36.282388+01:00","dateEnd":"2025-12-08T16:50:36.282388+01:00","status":4,"dateInsert":"2025-12-08T16:50:36.282388+01:00","dateUpdate":"2025-12-08T16:50:36.282388+01:00","price":7,"oldAppointmentId":1,"basketId":"84c5025f-2001-4d54-9421-050b68f44b94","numOrd":1,"numOrdPadre":1,"userKey":"07909d8b-bf12-413c-a9fb-317a99b8d959","addressId":"edba921a-166a-474f-ba4b-538e4e32cefc","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12}]);