DML Problem List

Send a list of Duty Manager Logbook problems entries to your application

For e.g. 
https://app.bpn-solutions.com/api/dlm/problem_location_list

Body

All operations of the API require an api-key and api-secret to be present in the request. Those are used to authenticate incoming requests.

{
    "api-key": "1b037676-76fc-4b85-aaad-054b25a20828",
    "api-secret": "591c3034-c67b-4fd3-986d-0d9b85044a13",
    "api-lang": "zhh"
}

Method : GET

ParameterTypeContractDescription
api-keyStringRequiredApplication key
api-keyStringRequiredApplication Secret key
api-langStringOptionalzh, zhh, en, fr, de, it, ja, th, vi, es, kr, id
Default value is an en.

Response

In case of success, the HTTP status code is 200 and the content contains result according to the call.

{
    "result": {
        "rstatus": 1,
        "messages": "List problems successfully",
        "errorcode": "200"
    },
    "data": {
        "problems": [
            {
                "id": 1173,
                "problem_category_id": "146",
                "name": "Distance to Walk",
                "name_cn": "走路的距离",
                "name_de": "Entfernung zum Gehen",
                "name_it": "NULL",
                "name_fr": "NULL",
                "name_es": "Distancia para Caminar",
                "name_id": "Jarak Berjalan",
                "name_th": null,
                "name_vn": "Khoảng cách đi bộ",
                "description": "Issues with too long distance to walk from guest room to reception or outlet.",
                "description_cn": "从客房走到接待处或出口的距离太长",
                "description_de": "Probleme mit einem zu langen Weg vom Gästezimmer zur Rezeption oder zum Outlet.",
                "description_it": "NULL",
                "description_fr": "NULL",
                "description_es": "Problemas con distancias largas para caminar desde la habitación del huésped hasta la recepción o la salida.",
                "description_id": "Masalah dengan jarak yang terlalu jauh dari ruang tamu ke tempat resepsi atau outlet.",
                "description_th": null,
                "description_vn": "Vấn đề khoảng cách quá xa để đi bộ từ phòng khách đến quầy lễ tân hoặc cửa hàng.",
                "property_id": "7",
                "created_at": null,
                "updated_at": null,
                "deleted_at": null,
                "master_problem_id": "1",
                "name_jp": "歩行距離",
                "name_kr": "도보 거리",
                "description_jp": "部屋から受付や出口までの歩行距離が遠すぎる問題",
                "description_kr": "게스트 룸에서 리셉션 또는 아웃렛까지 걷기에는 너무 먼 경우."
            },
            {
                "id": 1174,
                "problem_category_id": "146",
                "name": "Car Parking",
                "name_cn": "停车场",
                "name_de": "Auto-Parken",
                "name_it": "NULL",
                "name_fr": "NULL",
                "name_es": "Estacionamiento",
                "name_id": "Tempat Parkir",
                "name_th": null,
                "name_vn": "Bãi đậu xe",
                "description": "Issues with difficulty finding an available carpark, rate charges for a carpark, or access to carpark.",
                "description_cn": "难以找到一个可用的停车场,收费的停车场,或进入停车场的问题。",
                "description_de": "Probleme mit Schwierigkeiten, einen freien Parkplatz zu finden, Gebühren für einen Parkplatz oder Zugang zu einem Parkplatz.",
                "description_it": "NULL",
                "description_fr": "NULL",
                "description_es": "Problemas con la dificultad para encontrar un estacionamiento disponible, tarifas de estacionamiento o acceso al estacionamiento.",
                "description_id": "Masalah kesulitan mendapatkan tempat parkir, biaya yang dibebankan untuk tempat parkir, atau akses menuju tempat parkir.",
                "description_th": null,
                "description_vn": "Vấn đề khó khăn trong việc tìm bãi đậu xe có sẵn, phí cho bãi đậu xe hoặc quyền sử dụng bãi đậu xe.",
                "property_id": "7",
                "created_at": null,
                "updated_at": null,
                "deleted_at": null,
                "master_problem_id": "2",
                "name_jp": "駐車場",
                "name_kr": "주차",
                "description_jp": "駐車スペース探しや駐車場料金、駐車場へのアクセス問題",
                "description_kr": "주차 가능한 주차장을 찾는 데 어려움이 있거나, 주차 요금 또는 주차장에 대한 접근에 어려움이 있는 경우."
            }
        ]
    }
}

In case of any error, the returned JSON object describes the error and has the following

{
    "result": {
        "rstatus": 0,
        "messages": "Invalid access key",
        "errorcode": "401"
    }
}

Updated on June 4, 2022

Was this article helpful?

Related Articles

Leave a Comment