POST api/v1/banzaifieldservices/{PartnerId}/BookAppointmentAfterOrder
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
PartnerId | integer |
Required |
Body Parameters
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. |
|
retry | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "appointmentId": 1, "dateStart": "2025-04-04T04:41:15.2081667+02:00", "dateEnd": "2025-04-04T04:41:15.2081667+02:00", "status": 4, "dateInsert": "2025-04-04T04:41:15.2081667+02:00", "dateUpdate": "2025-04-04T04:41:15.2081667+02:00", "price": 7, "oldAppointmentId": 1, "basketId": "f10936ae-de92-40b2-8690-4e0b56735ee3", "numOrd": 1, "numOrdPadre": 1, "userKey": "3eade847-78ca-4eec-8ab5-61c43372c259", "addressId": "5c25d0fe-38d5-4709-9048-b40ae66d61f0", "indirizzo": "sample string 9", "civico": "sample string 10", "provincia": "sample string 11", "retry": 1 }
text/plain
Sample:
{"appointmentId":1,"dateStart":"2025-04-04T04:41:15.2081667+02:00","dateEnd":"2025-04-04T04:41:15.2081667+02:00","status":4,"dateInsert":"2025-04-04T04:41:15.2081667+02:00","dateUpdate":"2025-04-04T04:41:15.2081667+02:00","price":7,"oldAppointmentId":1,"basketId":"f10936ae-de92-40b2-8690-4e0b56735ee3","numOrd":1,"numOrdPadre":1,"userKey":"3eade847-78ca-4eec-8ab5-61c43372c259","addressId":"5c25d0fe-38d5-4709-9048-b40ae66d61f0","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>5c25d0fe-38d5-4709-9048-b40ae66d61f0</addressId> <basketId>f10936ae-de92-40b2-8690-4e0b56735ee3</basketId> <civico>sample string 10</civico> <dateEnd>2025-04-04T04:41:15.2081667+02:00</dateEnd> <dateInsert>2025-04-04T04:41:15.2081667+02:00</dateInsert> <dateStart>2025-04-04T04:41:15.2081667+02:00</dateStart> <dateUpdate>2025-04-04T04:41:15.2081667+02: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>3eade847-78ca-4eec-8ab5-61c43372c259</userKey> </BookAppointment>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/octet-stream
Sample:
{"AppointmentId":1,"dateStart":"2025-04-04T04:41:15.2081667+02:00","dateEnd":"2025-04-04T04:41:15.2081667+02:00","status":4,"dateInsert":"2025-04-04T04:41:15.2081667+02:00","dateUpdate":"2025-04-04T04:41:15.2081667+02:00","price":7,"oldAppointmentId":1,"basketId":"f10936ae-de92-40b2-8690-4e0b56735ee3","numOrd":1,"numOrdPadre":1,"userKey":"3eade847-78ca-4eec-8ab5-61c43372c259","addressId":"5c25d0fe-38d5-4709-9048-b40ae66d61f0","indirizzo":"sample string 9","civico":"sample string 10","provincia":"sample string 11","retry":1}
Response Information
Resource Description
ActionResponseName | 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"});