Create a visit
POST/rest/entrypoint/branches/:branchId/entryPoints/:entryPointId/visits
Create a visit
curl -u user:password -i -X POST -H 'content-type:application/json' -d '{"services":[{serviceOrigId}]}' http://localhost:8080/rest/entrypoint/branches/{branchId}/entryPoints/{entryPointId}/visits
Arrive an appointment
curl -u user:password -i -X POST -H "Content-Type: application/json" -d '{"appointmentId":{appointmentId}}' http://localhost:8080/rest/entrypoint/branches/{branchId}/entryPoints/{entryPointId}/visits
Arrive an appointment and add extra services at the same time
curl -u user:password -i -X POST -H "Content-Type: application/json" -d '{"appointmentId":{appointmentId},"services":[{serviceOrigId},{serviceOrigId}]}' http://localhost:8080/rest/entrypoint/branches/{branchId}/entryPoints/{entryPointId}/visits
Request
Responses
- 201
A Json object of Visit