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": true,
    "latches": [
        {
            "id": 12,
            "address": {
                "street": "Nicolashof",
                "nr": "89",
                "zipcode": "3800",
                "city": "Tielt",
                "country": "BE",
                "position": {
                    "latitude": 51.260197,
                    "longitude": 4.402771
                }
            },
            "name": "string"
        },
        {
            "id": 12,
            "address": {
                "street": "Nicolashof",
                "nr": "89",
                "zipcode": "3800",
                "city": "Tielt",
                "country": "BE",
                "position": {
                    "latitude": 51.260197,
                    "longitude": 4.402771
                }
            },
            "name": "string"
        },
        {
            "id": 12,
            "address": {
                "street": "Nicolashof",
                "nr": "89",
                "zipcode": "3800",
                "city": "Tielt",
                "country": "BE",
                "position": {
                    "latitude": 51.260197,
                    "longitude": 4.402771
                }
            },
            "name": "string"
        }
    ]
}

Response

When returned in a response.

Example 1

{
    "allowed": true,
    "latches": [
        {
            "id": 12,
            "address": {
                "street": "Louislaan",
                "nr": "74",
                "zipcode": "3665",
                "city": "Gent",
                "country": "BE",
                "position": {
                    "latitude": 50.8503396,
                    "longitude": 4.3517103
                }
            },
            "name": "string"
        },
        {
            "id": 12,
            "address": {
                "street": "Louislaan",
                "nr": "74",
                "zipcode": "3665",
                "city": "Gent",
                "country": "BE",
                "position": {
                    "latitude": 50.8503396,
                    "longitude": 4.3517103
                }
            },
            "name": "string"
        },
        {
            "id": 12,
            "address": {
                "street": "Louislaan",
                "nr": "74",
                "zipcode": "3665",
                "city": "Gent",
                "country": "BE",
                "position": {
                    "latitude": 50.8503396,
                    "longitude": 4.3517103
                }
            },
            "name": "string"
        }
    ]
}
1.5.0 stable