Versions Compared

Key

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

...

Expand
titlecurl -i -X POST -H "Content-Type: application/json" -d "{\"op\": \"BRSGetSorEntity\", \"sorIds\": [ \"8041000016000\", \"6101000016001\", \"91331000016003\" ] }" http://test1.ekstern-test.nspop.dk:8080/sores/
No Format
HTTP/1.1 200 OK
Connection: keep-alive
X-Powered-By: Undertow/1
Server: WildFly/8
Transfer-Encoding: chunked
Content-Type: textapplication/plainjson;charset=utf-8
Date: TueWed, 2422 MarApr 2020 1407:3152:1527 GMT


{
    "8041000016000":{
        "sorId":8041000016000,
        "from":"2016-10-18",
        "name":"Sydvestjysk Sygehus",
        "healthInstitutionSorId":8041000016000,
        "shakId":"5501",
        "parentSorId":6101000016001
    },
    "6101000016001":{
        "sorId":6101000016001,
        "from":"2015-07-30",
        "name":"Region Syddanmark"
    },
    "91331000016003":{
        "sorId":91331000016003,
        "from":"2019-04-19",
        "name":"Jørn Bøgh ApS",
        "healthInstitutionSorId":91321000016000,
        "providerId":"097926",
        "shakId":"7034010",
        "parentSorId":91321000016000
    }
}

BRSSearchAllChildren

Expand
titlecurl -i -X POST -H "Content-Type: application/json" -d "{\"op\": \"BRSSearchAllChildren\", \"sorIds\": [ \"246061000016002\" ] }" http://test1.ekstern-test.nspop.dk:8080/sores/
No Format
HTTP/1.1 200 OK
Connection: keep-alive
X-Powered-By: Undertow/1
Server: WildFly/8
Transfer-Encoding: chunked
Content-Type: text/plain;charset=utf-8
Date: Tue, 24 Mar 2020 14:44:05 GMT


{
    "246061000016002":[
        {
            "sorId":246071000016007,
            "from":"2019-04-16",
            "name":"SVS Tand- Mund- og Kæbekirurgisk ambulatorium (Esbjerg)",
            "healthInstitutionSorId":8041000016000,
            "parentSorId":246061000016002
        },
        {
            "sorId":452041000016004,
            "from":"2019-08-17",
            "name":"SVS tand-, mund- og kæbekirurgisk amb. (Esbjerg)",
            "healthInstitutionSorId":8041000016000,
            "parentSorId":246071000016007
        },
        {
            "sorId":246081000016009,
            "from":"2019-04-16",
            "name":"SVS Tand- Mund- og Kæbekirurgisk afsnit (Esbjerg)",
            "healthInstitutionSorId":8041000016000,
            "parentSorId":246061000016002
        }
    ]
}

...