Infoland Flex - Order confirmation
You can get information about the order confirmation like this:
curl -X GET "https://beta-api.ambita.com/infoland/flex/order/<order id>/confirmation"
-H "Content-Type: application/json" \
-H "Authorization: Bearer ej577asf-a5k6-42yq-a3a2-fh03hb8cb58c" \
or call the endpoint:
https://beta-api.ambita.com/infoland/flex/order/<order id>/confirmation
Response:
{
"orderHeaderData": {
"number": number,
"reference": string,
"orderDataValues": [
{
"key": "Borettslag"
},
{
"key": "Adresse",
"value": string // some address
},
{
"key": "Andelsnummer",
"value": string
},
{
"key": "Grunnmatrikkel",
"value": "0301-1/1/0/0" // knr-gnr/bnr/fnr/snr
}
]
},
"salesPriceInclVat": 817,
"products": [
{
"key": number,
"orderId": number,
"supplier": string,
"status": string, //FINISHED, CANCELLED, NEW or PROCESSING
"code": string,
"name": string,
"label": string, // Grunneiendom, Seksjon or Andel
"deliveryTime": "18.06.2021",
"deliveryType": "Digital nedlastning",
"price": {
"value": 817,
"inclVat": true
},
"products": [
{
"key": number,
"orderId": number,
"supplier": string,
"status": "FINISHED", //FINISHED, CANCELLED, NEW or PROCESSING
"code": string,
"name": string,
"label": string, // Grunneiendom, Seksjon or Andel
"deliveryTime": "18.06.2021",
"deliveryType": string, // Digital nedlastning or Post
"price": {
"value": 0,
"inclVat": true
},
"products": [],
"superPackageCode": "",
"assets": [
{
"name": string,
"assetStatus": "OK", // Status will only be 'OK'. Other statuses will not appear in this response.
"id": string,
"productCategory": "FORRETNINGSFORERINFORMASJON", // FORRETNINGSFORERINFORMASJON or KOMMUNALINFORMASJON
"downloadUrl": "https://beta-api.ambita.com/shopping/v2/assets/<someassetId>"
},
],
"orderData": {
"realty": {
"cadastre": {
"knr": string, // example 0301
"gnr": number, // 1
"bnr": number, // 1
"fnr": number, // 0
"snr": number // 0
},
"address": {
"adresse": "some adress, postal code postal place"
},
"orgnr": string, // 9 digits.
"andelsnr": "100" // 100, 1 , 2 etc.
},
"coopinfo": {}
}
}
],
"superPackageCode": "",
"assets": [
{
"name": string,
"assetStatus": "OK", // Status will only be 'OK'. Other statuses will not appear in this response.
"id": string,
"productCategory": "FORRETNINGSFORERINFORMASJON", // FORRETNINGSFORERINFORMASJON or KOMMUNALINFORMASJON
"downloadUrl": "https://beta-api.ambita.com/shopping/v2/assets/<someassetId>"
},
],
"orderData": {
"realty": {
"cadastre": {
"knr": string, // example 0301
"gnr": number, // 1
"bnr": number, // 1
"fnr": number, // 0
"snr": number // 0
},
"address": {
"adresse": "some adress, postal code postal place"
},
"orgnr": string, // 9 digits.
"andelsnr": string // 100, 1 , 2 etc.
},
"coopinfo": {}
}
}
],
"orderMessages": [
{
"orderId": number,
"messages": [
{
"id": some id,
"sender": {
"type": "CUSTOMER", // "CUSTOMER" or "SENDER"
"name": "string"
},
"content": string,
"unread": boolean,
"created": "2024-01-29T09:29:10.643"
},
],
"supplierName": string
}
],
"documentCopies": [],
"singleInvoice": false
}
Â
More information about what status the files and order can have. Can be found here: orders, files
Â