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-11T19:54:37.641788+01:00",
"dateEnd": "2026-03-11T19:54:37.641788+01:00",
"status": 4,
"dateInsert": "2026-03-11T19:54:37.641788+01:00",
"dateUpdate": "2026-03-11T19:54:37.641788+01:00",
"price": 7,
"oldAppointmentId": 1,
"basketId": "b2d64142-ca1a-4f1c-be5c-f6086dd8cdcf",
"numOrd": 1,
"numOrdPadre": 1,
"userKey": "c87e0897-9d65-43b5-95e6-1bb1ac067f95",
"addressId": "55efbdd9-226a-4d08-8fd7-9034e15bab13",
"indirizzo": "sample string 9",
"civico": "sample string 10",
"provincia": "sample string 11",
"retry": 1
}
text/plain
Sample:
{"appointmentId":1,"dateStart":"2026-03-11T19:54:37.641788+01:00","dateEnd":"2026-03-11T19:54:37.641788+01:00","status":4,"dateInsert":"2026-03-11T19:54:37.641788+01:00","dateUpdate":"2026-03-11T19:54:37.641788+01:00","price":7,"oldAppointmentId":1,"basketId":"b2d64142-ca1a-4f1c-be5c-f6086dd8cdcf","numOrd":1,"numOrdPadre":1,"userKey":"c87e0897-9d65-43b5-95e6-1bb1ac067f95","addressId":"55efbdd9-226a-4d08-8fd7-9034e15bab13","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>55efbdd9-226a-4d08-8fd7-9034e15bab13</addressId> <basketId>b2d64142-ca1a-4f1c-be5c-f6086dd8cdcf</basketId> <civico>sample string 10</civico> <dateEnd>2026-03-11T19:54:37.641788+01:00</dateEnd> <dateInsert>2026-03-11T19:54:37.641788+01:00</dateInsert> <dateStart>2026-03-11T19:54:37.641788+01:00</dateStart> <dateUpdate>2026-03-11T19:54:37.641788+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>c87e0897-9d65-43b5-95e6-1bb1ac067f95</userKey> </BookAppointment>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/octet-stream
Sample:
{"AppointmentId":1,"dateStart":"2026-03-11T19:54:37.641788+01:00","dateEnd":"2026-03-11T19:54:37.641788+01:00","status":4,"dateInsert":"2026-03-11T19:54:37.641788+01:00","dateUpdate":"2026-03-11T19:54:37.641788+01:00","price":7,"oldAppointmentId":1,"basketId":"b2d64142-ca1a-4f1c-be5c-f6086dd8cdcf","numOrd":1,"numOrdPadre":1,"userKey":"c87e0897-9d65-43b5-95e6-1bb1ac067f95","addressId":"55efbdd9-226a-4d08-8fd7-9034e15bab13","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"});