Wiki Spaces

Documentation
Projects
Resources

Get Help from Others

Q&A: Ask OpenMRS
Discussion: OpenMRS Talk »
Real-Time: IRC Chat

Home

Skip to end of metadata
Go to start of metadata
About Me

You may edit this page to include additional information about yourself.

E-mail: ben at openmrs dot org

Recently Updated

Navigate space
  • No labels

1 Comment

  1. Ben,

    in the section : "REST Web Service Technical Documentation" posted from you, the example using curl : 

    echo '{
     
      "patient":"5ee9b94c-81f8-4c15-96ec-c1aa9c0b0d66",
     
      "encounterDatetime":"2011-02-18",
     
      "location":"Unknown Location",
     
      "encounterType":"ADULTINITIAL",
     
      "provider":"5ee9b94c-81f8-4c15-96ec-c1aa9c0b0d66",
     
      "obs": [
     
        {
     
          "concept":"WEIGHT",
     
          "value":"70"
     
        }
     
      ]
     {color}}' | curl -i -u admin:test -H"Content-type: application/json" -X POST -d @-http://localhost:8080/openmrs/ws/rest/v1/encounter

    does not work ... can you help me ? 
     (onorato@onoratovaticone.it) (http://localhost:8080/openmrs/ws/rest/v1/encounter

Write a comment…