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": 11,
            "address": {
                "street": "Sint-Denijslaan",
                "nr": "96",
                "zipcode": "9000",
                "city": "Gent",
                "country": "BE"
            },
            "name": "..."
        },
        {
            "id": 19,
            "address": {
                "street": "Sint-Denijslaan",
                "nr": "96",
                "zipcode": "9000",
                "city": "Gent",
                "country": "BE"
            },
            "name": "..."
        },
        {
            "id": 19,
            "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": 18,
            "address": {
                "street": "Sint-Denijslaan",
                "nr": "96",
                "zipcode": "9000",
                "city": "Gent",
                "country": "BE",
                "position": {
                    "latitude": 1.54361,
                    "longitude": 0.45645
                }
            },
            "name": "..."
        },
        {
            "id": 13,
            "address": {
                "street": "Sint-Denijslaan",
                "nr": "96",
                "zipcode": "9000",
                "city": "Gent",
                "country": "BE",
                "position": {
                    "latitude": 1.54361,
                    "longitude": 0.45645
                }
            },
            "name": "..."
        },
        {
            "id": 14,
            "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.6.0)
1.5.0 stable