Create a visit
POST/rest/servicepoint/branches/:branchId/servicePoints/:servicePointId/visit/create
Create a visit
curl -u user:password -i -X POST -H 'content-type:application/json' -d '{"services":[{serviceOrigId}]}' http://localhost:8080/qsystem/rest/servicepoint/branches/{branchId}/servicePoints/{servicePointId}/visit/create/
Arrive an appointment
curl -u user:password -i -X POST -H "Content-Type: application/json" -d '{"appointmentId":{appointmentId}}' http://localhost:8080/rest/servicepoint/branches/{branchId}/servicePoints/{servicePointId}/visit/create
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/servicepoint/branches/{branchId}/servicePoints/{servicePointId}/visit/create
Request
Responses
- 201
A Json object of Visit