POST api/v1/banzaifieldservices/{PartnerId}/Appointment/{AppointmentId}/UpdateAppointment

Updates the data relating to the order of the appointment.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PartnerId

The partner identifier:
1 = 'ePRICE'

integer

Required

AppointmentId

The Appointment identifier

integer

Required

Body Parameters

OrderBL
NameDescriptionTypeAdditional information
OrderNumber

integer

None.

OrderDate

date

None.

ShippingNumber

integer

None.

Customer

string

None.

ContactMobilePhone

string

None.

ContactPhoneNumber

string

None.

CustomerEmail

string

None.

CustomerComment

string

None.

NotificationsActivated

boolean

None.

TotalAmount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "orderNumber": 1,
  "orderDate": "2024-12-29T16:39:18.2226424+01:00",
  "shippingNumber": 1,
  "customer": "sample string 1",
  "contactMobilePhone": "sample string 2",
  "contactPhoneNumber": "sample string 3",
  "customerEmail": "sample string 4",
  "customerComment": "sample string 5",
  "notificationsActivated": true,
  "totalAmount": 1
}

text/plain

Sample:
{"orderNumber":1,"orderDate":"2024-12-29T16:39:18.2226424+01:00","shippingNumber":1,"customer":"sample string 1","contactMobilePhone":"sample string 2","contactPhoneNumber":"sample string 3","customerEmail":"sample string 4","customerComment":"sample string 5","notificationsActivated":true,"totalAmount":1}

application/xml, text/xml

Sample:
<OrderBL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServicePlatform.BL.Models.BanzaiServicePlatform">
  <ContactMobilePhone>sample string 2</ContactMobilePhone>
  <ContactPhoneNumber>sample string 3</ContactPhoneNumber>
  <Customer>sample string 1</Customer>
  <CustomerComment>sample string 5</CustomerComment>
  <CustomerEmail>sample string 4</CustomerEmail>
  <NotificationsActivated>true</NotificationsActivated>
  <OrderDate>2024-12-29T16:39:18.2226424+01:00</OrderDate>
  <OrderNumber>1</OrderNumber>
  <ShippingNumber>1</ShippingNumber>
  <TotalAmount>1</TotalAmount>
</OrderBL>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/octet-stream

Sample:
{"OrderNumber":1,"OrderDate":"2024-12-29T16:39:18.2226424+01:00","ShippingNumber":1,"Customer":"sample string 1","ContactMobilePhone":"sample string 2","ContactPhoneNumber":"sample string 3","CustomerEmail":"sample string 4","CustomerComment":"sample string 5","NotificationsActivated":true,"TotalAmount":1}

Response Information

Resource Description

HttpStatusCode

Response Formats

application/json, text/json, text/plain, application/octet-stream

Sample:
100

application/xml, text/xml

Sample:
<HttpStatusCode xmlns="http://schemas.datacontract.org/2004/07/System.Net">Continue</HttpStatusCode>

text/javascript, application/javascript, application/json-p

Sample:
(100);