Schedule Service Appointment
This action is available in API version 62.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/vXX.X/actions/standard/scheduleServiceAppointment
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| serviceAppointmentId |
|
| schedulingPolicyId |
|
Outputs
| Output | Details |
|---|---|
| serviceAppointmentId |
|
Example
Sample request body:
1{
2 "inputs" : [{
3 "serviceAppointmentId" : "08p000000000001AAA",
4 "schedulingPolicyId" : "0Vr000000000001AAA"
5 }]
6}Sample response body:
1{
2 "actionName" : "scheduleServiceAppointment",
3 "errors" : null,
4 "isSuccess" : true,
5 "outputValues" : {
6 "serviceAppointmentId" : "08p000000000001AAA"
7 }
8}