Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagehtml/xml
HTTP/1.1 201 Created
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: JSESSIONID=1l8yojhdxyuwf;Path=/openmrs
Location: http://localhost:8080/openmrs/ws/rest/RHEA/patient/encounters?enterpriseId=1234&idType=ECID&encounterId=119
ETag: "0d41d8cd98f00b204e9800998ecf8427e"
Content-Length: 0
Server: Jetty(6.1.10)

Note : The location header of the URL contains the encounter id of the newly created encounter