LatchConfig

Information needed in the latch flow

Field Type Description
allowed Bool A boolean value
latches [Latch] Array of Latch

Examples

Request

When used inside a request.

Example 1

{
    "allowed": false,
    "latches": [
        {
            "id": 19,
            "address": {
                "street": "Sint-Denijslaan",
                "nr": "96",
                "zipcode": "9000",
                "city": "Gent",
                "country": "BE"
            },
            "name": "..."
        },
        {
            "id": 16,
            "address": {
                "street": "Sint-Denijslaan",
                "nr": "96",
                "zipcode": "9000",
                "city": "Gent",
                "country": "BE"
            },
            "name": "..."
        },
        {
            "id": 18,
            "address": {
                "street": "Sint-Denijslaan",
                "nr": "96",
                "zipcode": "9000",
                "city": "Gent",
                "country": "BE"
            },
            "name": "..."
        }
    ]
}

Response

When returned in a response.

Example 1

{
    "allowed": false,
    "latches": [
        {
            "id": 13,
            "address": {
                "street": "Sint-Denijslaan",
                "nr": "96",
                "zipcode": "9000",
                "city": "Gent",
                "country": "BE",
                "position": {
                    "latitude": 1.54361,
                    "longitude": 0.45645
                }
            },
            "name": "..."
        },
        {
            "id": 10,
            "address": {
                "street": "Sint-Denijslaan",
                "nr": "96",
                "zipcode": "9000",
                "city": "Gent",
                "country": "BE",
                "position": {
                    "latitude": 1.54361,
                    "longitude": 0.45645
                }
            },
            "name": "..."
        },
        {
            "id": 15,
            "address": {
                "street": "Sint-Denijslaan",
                "nr": "96",
                "zipcode": "9000",
                "city": "Gent",
                "country": "BE",
                "position": {
                    "latitude": 1.54361,
                    "longitude": 0.45645
                }
            },
            "name": "..."
        }
    ]
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.2.0 stable