companies
Firmenabruf
GET /companies
Firmen (mit Filialen und präqualifizierten PG), die für diese API freigegeben wurden
Fields
| Field | Type | Description | Required |
|---|---|---|---|
| companyId | ID der Firma |
NO |
Request
Headers
| Header | Value |
|---|---|
| Accept | application/vnd.anni-care.v1+json
application/json
application/*+json |
| Authorization | HTTP Basic, HTTP Digest, or OAuth2 Bearer token (check API provider for details) |
Response
Status Codes
- 406: Not Acceptable
- 415: Unsupported Media Type
- 200: OK
- 404: Not Found
- 401: Unauthorized
- 403: Forbidden
Headers
| Header | Value |
|---|---|
| Content-Type | application/vnd.anni-care.v1+json
application/json
application/*+json |
| Allow | Comma-separated list of all HTTP methods allowed |
Body
{
"companies": [
{
"id": 0,
"name": "DEMO",
"locations": [
{
"id": 1,
"name": "DemoFirma_HQ_1",
"address": {
"zip": 12345,
"city": "Musterhausen",
"street": "Musterallee 1",
"country": "DEUTSCHLAND"
},
"tel": "+49 1234 567890",
"email": "e@mail",
"type": "HEADQUARTER",
"qualifications": [
"01",
"02",
"04",
"05",
"07",
"08",
"09",
"10",
"11",
"14",
"15",
"17",
"18",
"19",
"20",
"21",
"22",
"23",
"24",
"26",
"28",
"29",
"31",
"32",
"33",
"35",
"37",
"38",
"99"
]
},
{
"id": 2,
"name": "DemoFirma_2",
"address": {
"zip": 12345,
"city": "Musterhausen",
"street": "Musterallee 1",
"country": "DEUTSCHLAND"
},
"tel": "+49 1234 567890",
"email": "e@mail",
"type": "BRANCH",
"qualifications": [
"01",
"02",
"04",
"05",
"07",
"08",
"10",
"11",
"14",
"15",
"17",
"18",
"19",
"20",
"21",
"22",
"23",
"26",
"28",
"29",
"31",
"32",
"33",
"37",
"99"
]
},
{
"id": 3,
"name": "DemoFirma_3",
"address": {
"zip": 12345,
"city": "Musterhausen",
"street": "Musterallee 1",
"country": "DEUTSCHLAND"
},
"tel": "+49 1234 567890",
"email": "e@mail",
"type": "BRANCH",
"qualifications": [
"01",
"02",
"04",
"05",
"07",
"08",
"09",
"10",
"14",
"15",
"17",
"18",
"19",
"20",
"21",
"22",
"23",
"29",
"33",
"37",
"99"
]
}
]
}
]
}
POST /companies
Firma mit der übergebenen companyId (mit Filialen, falls Haupthaus), die für diese API freigegeben wurden
Fields
| Field | Type | Description | Required |
|---|---|---|---|
| companyId | ID der Firma |
NO |
Request
Headers
| Header | Value |
|---|---|
| Accept | application/vnd.anni-care.v1+json
application/json
application/*+json |
| Content-Type | application/vnd.anni-care.v1+json
application/json |
| Authorization | HTTP Basic, HTTP Digest, or OAuth2 Bearer token (check API provider for details) |
Body
{
"companyId": 0000
}
Response
Status Codes
- 406: Not Acceptable
- 415: Unsupported Media Type
- 201: Created
- 404: Not Found
- 400: Client Error
- 422: Unprocessable Entity
- 401: Unauthorized
- 403: Forbidden
Headers
| Header | Value |
|---|---|
| Content-Type | application/vnd.anni-care.v1+json
application/json
application/*+json |
| Allow | Comma-separated list of all HTTP methods allowed |
Body
{
"companies": [
{
"id": 0,
"name": "DEMO",
"locations": [
{
"id": 1,
"name": "DemoFirma_HQ_1",
"address": {
"zip": 12345,
"city": "Musterhausen",
"street": "Musterallee 1",
"country": "DEUTSCHLAND"
},
"tel": "+49 1234 567890",
"email": "e@mail",
"type": "HEADQUARTER",
"qualifications": [
"01",
"02",
"04",
"05",
"07",
"08",
"09",
"10",
"11",
"14",
"15",
"17",
"18",
"19",
"20",
"21",
"22",
"23",
"24",
"26",
"28",
"29",
"31",
"32",
"33",
"35",
"37",
"38",
"99"
]
},
{
"id": 2,
"name": "DemoFirma_2",
"address": {
"zip": 12345,
"city": "Musterhausen",
"street": "Musterallee 1",
"country": "DEUTSCHLAND"
},
"tel": "+49 1234 567890",
"email": "e@mail",
"type": "BRANCH",
"qualifications": [
"01",
"02",
"04",
"05",
"07",
"08",
"10",
"11",
"14",
"15",
"17",
"18",
"19",
"20",
"21",
"22",
"23",
"26",
"28",
"29",
"31",
"32",
"33",
"37",
"99"
]
},
{
"id": 3,
"name": "DemoFirma_3",
"address": {
"zip": 12345,
"city": "Musterhausen",
"street": "Musterallee 1",
"country": "DEUTSCHLAND"
},
"tel": "+49 1234 567890",
"email": "e@mail",
"type": "BRANCH",
"qualifications": [
"01",
"02",
"04",
"05",
"07",
"08",
"09",
"10",
"14",
"15",
"17",
"18",
"19",
"20",
"21",
"22",
"23",
"29",
"33",
"37",
"99"
]
}
]
}
]
}
contractstatus
Vertragsstatusabruf
POST /contractstatus
Gibt zu einer Firma und Hilfsmittelnummern die Kostenträger zurück bei denen eine Teilnahme am Vertrag besteht.
Fields
| Field | Type | Description | Required |
|---|---|---|---|
| himiNumbers | json | Array abzufragendender Hilfsmittelnummern. Bsp: '["03", "18.46", "01.03.01.1"]' |
YES |
| companyId | ID der Firma |
YES |
Request
Headers
| Header | Value |
|---|---|
| Accept | application/vnd.anni-care.v1+json
application/json
application/*+json |
| Content-Type | application/vnd.anni-care.v1+json
application/json |
| Authorization | HTTP Basic, HTTP Digest, or OAuth2 Bearer token (check API provider for details) |
Body
{
"companyId": 0000,
"himiNumbers": [
"01",
"02.40.01",
"02.40.02"
]
}
Response
Status Codes
- 406: Not Acceptable
- 415: Unsupported Media Type
- 201: Created
- 404: Not Found
- 400: Client Error
- 422: Unprocessable Entity
- 401: Unauthorized
- 403: Forbidden
Headers
| Header | Value |
|---|---|
| Content-Type | application/vnd.anni-care.v1+json
application/json
application/*+json |
| Allow | Comma-separated list of all HTTP methods allowed |
Body
{
"contracts": {
"id": 0000,
"himiNummern": [
"01",
"02.40.01",
"02.40.02"
],
"himinummer2kt": {
"01": {
"9": true,
"12": true,
"13": true,
"24": true,
"25": true,
"44": true
},
"02.40.01": {
"2": true,
"4": true,
"7": true,
"9": true,
"12": true,
"15": true,
"16": true,
"19": true,
"23": true,
"24": true,
"25": true,
"30": true,
"32": true,
"35": true,
"36": true,
"37": true,
"48": true,
"55": true,
"56": true,
"57": true,
"67": true,
"74": true,
"75": true,
"76": true,
"77": true,
"81": true,
"82": true,
"83": true,
"89": true,
"90": true,
"93": true,
"98": true,
"99": true,
"100": true,
"101": true,
"107": true,
"109": true,
"131": true,
"133": true
},
"02.40.02": {
"2": true,
"9": true,
"12": true,
"15": true,
"23": true,
"30": true,
"32": true,
"35": true,
"36": true,
"37": true
}
}
}
}
insurances
Liste der Kostenträger
GET /insurances
Gibt die verwendeten Kostenträger mitsamt der von der API verwendeten id zurück
Request
Headers
| Header | Value |
|---|---|
| Accept | application/vnd.anni-care.v1+json
application/json
application/*+json |
| Authorization | HTTP Basic, HTTP Digest, or OAuth2 Bearer token (check API provider for details) |
Response
Status Codes
- 406: Not Acceptable
- 415: Unsupported Media Type
- 200: OK
- 404: Not Found
- 401: Unauthorized
- 403: Forbidden
Headers
| Header | Value |
|---|---|
| Content-Type | application/vnd.anni-care.v1+json
application/json
application/*+json |
| Allow | Comma-separated list of all HTTP methods allowed |
Body
{
"insurances": [
{
"id": "",
"bezeichnung": ""
},
{
"id": "",
"bezeichnung": ""
},
{
"id": "",
"bezeichnung": ""
},
{
"id": "",
"bezeichnung": ""
}
]
}