POST api/v1/banzaifieldservices/{PartnerId}/BookAppointmentAfterOrder
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| PartnerId | integer |
Required |
Body Parameters
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. |
|
| retry | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"appointmentId": 1,
"dateStart": "2026-03-11T18:01:49.9886955+01:00",
"dateEnd": "2026-03-11T18:01:49.9886955+01:00",
"status": 4,
"dateInsert": "2026-03-11T18:01:49.9886955+01:00",
"dateUpdate": "2026-03-11T18:01:49.9886955+01:00",
"price": 7,
"oldAppointmentId": 1,
"basketId": "085a0082-d21f-4815-8685-4de4bd4e28a6",
"numOrd": 1,
"numOrdPadre": 1,
"userKey": "d6651fb0-f80b-41af-8ccc-a25e1a3e67c9",
"addressId": "fbdd7cf5-7b0d-4587-8d66-82f1354c8171",
"indirizzo": "sample string 9",
"civico": "sample string 10",
"provincia": "sample string 11",
"retry": 1
}
text/plain
Sample:
{"appointmentId":1,"dateStart":"2026-03-11T18:01:49.9886955+01:00","dateEnd":"2026-03-11T18:01:49.9886955+01:00","status":4,"dateInsert":"2026-03-11T18:01:49.9886955+01:00","dateUpdate":"2026-03-11T18:01:49.9886955+01:00","price":7,"oldAppointmentId":1,"basketId":"085a0082-d21f-4815-8685-4de4bd4e28a6","numOrd":1,"numOrdPadre":1,"userKey":"d6651fb0-f80b-41af-8ccc-a25e1a3e67c9","addressId":"fbdd7cf5-7b0d-4587-8d66-82f1354c8171","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","retry":1}
application/xml, text/xml
Sample:
<BookAppointment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServicePlatform.DAL"> <AppointmentId>1</AppointmentId> <addressId>fbdd7cf5-7b0d-4587-8d66-82f1354c8171</addressId> <basketId>085a0082-d21f-4815-8685-4de4bd4e28a6</basketId> <civico>sample string 10</civico> <dateEnd>2026-03-11T18:01:49.9886955+01:00</dateEnd> <dateInsert>2026-03-11T18:01:49.9886955+01:00</dateInsert> <dateStart>2026-03-11T18:01:49.9886955+01:00</dateStart> <dateUpdate>2026-03-11T18:01:49.9886955+01:00</dateUpdate> <indirizzo>sample string 9</indirizzo> <numOrd>1</numOrd> <numOrdPadre>1</numOrdPadre> <oldAppointmentId>1</oldAppointmentId> <price>7</price> <provincia>sample string 11</provincia> <retry>1</retry> <status>4</status> <userKey>d6651fb0-f80b-41af-8ccc-a25e1a3e67c9</userKey> </BookAppointment>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/octet-stream
Sample:
{"AppointmentId":1,"dateStart":"2026-03-11T18:01:49.9886955+01:00","dateEnd":"2026-03-11T18:01:49.9886955+01:00","status":4,"dateInsert":"2026-03-11T18:01:49.9886955+01:00","dateUpdate":"2026-03-11T18:01:49.9886955+01:00","price":7,"oldAppointmentId":1,"basketId":"085a0082-d21f-4815-8685-4de4bd4e28a6","numOrd":1,"numOrdPadre":1,"userKey":"d6651fb0-f80b-41af-8ccc-a25e1a3e67c9","addressId":"fbdd7cf5-7b0d-4587-8d66-82f1354c8171","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","retry":1}
Response Information
Resource Description
ActionResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| Description | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": "sample string 1",
"description": "sample string 2"
}
text/plain
Sample:
{"code":"sample string 1","description":"sample string 2"}
application/xml, text/xml
Sample:
<ActionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServicePlatform.BL.Models.BanzaiServicePlatform.Dto"> <Code>sample string 1</Code> <Description>sample string 2</Description> </ActionResponse>
application/octet-stream
Sample:
{"Code":"sample string 1","Description":"sample string 2"}
text/javascript, application/javascript, application/json-p
Sample:
({"code":"sample string 1","description":"sample string 2"});