Page History
...
Service | Endpoint |
|---|---|
| SORES | /sores |
| SORESv2 | /sores/v2 |
| SORESv3 | /sores/v3 |
...
GET-funktioner
Funktion | Beskrivelse |
|---|---|
| /status | HTTP-response-code angiver servicens tilgængelighed |
| /version | Versions-nummeret sendes som response-text |
| /reload | Genindlæser data fra databasen |
...
| Code Block | ||||
|---|---|---|---|---|
| ||||
curl -i -X POST -H "Content-Type: application/json" -d "{\"op\": \"getSOREntityByPostalCodeGetSOREntityByPostalCode\", \"postCodeId\": \"6700\", \"entityTypeId\": \"22232009\" }" http://test1.ekstern-test.nspop.dk:8080/sores/ |
| Code Block | ||||
|---|---|---|---|---|
| ||||
HTTP/1.1 200 OK Connection: keep-alive X-Powered-By: Undertow/1 Server: WildFly/8 Transfer-Encoding: chunked Content-Type: application/json;charset=utf-8 { "SORIds6700" : [ { "sorId" : 648151000016002", "8041000016000from", : "2444610000160032017-02-02", "648141000016000name", : "648121000016005SVS FAM Ortopædkirurgisk Afsnit (Esbjerg)", "244441000016004institutionOwnerSorId" : 6101000016001, "244511000016001healthInstitutionSorId" : 8041000016000, "648101000016003shakId", : "648091000016009550122O", "601991000016006parentSorId" : 244461000016003, "658041000016004sorType", : "244451000016001OE" }, "244541000016000", "648111000016001", "451231000016009", "648131000016007"{ "sorId" : 8041000016000, "from" : "2016-10-18", "name" : "Sydvestjysk Sygehus", "institutionOwnerSorId" : 6101000016001, "healthInstitutionSorId" : 8041000016000, "shakId" : "5501", "parentSorId" : 6101000016001, "sorType" : "SI" }, { "sorId" : 244461000016003, "from" : "2017-02-02", "name" : "SVS Fælles Akut Modtage Afdeling", "institutionOwnerSorId" : 6101000016001, "healthInstitutionSorId" : 8041000016000, "parentSorId" : 244451000016001, "sorType" : "OE" }, { "sorId" : 648141000016000, "from" : "2017-02-02", "name" : "SVS FAM Neurologisk Afsnit (Esbjerg)", "institutionOwnerSorId" : 6101000016001, "healthInstitutionSorId" : 8041000016000, "shakId" : "550122N", "parentSorId" : 244461000016003, "sorType" : "OE" }, { "sorId" : 648121000016005, "from" : "2017-02-02", "name" : "SVS FAM Øre-Næse-Hals Afsnit (Esbjerg)", "institutionOwnerSorId" : 6101000016001, "healthInstitutionSorId" : 8041000016000, "shakId" : "550122F", "parentSorId" : 244461000016003, "sorType" : "OE" }, { "sorId" : 244441000016004, "from" : "2018-01-09", "name" : "SVS Direktionen", "institutionOwnerSorId" : 6101000016001, "healthInstitutionSorId" : 8041000016000, "parentSorId" : 8041000016000, "sorType" : "OE" }, { "sorId" : 244511000016001, "from" : "2017-07-08", "name" : "SVS Akut ambulatorium (Esbjerg)", "institutionOwnerSorId" : 6101000016001, "healthInstitutionSorId" : 8041000016000, "shakId" : "550102D", "parentSorId" : 244461000016003, "sorType" : "OE" }, { "sorId" : 648101000016003, "from" : "2017-02-02", "name" : "SVS FAM Kardiologisk afsnit (Esbjerg)", "institutionOwnerSorId" : 6101000016001, "healthInstitutionSorId" : 8041000016000, "shakId" : "550122B", "parentSorId" : 244461000016003, "sorType" : "OE" }, { "sorId" : 648091000016009, "from" : "2017-02-02", "name" : "SVS FAM Parenkymkirurgisk afsnit (Esbjerg)", "institutionOwnerSorId" : 6101000016001, "healthInstitutionSorId" : 8041000016000, "shakId" : "550122A", "parentSorId" : 244461000016003, "sorType" : "OE" }, { "sorId" : 601991000016006, "from" : "2018-12-05", "name" : "SVS fælles akut modtagelse (Esbjerg)", "institutionOwnerSorId" : 6101000016001, "healthInstitutionSorId" : 8041000016000, "parentSorId" : 648131000016007, "sorType" : "OE" }, { "sorId" : 658041000016004, "from" : "2018-04-25", "name" : "SVS FAM Børne- og ungeafsnit (Esbjerg)", "institutionOwnerSorId" : 6101000016001, "healthInstitutionSorId" : 8041000016000, "shakId" : "550122H", "parentSorId" : 244461000016003, "sorType" : "OE" }, { "sorId" : 244451000016001, "from" : "2017-02-02", "name" : "SVS Ballerup Børn center Fælles Kommunens", "institutionOwnerSorId" : 6101000016001, "healthInstitutionSorId" : 8041000016000, "providerId" : "034274", "shakId" : "550122S", "parentSorId" : 244441000016004, "sorType" : "OE" }, { "sorId" : 244541000016000, "from" : "2017-02-02", "name" : "SVS Skadestue (Esbjerg)", "institutionOwnerSorId" : 6101000016001, "healthInstitutionSorId" : 8041000016000, "shakId" : "5501028", "parentSorId" : 244461000016003, "sorType" : "OE" }, { "sorId" : 648111000016001, "from" : "2017-02-02", "name" : "SVS FAM Gynækologisk afsnit (Esbjerg)", "institutionOwnerSorId" : 6101000016001, "healthInstitutionSorId" : 8041000016000, "shakId" : "550122D", "parentSorId" : 244461000016003, "sorType" : "OE" }, { "sorId" : 451231000016009, "from" : "2018-12-05", "name" : "SVS skadestue (Esbjerg)", "institutionOwnerSorId" : 6101000016001, "healthInstitutionSorId" : 8041000016000, "parentSorId" : 244541000016000, "sorType" : "OE" }, { "sorId" : 648131000016007, "from" : "2017-02-02", "name" : "SVS FAM Medicinsk Afsnit (Esbjerg)", "institutionOwnerSorId" : 6101000016001, "healthInstitutionSorId" : 8041000016000, "shakId" : "550122W", "parentSorId" : 244461000016003, "sorType" : "OE" } ] } |