Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo '
- {
- "patient":"218e7d9c-65d5-4842-8150-07fc41c6ed85",
- "visitType":"9bf71cbf-453f-40c5-8c17-bb428360f7f3",
- "location":"cd401f42-1e1b-4c95-accd-1c1f650aca34",
- "startDatetime":"2012-10-15T09:30:00.000+0530",
- "indication":"85db00f0-87e6-473b-8d2b-3fa9228b3448",
- "attributes":[{"attributeType":"d3ae5998-0f57-4408-9000-085f0cc64a3c","value":"Fri Nov 23 06:40:00 IST 2012"}]
- }
- ' | curl -i -H "Content-type: application/json" -X POST -d @- https://localhost:8443/openmrs/ws/rest/v1/visit -k -b cookies.txt -3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement