# HTTP POST
# https://ipn.dev.thinksurance.de/api/ipn/agency-numbers
# 'Content-Type': 'application/json'
# 'Accept': 'application/json'
# 'Authorization': 'Bearer <some long string value>'
# 'X-Broker-Token': '<some hash>'
{
"agencyNumbersagencyNumberSets":[
{
"baFinId":"5405",
"agencyNumbers": [
{
"agencyNumber": "1-agency-number",
"matchCode": "comment",
"externalInsurerId": "",
"externalUniqueId": "uniqueId1",
"defaultForTenders": false,
"defaultForCalculations": false,
"collectionType": "insurer_collection",
"internalComment": "internal comment",
"active": true
},
{
"agencyNumber": "2-agency-number",
"matchCode": "comment 2",
"externalInsurerId": "insurerId2",
"externalUniqueId": "",
"defaultForTenders": false,
"defaultForCalculations": false,
"collectionType": "mga_collection",
"internalComment": "internal comment 2",
"active": true
},
{
"agencyNumber": "3-agency-number",
"matchCode": "comment 3",
"externalInsurerId": "insurerId3",
"externalUniqueId": "",
"defaultForTenders": true,
"defaultForCalculations": true,
"collectionType": "mga_collection",
"internalComment": "internal comment 3",
"active": true
}
]
},
{
"insurerId":"5036",
"agencyNumbers": [
{
"agencyNumber": "A1",
"matchCode": "A1",
"externalInsurerId": "A1",
"externalUniqueId": "A1",
"defaultForTenders": true,
"defaultForCalculations": false,
"collectionType": "insurer_collection",
"internalComment": "A1",
"active": true
}
]
},
{
"supervisingAuthorityId":"61234",
"agencyNumbers": [
{
"agencyNumber": "A2",
"matchCode": "A2",
"externalInsurerId": "A2",
"externalUniqueId": "A2",
"defaultForTenders": false,
"defaultForCalculations": true,
"collectionType": "mga_collection",
"internalComment": "A2",
"active": true
}
]
}
]
} |