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_BookAppointmentName | 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-07-01T14:54:35.6753428+02:00", "dateEnd": "2025-07-01T14:54:35.6753428+02:00", "status": 4, "dateInsert": "2025-07-01T14:54:35.6753428+02:00", "dateUpdate": "2025-07-01T14:54:35.6753428+02:00", "price": 7, "oldAppointmentId": 1, "basketId": "d5e57986-70ce-4b02-ba65-b81cc12f046b", "numOrd": 1, "numOrdPadre": 1, "userKey": "5a69ce0a-0e82-48d0-8d46-45c8ccd08ffd", "addressId": "8ce03f9d-a539-4eba-b416-d837a1700ff7", "indirizzo": "sample string 9", "civico": "sample string 10", "provincia": "sample string 11", "partnerId": 12 }, { "appointmentId": 1, "dateStart": "2025-07-01T14:54:35.6753428+02:00", "dateEnd": "2025-07-01T14:54:35.6753428+02:00", "status": 4, "dateInsert": "2025-07-01T14:54:35.6753428+02:00", "dateUpdate": "2025-07-01T14:54:35.6753428+02:00", "price": 7, "oldAppointmentId": 1, "basketId": "d5e57986-70ce-4b02-ba65-b81cc12f046b", "numOrd": 1, "numOrdPadre": 1, "userKey": "5a69ce0a-0e82-48d0-8d46-45c8ccd08ffd", "addressId": "8ce03f9d-a539-4eba-b416-d837a1700ff7", "indirizzo": "sample string 9", "civico": "sample string 10", "provincia": "sample string 11", "partnerId": 12 } ]
text/plain
Sample:
[{"appointmentId":1,"dateStart":"2025-07-01T14:54:35.6753428+02:00","dateEnd":"2025-07-01T14:54:35.6753428+02:00","status":4,"dateInsert":"2025-07-01T14:54:35.6753428+02:00","dateUpdate":"2025-07-01T14:54:35.6753428+02:00","price":7,"oldAppointmentId":1,"basketId":"d5e57986-70ce-4b02-ba65-b81cc12f046b","numOrd":1,"numOrdPadre":1,"userKey":"5a69ce0a-0e82-48d0-8d46-45c8ccd08ffd","addressId":"8ce03f9d-a539-4eba-b416-d837a1700ff7","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12},{"appointmentId":1,"dateStart":"2025-07-01T14:54:35.6753428+02:00","dateEnd":"2025-07-01T14:54:35.6753428+02:00","status":4,"dateInsert":"2025-07-01T14:54:35.6753428+02:00","dateUpdate":"2025-07-01T14:54:35.6753428+02:00","price":7,"oldAppointmentId":1,"basketId":"d5e57986-70ce-4b02-ba65-b81cc12f046b","numOrd":1,"numOrdPadre":1,"userKey":"5a69ce0a-0e82-48d0-8d46-45c8ccd08ffd","addressId":"8ce03f9d-a539-4eba-b416-d837a1700ff7","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>8ce03f9d-a539-4eba-b416-d837a1700ff7</addressId> <basketId>d5e57986-70ce-4b02-ba65-b81cc12f046b</basketId> <civico>sample string 10</civico> <dateEnd>2025-07-01T14:54:35.6753428+02:00</dateEnd> <dateInsert>2025-07-01T14:54:35.6753428+02:00</dateInsert> <dateStart>2025-07-01T14:54:35.6753428+02:00</dateStart> <dateUpdate>2025-07-01T14:54:35.6753428+02: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>5a69ce0a-0e82-48d0-8d46-45c8ccd08ffd</userKey> </serp_BookAppointment> <serp_BookAppointment> <AppointmentId>1</AppointmentId> <addressId>8ce03f9d-a539-4eba-b416-d837a1700ff7</addressId> <basketId>d5e57986-70ce-4b02-ba65-b81cc12f046b</basketId> <civico>sample string 10</civico> <dateEnd>2025-07-01T14:54:35.6753428+02:00</dateEnd> <dateInsert>2025-07-01T14:54:35.6753428+02:00</dateInsert> <dateStart>2025-07-01T14:54:35.6753428+02:00</dateStart> <dateUpdate>2025-07-01T14:54:35.6753428+02: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>5a69ce0a-0e82-48d0-8d46-45c8ccd08ffd</userKey> </serp_BookAppointment> </ArrayOfserp_BookAppointment>
application/octet-stream
Sample:
[{"AppointmentId":1,"dateStart":"2025-07-01T14:54:35.6753428+02:00","dateEnd":"2025-07-01T14:54:35.6753428+02:00","status":4,"dateInsert":"2025-07-01T14:54:35.6753428+02:00","dateUpdate":"2025-07-01T14:54:35.6753428+02:00","price":7,"oldAppointmentId":1,"basketId":"d5e57986-70ce-4b02-ba65-b81cc12f046b","numOrd":1,"numOrdPadre":1,"userKey":"5a69ce0a-0e82-48d0-8d46-45c8ccd08ffd","addressId":"8ce03f9d-a539-4eba-b416-d837a1700ff7","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12},{"AppointmentId":1,"dateStart":"2025-07-01T14:54:35.6753428+02:00","dateEnd":"2025-07-01T14:54:35.6753428+02:00","status":4,"dateInsert":"2025-07-01T14:54:35.6753428+02:00","dateUpdate":"2025-07-01T14:54:35.6753428+02:00","price":7,"oldAppointmentId":1,"basketId":"d5e57986-70ce-4b02-ba65-b81cc12f046b","numOrd":1,"numOrdPadre":1,"userKey":"5a69ce0a-0e82-48d0-8d46-45c8ccd08ffd","addressId":"8ce03f9d-a539-4eba-b416-d837a1700ff7","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-07-01T14:54:35.6753428+02:00","dateEnd":"2025-07-01T14:54:35.6753428+02:00","status":4,"dateInsert":"2025-07-01T14:54:35.6753428+02:00","dateUpdate":"2025-07-01T14:54:35.6753428+02:00","price":7,"oldAppointmentId":1,"basketId":"d5e57986-70ce-4b02-ba65-b81cc12f046b","numOrd":1,"numOrdPadre":1,"userKey":"5a69ce0a-0e82-48d0-8d46-45c8ccd08ffd","addressId":"8ce03f9d-a539-4eba-b416-d837a1700ff7","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12},{"appointmentId":1,"dateStart":"2025-07-01T14:54:35.6753428+02:00","dateEnd":"2025-07-01T14:54:35.6753428+02:00","status":4,"dateInsert":"2025-07-01T14:54:35.6753428+02:00","dateUpdate":"2025-07-01T14:54:35.6753428+02:00","price":7,"oldAppointmentId":1,"basketId":"d5e57986-70ce-4b02-ba65-b81cc12f046b","numOrd":1,"numOrdPadre":1,"userKey":"5a69ce0a-0e82-48d0-8d46-45c8ccd08ffd","addressId":"8ce03f9d-a539-4eba-b416-d837a1700ff7","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","partnerId":12}]);