Creates, calls and ends a visit for service with origId 2
POST/rest/servicepoint/branches/:branchId/servicePoints/:servicePointId/visits/createAndEnd
Creates, calls and ends a visit for service with origId 2:
curl -u user:password -i -X POST -H 'content-type:application/json' -d '{"services":["2"]}' http://localhost:8080/rest/servicepoint/branches/{branchId}/servicePoints/{servicePointId}/visits/createAndEnd
Creates, calls and ends a visit (for service with origId 2) while supplying a transaction time for back-dating some events by that time:
curl -u user:password -i -X POST -H 'content-type:application/json' -d '{"services":["2"]}' http://localhost:8080/rest/servicepoint/branches/{branchId}/servicePoints/{servicePointId}/visits/createAndEnd?transactionTime=600
Request
Responses
- 201
A Json object of UserStatus