GET api/v1/banzaifieldservices/{PartnerId}/Appointment/{AppointmentId}/GetActions

Get all the actions available for a given appointment.
- List of possible actions:
- Parzial rescheduling
- Total rescheduling

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

Collection of ActionResponse
NameDescriptionTypeAdditional information
Code

string

None.

Description

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "code": "sample string 1",
    "description": "sample string 2"
  },
  {
    "code": "sample string 1",
    "description": "sample string 2"
  }
]

text/plain

Sample:
[{"code":"sample string 1","description":"sample string 2"},{"code":"sample string 1","description":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfActionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServicePlatform.BL.Models.BanzaiServicePlatform.Dto">
  <ActionResponse>
    <Code>sample string 1</Code>
    <Description>sample string 2</Description>
  </ActionResponse>
  <ActionResponse>
    <Code>sample string 1</Code>
    <Description>sample string 2</Description>
  </ActionResponse>
</ArrayOfActionResponse>

application/octet-stream

Sample:
[{"Code":"sample string 1","Description":"sample string 2"},{"Code":"sample string 1","Description":"sample string 2"}]

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

Sample:
([{"code":"sample string 1","description":"sample string 2"},{"code":"sample string 1","description":"sample string 2"}]);