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

Delete the appointment and set the status to "Cancelled"
(Version with return code 200 in case of exception)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PartnerId

The partner identifier:
1 = 'ePRICE'

integer

Required

AppointmentId

The Appointment identifier

integer

Required

Body Parameters

None.

Response Information

Resource Description

ExceptionErrorDTO
NameDescriptionTypeAdditional information
StatusCode

string

None.

ErrorDescription

string

None.

Response Formats

application/json, text/json

Sample:
{
  "statusCode": "sample string 1",
  "errorDescription": "sample string 2"
}

text/plain

Sample:
{"statusCode":"sample string 1","errorDescription":"sample string 2"}

application/xml, text/xml

Sample:
<ExceptionErrorDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServicePlatform.BL.Errors">
  <ErrorDescription>sample string 2</ErrorDescription>
  <StatusCode>sample string 1</StatusCode>
</ExceptionErrorDTO>

application/octet-stream

Sample:
{"StatusCode":"sample string 1","ErrorDescription":"sample string 2"}

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

Sample:
({"statusCode":"sample string 1","errorDescription":"sample string 2"});