NAV Navbar
HTTP Request cURL Request JSON Response
  • Introduction
  • Authentication
  • Events
  • Seatings
  • Orders
  • Invoice
  • Glossary
  • Changelogs
  • Introduction

    Welcome to Loket API Documentation. This API is intended to be use by Loket Partner to access data, resource and make transaction in Loket.

    Loket Sync Flow

    We recommend merchant to save/cache Event data locally on merchant server, so merchant doesn't need to call Event API every time user open merchant apps.

    Sync Flow

    Loket Order Flow

    Please see diagram below to better understand how order process normally do in Loket.

    Order Flow

    Authentication

    GET /authentication/generate?client_id=<id>&client_secret=<key> HTTP/1.1
    Host: rest.sandbox.loket.com
    
    curl -X GET \
      'http://rest.sandbox.loket.com/authentication/generate?client_id=id&client_secret=key'
    
    {
      "status": true,
      "result": {
        "hmac": {
          "Authorization": {
            "header": "HMAC-SHA256 ClientId=loketsampleapi, Timestamp=1544739185, Signature=abc123",
            "param": "ABC123="
          }
        }
      }
    }
    

    In order to make request call to Loket API you need to be authenticated. Authentication is done by:

    1. concatenating client_id, semicolon : and unix timestamp
    2. hash the string above with client_secret using HMAC SHA256
    3. encode it using base64
    4. prepend it into Authentication header when making request call. Please see below for detailed step.
    <?php
    
    $unix_timestamp = strtotime(gmdate('YmdHis'));
    $signature_plain = $client_id . ':' . $unix_timestamp;
    $signature_raw = hash_hmac('sha256', $signature_plain, $client_secret, TRUE);
    $signature = base64_encode($signature_raw);
    
    $auth_header = sprintf("HMAC-SHA256 ClientId=%s, Timestamp=%d, Signature=%s", $client_id, $unix_timestamp, $signature);
    
    $curl_session = curl_init();
    curl_setopt($curl_session, CURLOPT_URL, 'http://rest.sandbox.loket.com/<resource-endpoint>');
    curl_setopt($curl_session, CURLOPT_POST, 1);
    curl_setopt($curl_session, CURLOPT_HTTPHEADER, array(
        'Authorization: ' . $auth_header
    ));
    curl_setopt($curl_session, CURLOPT_POSTFIELDS, http_build_query($form_data));
    curl_setopt($curl_session, CURLOPT_RETURNTRANSFER, 1);
    $json_response = curl_exec($curl_session);
    curl_close($curl_session);
    
    // do the rest with json_response
    

    Please make sure unix_timestamp is appropriate with UTC Time +0, our server only accept request with timestamp no more/less than 5 minutes (300 second difference).

    To help developer when trying to generate authentication header there is endpoint to do that. But please do not use it on production, as this endpoint is intended to use as a helper and not to be called frequently by client.

    GET /authentication/generate

    Parameter

    Key Value Flag
    client_id string Required
    client_secret string Required

    Usage

    1. Refer to this path:
      • $.result.hmac.Authorization.header
    2. Save this value:
      • HMAC-SHA256 ClientId=client, Timestamp=1544739185, Signature=abc123
    3. Use the value above as Authorization value for the next request.
    Header Key Header Value
    Authorization HMAC-SHA256 ClientId=client, Timestamp=123456789, Signature=abc123

    Events

    This section will cover events related endpoint.

    Event Summary List

    GET /event/list HTTP/1.1
    Host: rest.sandbox.loket.com
    Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Nonce=abc123, Signature=abc123
    
    curl -X GET \
      http://rest.sandbox.loket.com/event/list \
      -H 'Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123'
    
    {
      "status": true,
      "result": {
        "details": [
          {
            "id_event": 423,
            "event_name": "Sample Multi Schedule",
            "description": "Event dengan multi schedule.",
            "event_capacity": 0,
            "start_date": "2018-11-07 16:00:00",
            "end_date": "2019-12-30 16:00:00",
            "start_price": 35000,
            "end_price": 135000,
            "event_banner": "https://s3.amazonaws.com/loket-sandbox/images/banner/20181107043459.jpg",
            "news_feed": "",
            "id_organization": 6,
            "organization_name": "Loket Integration",
            "custom_form": null,
            "custom_url": null,
            "required_member": false,
            "is_private_event": false,
            "status_event": 1,
            "status_event_name": "ACTIVE",
            "categories": [
              {
                "id_event_category": 1,
                "name_event_category": "Festival Electronic Dance Music",
                "status_event_category": 1,
                "status_event_category_name": "ACTIVE"
              }
            ],
            "segments": [
              {
                "id_event_segment": 1,
                "name_event_segment": "Kids",
                "status_event_segment": 1,
                "status_event_segment_name": "ACTIVE"
              }
            ],
            "tags": [
              {
                "id_event_tag": 385,
                "tag_name": "SME"
              }
            ],
            "users": [
              {
                "id_user": 149,
                "firstname": "Loket",
                "lastname": "User",
                "status_user": 1,
                "status_user_name": "ACTIVE"
              }
            ]
          },
          { "notice": "actual response may contain more results" }
        ],
        "summary": {
          "event_count": 11,
          "page_count": 1
        }
      }
    }
    

    GET /event/list

    Key Value Flag
    Authorization HMAC authentication header Required

    Refer to authentication usage here.

    Parameter

    Key Value Flag
    id_event int Optional
    event_name string Optional
    description string Optional
    start_date_begin date Optional, yyyy-MM-dd hh:mm:ss
    start_date_end date Optional, yyyy-MM-dd hh:mm:ss
    end_date_begin date Optional, yyyy-MM-dd hh:mm:ss
    end_date_end date Optional, yyyy-MM-dd hh:mm:ss
    page int Optional
    per_page int Optional
    status_event int Optional

    Event Detail List

    GET /event HTTP/1.1
    Host: rest.sandbox.loket.com
    Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Nonce=abc123, Signature=abc123
    
    curl -X GET \
      http://rest.sandbox.loket.com/event \
      -H 'Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123'
    
    {
      "status": true,
      "result": {
        "details": [
          {
            "id_event": 423,
            "event_name": "Sample Multi Schedule",
            "description": "Event dengan multi schedule.",
            "event_capacity": 0,
            "start_date": "2018-11-07 16:00:00",
            "end_date": "2019-12-30 16:00:00",
            "start_price": 35000,
            "end_price": 135000,
            "event_banner": "https://s3.amazonaws.com/loket-sandbox/images/banner/20181107043459.jpg",
            "news_feed": "",
            "id_organization": 6,
            "organization_name": "Loket Integration",
            "custom_form": null,
            "custom_url": null,
            "required_member": false,
            "is_private_event": false,
            "status_event": 1,
            "status_event_name": "ACTIVE",
            "categories": [
              {
                "id_event_category": 1,
                "name_event_category": "Festival Electronic Dance Music",
                "status_event_category": 1,
                "status_event_category_name": "ACTIVE"
              }
            ],
            "segments": [
              {
                "id_event_segment": 1,
                "name_event_segment": "Kids",
                "status_event_segment": 1,
                "status_event_segment_name": "ACTIVE"
              }
            ],
            "tags": [
              {
                "id_event_tag": 385,
                "tag_name": "SME"
              }
            ],
            "users": [
              {
                "id_user": 149,
                "firstname": "Loket",
                "lastname": "User",
                "status_user": 1,
                "status_user_name": "ACTIVE"
              }
            ],
            "schedules": [
              {
                "id_schedule": 446,
                "start_date": "2018-11-07 16:00:00",
                "end_date": "2019-12-30 16:00:00",
                "use_seating_chart": false,
                "tax": null,
                "form_option": ["firstname", "lastname", "email", "telephone"],
                "status_schedule": 1,
                "status_schedule_name": "ACTIVE",
                "location": {
                  "id_location": 461,
                  "location_name": "Pasaraya Blok M",
                  "id_country": 1,
                  "country_name": "Indonesia",
                  "id_province": 6,
                  "province_name": "DKI Jakarta",
                  "id_district": 41,
                  "district_name": "Jakarta Selatan",
                  "id_region": 408,
                  "region_name": "Kebayoran Baru",
                  "address": "Jl. Iskandarsyah II, RT.3/RW.1, Melawai, Kby. Baru, Kota Jakarta Selatan, Daerah Khusus Ibukota Jakarta",
                  "postal_code": "12160",
                  "latitude": -6.2439,
                  "longitude": 106.803,
                  "status_location": 1,
                  "status_location_name": "ACTIVE"
                },
                "groups": [
                  {
                    "id_group": 482,
                    "id_schedule": 446,
                    "group_name": "Online Sales",
                    "max_transaction": 5,
                    "widget_code": "2cqosl7y6han3yl",
                    "widget_url": "http://neo.sandbox.loket.com/widget/2cqosl7y6han3yl",
                    "is_enable_invitation": false,
                    "is_enable_coupon": false,
                    "currency_code": "IDR",
                    "currency_prefix": "Rp. ",
                    "seating_type": 1,
                    "seating_type_name": "PICK",
                    "status_group": 1,
                    "status_group_name": "ACTIVE",
                    "tickets": [
                      {
                        "id_ticket": 681,
                        "id_ticket_type": 631,
                        "ticket_type": "Regular",
                        "description": "",
                        "start_sale": "2018-11-07 00:00:00",
                        "end_sale": "2019-12-29 16:00:00",
                        "price": 35000,
                        "quantity": 10000,
                        "available": true,
                        "available_qty": 9997,
                        "ticket_seating_chart": false,
                        "ticket_color": "#000000",
                        "hold_end_date": null,
                        "hold_message": null,
                        "status_ticket": 1,
                        "status_ticket_name": "ACTIVE",
                        "tags": [],
                        "max_buy_qty": 5
                      },
                      {
                        "id_ticket": 682,
                        "id_ticket_type": 632,
                        "ticket_type": "VIP",
                        "description": "",
                        "start_sale": "2018-11-07 00:00:00",
                        "end_sale": "2019-12-29 16:00:00",
                        "price": 50000,
                        "quantity": 10000,
                        "available": true,
                        "available_qty": 10000,
                        "ticket_seating_chart": false,
                        "ticket_color": "#000000",
                        "hold_end_date": null,
                        "hold_message": null,
                        "status_ticket": 1,
                        "status_ticket_name": "ACTIVE",
                        "tags": [],
                        "max_buy_qty": 5
                      }
                    ],
                    "fees": [],
                    "payments": [
                      {
                        "id_list_payment": 1,
                        "id_parent_payment": 0,
                        "payment_name": "Credit Card",
                        "payment_type": 2,
                        "payment_type_name": "ONLINE",
                        "installment_term": null,
                        "payment_vendor": null,
                        "payment_vendor_name": null,
                        "expired_time_invoice": 0,
                        "expired_reminder": null,
                        "payment_custom_percent": 0,
                        "payment_custom_nominal": 0,
                        "payment_info": null,
                        "payment_info_ind": null,
                        "payment_logo": null,
                        "status_payment": 1,
                        "status_payment_name": "ACTIVE",
                        "payment_custom": null,
                        "childs": [
                          {
                            "id_list_payment": 6,
                            "id_parent_payment": 1,
                            "payment_name": "Credit / Debit Card",
                            "payment_type": 2,
                            "payment_type_name": "ONLINE",
                            "installment_term": null,
                            "payment_vendor": 1,
                            "payment_vendor_name": "Midtrans",
                            "expired_time_invoice": 900,
                            "expired_reminder": 0,
                            "payment_custom_percent": 3,
                            "payment_custom_nominal": 5000,
                            "payment_info": "We accept credit cards or debit online with Visa and MasterCard",
                            "payment_info_ind": "Kami menerima kartu kredit atau debit online berlogo Visa dan MasterCard.\n",
                            "payment_logo": "https://s3.amazonaws.com/loket-sandbox/images/payment_logo/20170529023337.jpeg",
                            "status_payment": 1,
                            "status_payment_name": "ACTIVE",
                            "id_group": 482,
                            "payment_custom": null,
                            "childs": []
                          }
                        ]
                      }
                    ],
                    "installments": []
                  }
                ]
              },
              {
                "id_schedule": 447,
                "start_date": "2018-11-07 16:00:00",
                "end_date": "2019-12-30 16:00:00",
                "use_seating_chart": false,
                "tax": null,
                "form_option": ["firstname", "lastname", "email", "telephone"],
                "status_schedule": 1,
                "status_schedule_name": "ACTIVE",
                "location": {
                  "id_location": 462,
                  "location_name": "Stasiun Gambir",
                  "id_country": 1,
                  "country_name": "Indonesia",
                  "id_province": 6,
                  "province_name": "DKI Jakarta",
                  "id_district": 40,
                  "district_name": "Jakarta Pusat",
                  "id_region": 397,
                  "region_name": "Gambir",
                  "address": "Jl. Medan Merdeka Tim. No.1, Gambir, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta",
                  "postal_code": "10110",
                  "latitude": -6.17672,
                  "longitude": 106.831,
                  "status_location": 1,
                  "status_location_name": "ACTIVE"
                },
                "groups": [
                  {
                    "id_group": 483,
                    "id_schedule": 447,
                    "group_name": "Early Bird",
                    "max_transaction": 8,
                    "widget_code": "2cqotk4lkyh69fx",
                    "widget_url": "http://neo.sandbox.loket.com/widget/2cqotk4lkyh69fx",
                    "is_enable_invitation": false,
                    "is_enable_coupon": false,
                    "currency_code": "IDR",
                    "currency_prefix": "Rp. ",
                    "seating_type": 1,
                    "seating_type_name": "PICK",
                    "status_group": 1,
                    "status_group_name": "ACTIVE",
                    "tickets": [
                      {
                        "id_ticket": 683,
                        "id_ticket_type": 633,
                        "ticket_type": "Bronze",
                        "description": "",
                        "start_sale": "2018-11-07 00:00:00",
                        "end_sale": "2019-12-29 16:00:00",
                        "price": 75000,
                        "quantity": 10000,
                        "available": true,
                        "available_qty": 10000,
                        "ticket_seating_chart": false,
                        "ticket_color": "#000000",
                        "hold_end_date": null,
                        "hold_message": null,
                        "status_ticket": 1,
                        "status_ticket_name": "ACTIVE",
                        "tags": [],
                        "max_buy_qty": 8
                      },
                      {
                        "id_ticket": 684,
                        "id_ticket_type": 634,
                        "ticket_type": "Silver",
                        "description": "",
                        "start_sale": "2018-11-07 00:00:00",
                        "end_sale": "2019-12-29 16:00:00",
                        "price": 100000,
                        "quantity": 10000,
                        "available": true,
                        "available_qty": 10000,
                        "ticket_seating_chart": false,
                        "ticket_color": "#000000",
                        "hold_end_date": null,
                        "hold_message": null,
                        "status_ticket": 1,
                        "status_ticket_name": "ACTIVE",
                        "tags": [],
                        "max_buy_qty": 8
                      },
                      {
                        "id_ticket": 685,
                        "id_ticket_type": 635,
                        "ticket_type": "Gold",
                        "description": "",
                        "start_sale": "2018-11-07 00:00:00",
                        "end_sale": "2019-12-29 16:00:00",
                        "price": 135000,
                        "quantity": 10000,
                        "available": true,
                        "available_qty": 10000,
                        "ticket_seating_chart": false,
                        "ticket_color": "#000000",
                        "hold_end_date": null,
                        "hold_message": null,
                        "status_ticket": 1,
                        "status_ticket_name": "ACTIVE",
                        "tags": [],
                        "max_buy_qty": 8
                      }
                    ],
                    "fees": [],
                    "payments": [
                      {
                        "id_list_payment": 1,
                        "id_parent_payment": 0,
                        "payment_name": "Credit Card",
                        "payment_type": 2,
                        "payment_type_name": "ONLINE",
                        "installment_term": null,
                        "payment_vendor": null,
                        "payment_vendor_name": null,
                        "expired_time_invoice": 0,
                        "expired_reminder": null,
                        "payment_custom_percent": 0,
                        "payment_custom_nominal": 0,
                        "payment_info": null,
                        "payment_info_ind": null,
                        "payment_logo": null,
                        "status_payment": 1,
                        "status_payment_name": "ACTIVE",
                        "payment_custom": null,
                        "childs": [
                          {
                            "id_list_payment": 6,
                            "id_parent_payment": 1,
                            "payment_name": "Credit / Debit Card",
                            "payment_type": 2,
                            "payment_type_name": "ONLINE",
                            "installment_term": null,
                            "payment_vendor": 1,
                            "payment_vendor_name": "Midtrans",
                            "expired_time_invoice": 900,
                            "expired_reminder": 0,
                            "payment_custom_percent": 3,
                            "payment_custom_nominal": 5000,
                            "payment_info": "We accept credit cards or debit online with Visa and MasterCard",
                            "payment_info_ind": "Kami menerima kartu kredit atau debit online berlogo Visa dan MasterCard.\n",
                            "payment_logo": "https://s3.amazonaws.com/loket-sandbox/images/payment_logo/20170529023337.jpeg",
                            "status_payment": 1,
                            "status_payment_name": "ACTIVE",
                            "id_group": 483,
                            "payment_custom": null,
                            "childs": []
                          }
                        ]
                      }
                    ],
                    "installments": []
                  }
                ]
              }
            ]
          },
          { "notice": "actual response may contain more results" }
        ],
        "summary": {
          "event_count": 11,
          "page_count": 1
        }
      }
    }
    

    GET /event

    Key Value Flag
    Authorization HMAC authentication header Required

    Refer to authentication usage here.

    Parameter

    Key Value Flag
    id_event int Optional
    event_name string Optional
    description string Optional
    start_date_begin date Optional, yyyy-MM-dd hh:mm:ss
    start_date_end date Optional, yyyy-MM-dd hh:mm:ss
    end_date_begin date Optional, yyyy-MM-dd hh:mm:ss
    end_date_end date Optional, yyyy-MM-dd hh:mm:ss
    page int Optional
    per_page int Optional
    status_event int Optional

    Event Detail by ID

    GET /event/1 HTTP/1.1
    Host: rest.sandbox.loket.com
    Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Nonce=abc123, Signature=abc123
    
    curl -X GET \
      http://rest.sandbox.loket.com/event/423 \
      -H 'Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123'
    
    {
      "status": true,
      "result": {
        "id_event": 423,
        "event_name": "Sample Multi Schedule",
        "description": "Event dengan multi schedule.",
        "event_capacity": 0,
        "start_date": "2018-11-07 16:00:00",
        "end_date": "2019-12-30 16:00:00",
        "start_price": 35000,
        "end_price": 135000,
        "event_banner": "https://s3.amazonaws.com/loket-sandbox/images/banner/20181107043459.jpg",
        "news_feed": "",
        "id_organization": 6,
        "organization_name": "Loket Integration",
        "custom_form": null,
        "custom_url": null,
        "required_member": false,
        "is_private_event": false,
        "status_event": 1,
        "status_event_name": "ACTIVE",
        "categories": [
          {
            "id_event_category": 1,
            "name_event_category": "Festival Electronic Dance Music",
            "status_event_category": 1,
            "status_event_category_name": "ACTIVE"
          }
        ],
        "segments": [
          {
            "id_event_segment": 1,
            "name_event_segment": "Kids",
            "status_event_segment": 1,
            "status_event_segment_name": "ACTIVE"
          }
        ],
        "tags": [
          {
            "id_event_tag": 385,
            "tag_name": "SME"
          }
        ],
        "users": [
          {
            "id_user": 149,
            "firstname": "Loket",
            "lastname": "User",
            "status_user": 1,
            "status_user_name": "ACTIVE"
          }
        ],
        "schedules": [
          {
            "id_schedule": 446,
            "start_date": "2018-11-07 16:00:00",
            "end_date": "2019-12-30 16:00:00",
            "use_seating_chart": false,
            "tax": null,
            "form_option": ["firstname", "lastname", "email", "telephone"],
            "status_schedule": 1,
            "status_schedule_name": "ACTIVE",
            "location": {
              "id_location": 461,
              "location_name": "Pasaraya Blok M",
              "id_country": 1,
              "country_name": "Indonesia",
              "id_province": 6,
              "province_name": "DKI Jakarta",
              "id_district": 41,
              "district_name": "Jakarta Selatan",
              "id_region": 408,
              "region_name": "Kebayoran Baru",
              "address": "Jl. Iskandarsyah II, RT.3/RW.1, Melawai, Kby. Baru, Kota Jakarta Selatan, Daerah Khusus Ibukota Jakarta",
              "postal_code": "12160",
              "latitude": -6.2439,
              "longitude": 106.803,
              "status_location": 1,
              "status_location_name": "ACTIVE"
            },
            "groups": [
              {
                "id_group": 482,
                "id_schedule": 446,
                "group_name": "Online Sales",
                "max_transaction": 5,
                "widget_code": "2cqosl7y6han3yl",
                "widget_url": "http://neo.sandbox.loket.com/widget/2cqosl7y6han3yl",
                "is_enable_invitation": false,
                "is_enable_coupon": false,
                "currency_code": "IDR",
                "currency_prefix": "Rp. ",
                "seating_type": 1,
                "seating_type_name": "PICK",
                "status_group": 1,
                "status_group_name": "ACTIVE",
                "tickets": [
                  {
                    "id_ticket": 681,
                    "id_ticket_type": 631,
                    "ticket_type": "Regular",
                    "description": "",
                    "start_sale": "2018-11-07 00:00:00",
                    "end_sale": "2019-12-29 16:00:00",
                    "price": 35000,
                    "quantity": 10000,
                    "available": true,
                    "available_qty": 9997,
                    "ticket_seating_chart": false,
                    "ticket_color": "#000000",
                    "hold_end_date": null,
                    "hold_message": null,
                    "status_ticket": 1,
                    "status_ticket_name": "ACTIVE",
                    "tags": [],
                    "max_buy_qty": 5
                  },
                  {
                    "id_ticket": 682,
                    "id_ticket_type": 632,
                    "ticket_type": "VIP",
                    "description": "",
                    "start_sale": "2018-11-07 00:00:00",
                    "end_sale": "2019-12-29 16:00:00",
                    "price": 50000,
                    "quantity": 10000,
                    "available": true,
                    "available_qty": 10000,
                    "ticket_seating_chart": false,
                    "ticket_color": "#000000",
                    "hold_end_date": null,
                    "hold_message": null,
                    "status_ticket": 1,
                    "status_ticket_name": "ACTIVE",
                    "tags": [],
                    "max_buy_qty": 5
                  }
                ],
                "fees": [],
                "payments": [
                  {
                    "id_list_payment": 1,
                    "id_parent_payment": 0,
                    "payment_name": "Credit Card",
                    "payment_type": 2,
                    "payment_type_name": "ONLINE",
                    "installment_term": null,
                    "payment_vendor": null,
                    "payment_vendor_name": null,
                    "expired_time_invoice": 0,
                    "expired_reminder": null,
                    "payment_custom_percent": 0,
                    "payment_custom_nominal": 0,
                    "payment_info": null,
                    "payment_info_ind": null,
                    "payment_logo": null,
                    "status_payment": 1,
                    "status_payment_name": "ACTIVE",
                    "payment_custom": null,
                    "childs": [
                      {
                        "id_list_payment": 6,
                        "id_parent_payment": 1,
                        "payment_name": "Credit / Debit Card",
                        "payment_type": 2,
                        "payment_type_name": "ONLINE",
                        "installment_term": null,
                        "payment_vendor": 1,
                        "payment_vendor_name": "Midtrans",
                        "expired_time_invoice": 900,
                        "expired_reminder": 0,
                        "payment_custom_percent": 3,
                        "payment_custom_nominal": 5000,
                        "payment_info": "We accept credit cards or debit online with Visa and MasterCard",
                        "payment_info_ind": "Kami menerima kartu kredit atau debit online berlogo Visa dan MasterCard.\n",
                        "payment_logo": "https://s3.amazonaws.com/loket-sandbox/images/payment_logo/20170529023337.jpeg",
                        "status_payment": 1,
                        "status_payment_name": "ACTIVE",
                        "id_group": 482,
                        "payment_custom": null,
                        "childs": []
                      }
                    ]
                  }
                ],
                "installments": []
              }
            ]
          },
          {
            "id_schedule": 447,
            "start_date": "2018-11-07 16:00:00",
            "end_date": "2019-12-30 16:00:00",
            "use_seating_chart": false,
            "tax": null,
            "form_option": ["firstname", "lastname", "email", "telephone"],
            "status_schedule": 1,
            "status_schedule_name": "ACTIVE",
            "location": {
              "id_location": 462,
              "location_name": "Stasiun Gambir",
              "id_country": 1,
              "country_name": "Indonesia",
              "id_province": 6,
              "province_name": "DKI Jakarta",
              "id_district": 40,
              "district_name": "Jakarta Pusat",
              "id_region": 397,
              "region_name": "Gambir",
              "address": "Jl. Medan Merdeka Tim. No.1, Gambir, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta",
              "postal_code": "10110",
              "latitude": -6.17672,
              "longitude": 106.831,
              "status_location": 1,
              "status_location_name": "ACTIVE"
            },
            "groups": [
              {
                "id_group": 483,
                "id_schedule": 447,
                "group_name": "Early Bird",
                "max_transaction": 8,
                "widget_code": "2cqotk4lkyh69fx",
                "widget_url": "http://neo.sandbox.loket.com/widget/2cqotk4lkyh69fx",
                "is_enable_invitation": false,
                "is_enable_coupon": false,
                "currency_code": "IDR",
                "currency_prefix": "Rp. ",
                "seating_type": 1,
                "seating_type_name": "PICK",
                "status_group": 1,
                "status_group_name": "ACTIVE",
                "tickets": [
                  {
                    "id_ticket": 683,
                    "id_ticket_type": 633,
                    "ticket_type": "Bronze",
                    "description": "",
                    "start_sale": "2018-11-07 00:00:00",
                    "end_sale": "2019-12-29 16:00:00",
                    "price": 75000,
                    "quantity": 10000,
                    "available": true,
                    "available_qty": 10000,
                    "ticket_seating_chart": false,
                    "ticket_color": "#000000",
                    "hold_end_date": null,
                    "hold_message": null,
                    "status_ticket": 1,
                    "status_ticket_name": "ACTIVE",
                    "tags": [],
                    "max_buy_qty": 8
                  },
                  {
                    "id_ticket": 684,
                    "id_ticket_type": 634,
                    "ticket_type": "Silver",
                    "description": "",
                    "start_sale": "2018-11-07 00:00:00",
                    "end_sale": "2019-12-29 16:00:00",
                    "price": 100000,
                    "quantity": 10000,
                    "available": true,
                    "available_qty": 10000,
                    "ticket_seating_chart": false,
                    "ticket_color": "#000000",
                    "hold_end_date": null,
                    "hold_message": null,
                    "status_ticket": 1,
                    "status_ticket_name": "ACTIVE",
                    "tags": [],
                    "max_buy_qty": 8
                  },
                  {
                    "id_ticket": 685,
                    "id_ticket_type": 635,
                    "ticket_type": "Gold",
                    "description": "",
                    "start_sale": "2018-11-07 00:00:00",
                    "end_sale": "2019-12-29 16:00:00",
                    "price": 135000,
                    "quantity": 10000,
                    "available": true,
                    "available_qty": 10000,
                    "ticket_seating_chart": false,
                    "ticket_color": "#000000",
                    "hold_end_date": null,
                    "hold_message": null,
                    "status_ticket": 1,
                    "status_ticket_name": "ACTIVE",
                    "tags": [],
                    "max_buy_qty": 8
                  }
                ],
                "fees": [],
                "payments": [
                  {
                    "id_list_payment": 1,
                    "id_parent_payment": 0,
                    "payment_name": "Credit Card",
                    "payment_type": 2,
                    "payment_type_name": "ONLINE",
                    "installment_term": null,
                    "payment_vendor": null,
                    "payment_vendor_name": null,
                    "expired_time_invoice": 0,
                    "expired_reminder": null,
                    "payment_custom_percent": 0,
                    "payment_custom_nominal": 0,
                    "payment_info": null,
                    "payment_info_ind": null,
                    "payment_logo": null,
                    "status_payment": 1,
                    "status_payment_name": "ACTIVE",
                    "payment_custom": null,
                    "childs": [
                      {
                        "id_list_payment": 6,
                        "id_parent_payment": 1,
                        "payment_name": "Credit / Debit Card",
                        "payment_type": 2,
                        "payment_type_name": "ONLINE",
                        "installment_term": null,
                        "payment_vendor": 1,
                        "payment_vendor_name": "Midtrans",
                        "expired_time_invoice": 900,
                        "expired_reminder": 0,
                        "payment_custom_percent": 3,
                        "payment_custom_nominal": 5000,
                        "payment_info": "We accept credit cards or debit online with Visa and MasterCard",
                        "payment_info_ind": "Kami menerima kartu kredit atau debit online berlogo Visa dan MasterCard.\n",
                        "payment_logo": "https://s3.amazonaws.com/loket-sandbox/images/payment_logo/20170529023337.jpeg",
                        "status_payment": 1,
                        "status_payment_name": "ACTIVE",
                        "id_group": 483,
                        "payment_custom": null,
                        "childs": []
                      }
                    ]
                  }
                ],
                "installments": []
              }
            ]
          }
        ]
      }
    }
    

    GET /event/<id_event>

    Key Value Flag
    Authorization HMAC authentication header Required

    Refer to authentication usage here.

    Parameter

    Key Value Flag
    id_event int Required

    Path Reference

    Event Schedules

    GET /event/schedules HTTP/1.1
    Host: rest.sandbox.loket.com
    Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Nonce=abc123, Signature=abc123
    
    curl -X GET \
      http://rest.sandbox.loket.com/event/schedules \
      -H 'Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123'
    
    {
      "status": true,
      "result": {
        "details": [
          {
            "id_event": 423,
            "event_name": "Sample Multi Schedule",
            "description": "Event dengan multi schedule.",
            "event_capacity": 0,
            "start_date": "2018-11-07 16:00:00",
            "end_date": "2019-12-30 16:00:00",
            "start_price": 35000,
            "end_price": 135000,
            "event_banner": "https://s3.amazonaws.com/loket-sandbox/images/banner/20181107043459.jpg",
            "news_feed": "",
            "id_organization": 6,
            "organization_name": "Loket Integration",
            "custom_form": null,
            "custom_url": null,
            "required_member": false,
            "is_private_event": false,
            "status_event": 1,
            "status_event_name": "ACTIVE",
            "categories": [
              {
                "id_event_category": 1,
                "name_event_category": "Festival Electronic Dance Music",
                "status_event_category": 1,
                "status_event_category_name": "ACTIVE"
              }
            ],
            "segments": [
              {
                "id_event_segment": 1,
                "name_event_segment": "Kids",
                "status_event_segment": 1,
                "status_event_segment_name": "ACTIVE"
              }
            ],
            "tags": [
              {
                "id_event_tag": 385,
                "tag_name": "SME"
              }
            ],
            "users": [
              {
                "id_user": 149,
                "firstname": "Loket",
                "lastname": "User",
                "status_user": 1,
                "status_user_name": "ACTIVE"
              }
            ],
            "schedules": [
              {
                "id_schedule": 446,
                "start_date": "2018-11-07 16:00:00",
                "end_date": "2019-12-30 16:00:00",
                "use_seating_chart": false,
                "tax": null,
                "form_option": ["firstname", "lastname", "email", "telephone"],
                "status_schedule": 1,
                "status_schedule_name": "ACTIVE",
                "location": {
                  "id_location": 461,
                  "location_name": "Pasaraya Blok M",
                  "id_country": 1,
                  "country_name": "Indonesia",
                  "id_province": 6,
                  "province_name": "DKI Jakarta",
                  "id_district": 41,
                  "district_name": "Jakarta Selatan",
                  "id_region": 408,
                  "region_name": "Kebayoran Baru",
                  "address": "Jl. Iskandarsyah II, RT.3/RW.1, Melawai, Kby. Baru, Kota Jakarta Selatan, Daerah Khusus Ibukota Jakarta",
                  "postal_code": "12160",
                  "latitude": -6.2439,
                  "longitude": 106.803,
                  "status_location": 1,
                  "status_location_name": "ACTIVE"
                }
              }
            ]
          },
          { "notice": "actual response may contain more results" }
        ],
        "summary": {
          "schedule_count": 12,
          "page_count": 1
        }
      }
    }
    

    GET /event/schedules

    Key Value Flag
    Authorization HMAC authentication header Required

    Refer to authentication usage here.

    Parameter

    Key Value Flag
    id_event int Optional
    id_schedule int Optional
    page int Optional
    per_page int Optional

    Event Ticket Groups

    GET /event/groups HTTP/1.1
    Host: rest.sandbox.loket.com
    Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Nonce=abc123, Signature=abc123
    
    curl -X GET \
      http://rest.sandbox.loket.com/event/groups \
      -H 'Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123'
    
    {
      "status": true,
      "result": {
        "details": [
          {
            "id_schedule": 446,
            "id_event": 423,
            "start_date": "2018-11-07 16:00:00",
            "end_date": "2019-12-30 16:00:00",
            "use_seating_chart": false,
            "tax": null,
            "form_option": ["firstname", "lastname", "email", "telephone"],
            "status_schedule": 1,
            "status_schedule_name": "ACTIVE",
            "location": {
              "id_location": 461,
              "location_name": "Pasaraya Blok M",
              "id_country": 1,
              "country_name": "Indonesia",
              "id_province": 6,
              "province_name": "DKI Jakarta",
              "id_district": 41,
              "district_name": "Jakarta Selatan",
              "id_region": 408,
              "region_name": "Kebayoran Baru",
              "address": "Jl. Iskandarsyah II, RT.3/RW.1, Melawai, Kby. Baru, Kota Jakarta Selatan, Daerah Khusus Ibukota Jakarta",
              "postal_code": "12160",
              "latitude": -6.2439,
              "longitude": 106.803,
              "status_location": 1,
              "status_location_name": "ACTIVE"
            },
            "groups": [
              {
                "id_group": 482,
                "group_name": "Online Sales",
                "max_transaction": 5,
                "widget_code": "2cqosl7y6han3yl",
                "widget_url": "http://neo.sandbox.loket.com/widget/2cqosl7y6han3yl",
                "is_enable_invitation": false,
                "is_enable_coupon": false,
                "currency_code": "IDR",
                "currency_prefix": "Rp. ",
                "seating_type": 1,
                "seating_type_name": "PICK",
                "status_group": 1,
                "status_group_name": "ACTIVE"
              }
            ]
          },
          { "notice": "actual response may contain more results" }
        ],
        "summary": {
          "group_count": 12,
          "page_count": 1
        }
      }
    }
    

    GET /event/groups

    Key Value Flag
    Authorization HMAC authentication header Required

    Refer to authentication usage here.

    Parameter

    Key Value Flag
    id_event int Optional
    id_schedule int Optional
    id_group int Optional
    page int Optional
    per_page int Optional

    Event Tickets

    GET /event/tickets HTTP/1.1
    Host: rest.sandbox.loket.com
    Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Nonce=abc123, Signature=abc123
    
    curl -X GET \
      http://rest.sandbox.loket.com/event/tickets \
      -H 'Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123'
    
    {
      "status": true,
      "result": {
        "details": [
          {
            "id_group": 482,
            "id_schedule": 446,
            "group_name": "Online Sales",
            "max_transaction": 5,
            "widget_code": "2cqosl7y6han3yl",
            "widget_url": "http://neo.sandbox.loket.com/widget/2cqosl7y6han3yl",
            "is_enable_invitation": false,
            "is_enable_coupon": false,
            "currency_code": "IDR",
            "currency_prefix": "Rp. ",
            "seating_type": 1,
            "seating_type_name": "PICK",
            "status_group": 1,
            "status_group_name": "ACTIVE",
            "tickets": [
              {
                "id_ticket": 681,
                "id_ticket_type": 631,
                "ticket_type": "Regular",
                "description": "",
                "start_sale": "2018-11-07 00:00:00",
                "end_sale": "2019-12-29 16:00:00",
                "price": 35000,
                "quantity": 10000,
                "available": true,
                "available_qty": 9997,
                "ticket_seating_chart": false,
                "ticket_color": "#000000",
                "hold_end_date": null,
                "hold_message": null,
                "status_ticket": 1,
                "status_ticket_name": "ACTIVE",
                "tags": [],
                "max_buy_qty": 5
              }
            ],
            "fees": []
          },
          { "notice": "actual response may contain more results" }
        ],
        "summary": {
          "ticket_count": 16,
          "page_count": 16
        }
      }
    }
    

    GET /event/tickets

    Key Value Flag
    Authorization HMAC authentication header Required

    Refer to authentication usage here.

    Parameter

    Key Value Flag
    id_event int Optional
    id_schedule int Optional
    id_group int Optional
    id_ticket int Optional
    page int Optional
    per_page int Optional

    Event Categories

    GET /event/categories HTTP/1.1
    Host: rest.sandbox.loket.com
    Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Nonce=abc123, Signature=abc123
    
    curl -X GET \
      http://rest.sandbox.loket.com/event/categories \
      -H 'Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123'
    
    {
      "status": true,
      "result": {
        "details": [
          {
            "id_event_category": 1,
            "name_event_category": "Festival Electronic Dance Music",
            "status_event_category": 1,
            "status_event_category_name": "ACTIVE"
          },
          {
            "id_event_category": 2,
            "name_event_category": "Festival General",
            "status_event_category": 1,
            "status_event_category_name": "ACTIVE"
          },
          {
            "id_event_category": 3,
            "name_event_category": "Concert",
            "status_event_category": 1,
            "status_event_category_name": "ACTIVE"
          },
          {
            "id_event_category": 4,
            "name_event_category": "Sports",
            "status_event_category": 1,
            "status_event_category_name": "ACTIVE"
          },
          {
            "id_event_category": 5,
            "name_event_category": "Exhibition",
            "status_event_category": 1,
            "status_event_category_name": "ACTIVE"
          },
          {
            "id_event_category": 6,
            "name_event_category": "Conference",
            "status_event_category": 1,
            "status_event_category_name": "ACTIVE"
          },
          {
            "id_event_category": 7,
            "name_event_category": "Workshop",
            "status_event_category": 1,
            "status_event_category_name": "ACTIVE"
          },
          {
            "id_event_category": 8,
            "name_event_category": "Sports",
            "status_event_category": 1,
            "status_event_category_name": "ACTIVE"
          },
          {
            "id_event_category": 9,
            "name_event_category": "Theater & Drama Musical",
            "status_event_category": 1,
            "status_event_category_name": "ACTIVE"
          },
          {
            "id_event_category": 10,
            "name_event_category": "Attraction",
            "status_event_category": 1,
            "status_event_category_name": "ACTIVE"
          },
          {
            "id_event_category": 11,
            "name_event_category": "Accommodation",
            "status_event_category": 1,
            "status_event_category_name": "ACTIVE"
          },
          {
            "id_event_category": 12,
            "name_event_category": "Transportation",
            "status_event_category": 1,
            "status_event_category_name": "ACTIVE"
          },
          {
            "id_event_category": 13,
            "name_event_category": "Other",
            "status_event_category": 3,
            "status_event_category_name": "DELETED"
          }
        ],
        "summary": {
          "event_category_count": 13,
          "page_count": 1
        }
      }
    }
    

    GET /event/categories

    Key Value Flag
    Authorization HMAC authentication header Required

    Refer to authentication usage here.

    Parameter

    Key Value Flag
    id_event_category int Optional
    status_event_category int Optional
    name_event_category int Optional
    page int Optional
    per_page int Optional

    Event Segments

    GET /event/segments HTTP/1.1
    Host: rest.sandbox.loket.com
    Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Nonce=abc123, Signature=abc123
    
    curl -X GET \
      http://rest.sandbox.loket.com/event/segments \
      -H 'Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123'
    
    {
      "status": true,
      "result": {
        "details": [
          {
            "id_event_segment": 1,
            "name_event_segment": "Kids",
            "status_event_segment": 1,
            "status_event_segment_name": "ACTIVE"
          },
          {
            "id_event_segment": 2,
            "name_event_segment": "Teenage",
            "status_event_segment": 1,
            "status_event_segment_name": "ACTIVE"
          },
          {
            "id_event_segment": 3,
            "name_event_segment": "Family",
            "status_event_segment": 1,
            "status_event_segment_name": "ACTIVE"
          },
          {
            "id_event_segment": 4,
            "name_event_segment": "Adult 18+",
            "status_event_segment": 1,
            "status_event_segment_name": "ACTIVE"
          },
          {
            "id_event_segment": 5,
            "name_event_segment": "Umum",
            "status_event_segment": 1,
            "status_event_segment_name": "ACTIVE"
          },
          {
            "id_event_segment": 6,
            "name_event_segment": "Adult 21+",
            "status_event_segment": 1,
            "status_event_segment_name": "ACTIVE"
          }
        ],
        "summary": {
          "event_segment_count": 6,
          "page_count": 1
        }
      }
    }
    

    GET /event/segments

    Key Value Flag
    Authorization HMAC authentication header Required

    Refer to authentication usage here.

    Parameter

    Key Value Flag
    id_event_segment int Optional
    status_event_segment int Optional
    name_event_segment int Optional
    page int Optional
    per_page int Optional

    Event Template

    GET /event/schedule/451/template_generate HTTP/1.1
    Host: rest.sandbox.loket.com
    Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123
    
    curl -X GET \
      http://rest.sandbox.loket.com/event/schedule/451/template_generate \
      -H 'Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123'
    
    {
      "status": true,
      "result": {
        "template_email": null,
        "template_evoucher": "<div class=\"evoucher-wrapper\">\n\t\t\t<div class=\"evoucher\">\n\t\t\t\t<table>\n\t\t\t\t\t<tbody><tr>\n\t\t\t\t\t\t<td style=\"width:75%;text-transform:uppercase;font-weight:700;padding:6px 12px;font-size:14px;\">\n\t\t\t\t\t\t\t<div class=\"editable cke_editable cke_editable_inline cke_contents_ltr cke_show_borders\" contenteditable=\"true\" tabindex=\"0\" spellcheck=\"false\" role=\"textbox\" aria-label=\"Rich Text Editor, editor1\" title=\"Rich Text Editor, editor1\" aria-describedby=\"cke_67\" style=\"position: relative;\"><p>Ticket Type : <span style=\"color:#FF3A2D;\">$ticket_type</span> ($currency_code $ticket_price) $seat_number $seat_door $ticket_desc</p></div>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t</tr>\n\t\t\t\t</tbody></table>\n\t\t\t\t<table>\n\t\t\t\t\t<tbody><tr>\n\t\t\t\t\t\t<td rowspan=\"2\" style=\"width:75%;padding:10px 0px;vertical-align:middle;\">\n\t\t\t\t\t\t\t<div style=\"position:relative;\">\n\t\t\t\t\t\t\t\t<img src=\"/themes_1.0/img/logo-a.png\" class=\"image_banner\" alt=\"\" style=\"display:block;max-width:460px;height:240px;margin:auto;padding:0px 10px;\">\n\t\t\t\t\t\t\t\t<div class=\"file-btn\" style=\"display:none;\">\n\t\t\t\t\t\t\t\t\t<span onclick=\"set_image_evoucher('banner', 'Insert URL IMAGE BANNER (460px x 240px): '); return false;\">URL Image Banner</span>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t<td style=\"text-align:center;vertical-align:middle;padding:0px;\">\n\t\t\t\t\t\t\t<div style=\"position:relative;height:100px;\">\n\t\t\t\t\t\t\t\t<img src=\"/themes_1.0/img/logo-a.png\" class=\"image_logo\" alt=\"\" style=\"width: 100px;height: 100px;\">\n\t\t\t\t\t\t\t\t<div class=\"file-btn\" style=\"display:none;\">\n\t\t\t\t\t\t\t\t\t<span onclick=\"set_image_evoucher('logo', 'Insert URL IMAGE LOGO (100px x 100px): '); return false;\">URL Image Logo</span>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td style=\"text-align:center;padding:0px 10px\">\n\t\t\t\t\t\t\t<span style=\"height:60px;\">\n\t\t\t\t\t\t\t\t$barcode_image\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t<small style=\"display:block;margin:0;line-height:1.2;\"><b>$barcode_id</b></small>\n\t\t\t\t\t\t\t<span style=\"display:block;margin:0;line-height:1.2;font-size:12px;\"><br><b>$ticket_number</b></span>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td style=\"text-align:center;text-transform:uppercase;font-weight:700;font-size:13px;whitespace:nowrap;padding:6px 12px;\">\n\t\t\t\t\t\t\t<div class=\"editable__\">\n\t\t\t\t\t\t\t\tSample All Form Fields LDP\n\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\t2018-11-12 15:00:00 &mdash; 2019-12-31 15:00:00\n\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\tKota Kasablanka, alan Casablanca No.88, Menteng Dalam, Tebet, RT.14/RW.5, Menteng Dalam, Tebet, Kota Jakarta Selatan, Daerah Khusus Ibukota Jakarta 12870\n\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\tTebet - Jakarta Selatan - DKI Jakarta \n\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\t$outlet_sold_name\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t<td style=\"text-align:center;line-height:1.2;padding:8px 12px;font-size:13px;\">\n                                                    <div class=\"editable__\">\n\t\t\t\t\t\t\t<b>\n\t\t\t\t\t\t\t\t$invoice_code\n\t\t\t\t\t\t\t\t<br>$attendee_fullname\n\t\t\t\t\t\t\t</b>\n\t\t\t\t\t\t\t<br>Ordered on $invoice_date\n\t\t\t\t\t\t\t<br>Ref: $ticket_reference\n\t\t\t\t\t\t\t<br>$invitation_code\n                                                    </div>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td colspan=\"2\">\n\t\t\t\t\t\t\t<h2 style=\"margin:0 0;font-size:18px;color:#FF3A2D;text-transform:uppercase;text-align: center;\" class=\"editable__\">Terms &amp; Condition</h2>\n\t\t\t\t\t\t\t<table class=\"toc\">\n\t\t\t\t\t\t\t\t<tbody><tr>\n\t\t\t\t\t\t\t\t\t<td style=\"width:50%\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"editable__\">\n\t\t\t\t\t\t\t\t\t\t\t<ul>\n\t\t\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<b>Proof of ID is a requirement for every ticket purchased</b>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<i>Wajib menunjukkan kartu identitas untuk setiap pembelian tiket</i>\n\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<b>E-voucher can be exchanged at Kota Kasablanka on 2018-11-12 15:00:00 &mdash; 2019-12-31 15:00:00</b>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<i>E-voucher ini dapat ditukarkan dengan tiket asli pada 2018-11-12 15:00:00 &mdash; 2019-12-31 15:00:00 di Kota Kasablanka</i>\n\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<b>Tickets are non-refundable</b>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<i>Tiket yang sudah dibeli tidak dapat dikembalikan</i>\n\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<b>We are NOT responsible for the lost of this e-voucher</b>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<i>Kami tidak bertanggung jawab atas kehilangan e-voucher ini</i>\n\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t\t<td style=\"width:50%\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"editable__\">\n\t\t\t\t\t\t\t\t\t\t\t<ul>\n\t\t\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<b>NO WEAPON &amp; NO DRUGS</b>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<i>DILARANG MEMBAWA  SENJATA ATAU OBAT-OBATAN</i>\n\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<b>We will have every right to refuse and/or discharge entry for ticket holders that does not meet the Term &amp; Condition</b>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<i>Penyelenggara berhak untuk tidak memberikan izin untuk masuk ke dalam tempat acara apabila syarat-syarat &amp; ketentuan tidak dipenuhi</i>\n\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t</tbody></table>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t</tr>\n\t\t\t\t</tbody></table>\n\t\t\t\t<table>\n\t\t\t\t\t<tbody><tr>\n\t\t\t\t\t\t<td style=\"text-align:center;white-space:nowrap;font-size:14px;font-weight:700;width:33.33333%;text-transform:uppercase;\">\n\t\t\t\t\t\t\t<span class=\"editable__\">\n\t\t\t\t\t\t\t\twww.<span style=\"color:#FF3A2D;\">loket</span>.com\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t<td style=\"text-align:center;white-space:nowrap;color:#FF3A2D;font-size:14px;font-weight:700;width:33.33333%;text-transform:uppercase;\">\n\t\t\t\t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 32 32\">\n\t\t\t\t\t\t\t\t<path d=\"M22 20c-2 2-2 4-4 4s-4-2-6-4-4-4-4-6 2-2 4-4-4-8-6-8-6 6-6 6c0 4 4.11 12.11 8 16s12 8 16 8c0 0 6-4 6-6s-6-8-8-6z\"></path>\n\t\t\t\t\t\t\t</svg>&nbsp;\n\t\t\t\t\t\t\t<span class=\"editable__\">\n\t\t\t\t\t\t\t\t+62-21-2910-1051\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t\t<td style=\"text-align:center;white-space:nowrap;color:#FF3A2D;font-size:14px;font-weight:700;width:33.33333%;text-transform:uppercase;\">\n\t\t\t\t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 32 32\">\n\t\t\t\t\t\t\t\t<path d=\"M32 6.076c-1.177.522-2.443.875-3.77 1.034 1.354-.813 2.395-2.1 2.886-3.632-1.27.752-2.674 1.3-4.17 1.593C25.75 3.796 24.044 3 22.157 3c-3.627 0-6.566 2.94-6.566 6.565 0 .515.058 1.016.17 1.496-5.456-.275-10.294-2.89-13.532-6.86-.565.97-.89 2.096-.89 3.3 0 2.278 1.16 4.287 2.922 5.465-1.076-.034-2.088-.33-2.974-.82v.082c0 3.18 2.262 5.834 5.265 6.437-.55.15-1.13.23-1.73.23-.422 0-.833-.04-1.234-.118.835 2.608 3.26 4.506 6.133 4.56-2.248 1.76-5.08 2.81-8.155 2.81-.53 0-1.052-.032-1.566-.093 2.904 1.863 6.355 2.95 10.063 2.95 12.076 0 18.68-10.004 18.68-18.68 0-.285-.007-.568-.02-.85C30.006 8.55 31.12 7.394 32 6.077z\" fill=\"#55acee\">\n\t\t\t\t\t\t\t</path></svg>&nbsp;\n\t\t\t\t\t\t\t<span class=\"editable__\">\n\t\t\t\t\t\t\t\t@loketcom\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t</tr>\n                                        <tr><td colspan=\"3\" style=\"text-align:center;white-space:nowrap;font-size:12px;font-weight:700;width:33.33333%;\"> Powered by <a href=\"http://www.loket.com\">Loket.com</a></td></tr>\n\t\t\t\t</tbody></table>\n\t\t\t</div>\n\t\t</div>\n\t\t<style type=\"text/css\">\n\t\t\t*,\n\t\t\t*:before,\n\t\t\t*:after {\n\t\t\t\t-webkit-box-sizing: border-box;\n\t\t\t\t-moz-box-sizing: border-box;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t}\n\t\t\t\n\t\t\thtml {\n\t\t\t\tfont-family: Arial, sans-serif;\n\t\t\t\t-ms-text-size-adjust: 100%;\n\t\t\t\t-webkit-text-size-adjust: 100%;\n\t\t\t}\n\t\t\t\n\t\t\tbody {\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t\t\n\t\t\tarticle,\n\t\t\taside,\n\t\t\tdetails,\n\t\t\tfigcaption,\n\t\t\tfigure,\n\t\t\tfooter,\n\t\t\theader,\n\t\t\thgroup,\n\t\t\tmain,\n\t\t\tmenu,\n\t\t\tnav,\n\t\t\tsection,\n\t\t\tsummary {\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t\t\n\t\t\taudio,\n\t\t\tcanvas,\n\t\t\tprogress,\n\t\t\tvideo {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tvertical-align: baseline;\n\t\t\t}\n\t\t\t\n\t\t\taudio:not([controls]) {\n\t\t\t\tdisplay: none;\n\t\t\t\theight: 0;\n\t\t\t}\n\t\t\t\n\t\t\t[hidden],\n\t\t\ttemplate {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t\t\n\t\t\ta {\n\t\t\t\tbackground-color: transparent;\n\t\t\t}\n\t\t\t\n\t\t\ta:active,\n\t\t\ta:hover {\n\t\t\t\toutline: 0;\n\t\t\t}\n\t\t\t\n\t\t\tabbr[title] {\n\t\t\t\tborder-bottom: 1px dotted;\n\t\t\t}\n\t\t\t\n\t\t\tb,\n\t\t\tstrong {\n\t\t\t\tfont-weight: bold;\n\t\t\t}\n\t\t\t\n\t\t\tdfn {\n\t\t\t\tfont-style: italic;\n\t\t\t}\n\t\t\t\n\t\t\th1 {\n\t\t\t\tfont-size: 2em;\n\t\t\t\tmargin: 0.67em 0;\n\t\t\t}\n\t\t\t\n\t\t\tmark {\n\t\t\t\tbackground: #ff0;\n\t\t\t\tcolor: #000;\n\t\t\t}\n\t\t\t\n\t\t\tsmall {\n\t\t\t\tfont-size: 80%;\n\t\t\t}\n\t\t\t\n\t\t\tsub,\n\t\t\tsup {\n\t\t\t\tfont-size: 75%;\n\t\t\t\tline-height: 0;\n\t\t\t\tposition: relative;\n\t\t\t\tvertical-align: baseline;\n\t\t\t}\n\t\t\t\n\t\t\tsup {\n\t\t\t\ttop: -0.5em;\n\t\t\t}\n\t\t\t\n\t\t\tsub {\n\t\t\t\tbottom: -0.25em;\n\t\t\t}\n\t\t\t\n\t\t\timg {\n\t\t\t\tborder: 0;\n\t\t\t}\n\t\t\t\n\t\t\tsvg:not(:root) {\n\t\t\t\toverflow: hidden;\n\t\t\t}\n\t\t\t\n\t\t\tfigure {\n\t\t\t\tmargin: 1em 40px;\n\t\t\t}\n\t\t\t\n\t\t\thr {\n\t\t\t\t-moz-box-sizing: content-box;\n\t\t\t\tbox-sizing: content-box;\n\t\t\t\theight: 0;\n\t\t\t}\n\t\t\t\n\t\t\tpre {\n\t\t\t\toverflow: auto;\n\t\t\t}\n\t\t\t\n\t\t\tcode,\n\t\t\tkbd,\n\t\t\tpre,\n\t\t\tsamp {\n\t\t\t\tfont-family: monospace, monospace;\n\t\t\t\tfont-size: 1em;\n\t\t\t}\n\t\t\t\n\t\t\tbutton,\n\t\t\tinput,\n\t\t\toptgroup,\n\t\t\tselect,\n\t\t\ttextarea {\n\t\t\t\tcolor: inherit;\n\t\t\t\tfont: inherit;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t\t\n\t\t\tbutton {\n\t\t\t\toverflow: visible;\n\t\t\t}\n\t\t\t\n\t\t\tbutton,\n\t\t\tselect {\n\t\t\t\ttext-transform: none;\n\t\t\t}\n\t\t\t\n\t\t\tbutton,\n\t\t\thtml input[type=\"button\"],\n\t\t\tinput[type=\"reset\"],\n\t\t\tinput[type=\"submit\"] {\n\t\t\t\t-webkit-appearance: button;\n\t\t\t\tcursor: pointer;\n\t\t\t}\n\t\t\t\n\t\t\tbutton[disabled],\n\t\t\thtml input[disabled] {\n\t\t\t\tcursor: default;\n\t\t\t}\n\t\t\t\n\t\t\tbutton::-moz-focus-inner,\n\t\t\tinput::-moz-focus-inner {\n\t\t\t\tborder: 0;\n\t\t\t\tpadding: 0;\n\t\t\t}\n\t\t\t\n\t\t\tinput {\n\t\t\t\tline-height: normal;\n\t\t\t}\n\t\t\t\n\t\t\tinput[type=\"checkbox\"],\n\t\t\tinput[type=\"radio\"] {\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tpadding: 0;\n\t\t\t}\n\t\t\t\n\t\t\tinput[type=\"number\"]::-webkit-inner-spin-button,\n\t\t\tinput[type=\"number\"]::-webkit-outer-spin-button {\n\t\t\t\theight: auto;\n\t\t\t}\n\t\t\t\n\t\t\tinput[type=\"search\"] {\n\t\t\t\t-webkit-appearance: textfield;\n\t\t\t\t-moz-box-sizing: content-box;\n\t\t\t\t-webkit-box-sizing: content-box;\n\t\t\t\tbox-sizing: content-box;\n\t\t\t}\n\t\t\t\n\t\t\tinput[type=\"search\"]::-webkit-search-cancel-button,\n\t\t\tinput[type=\"search\"]::-webkit-search-decoration {\n\t\t\t\t-webkit-appearance: none;\n\t\t\t}\n\t\t\t\n\t\t\tfieldset {\n\t\t\t\tborder: 1px solid #c0c0c0;\n\t\t\t\tmargin: 0 2px;\n\t\t\t\tpadding: 0.35em 0.625em 0.75em;\n\t\t\t}\n\t\t\t\n\t\t\tlegend {\n\t\t\t\tborder: 0;\n\t\t\t\tpadding: 0;\n\t\t\t}\n\t\t\t\n\t\t\ttextarea {\n\t\t\t\toverflow: auto;\n\t\t\t}\n\t\t\t\n\t\t\toptgroup {\n\t\t\t\tfont-weight: bold;\n\t\t\t}\n\t\t\t\n\t\t\ttable {\n\t\t\t\tborder-collapse: collapse;\n\t\t\t\tborder-spacing: 0;\n\t\t\t}\n\t\t\t\n\t\t\ttd,\n\t\t\tth {\n\t\t\t\tpadding: 0;\n\t\t\t}\n\t\t\t\n\t\t\tbody {\n\t\t\t\tfont-size: 8pt;\n\t\t\t\tline-height: 1.5;\n\t\t\t\tpadding-top: 48px;\n\t\t\t\tbackground: #eee;\n\t\t\t}\n\t\t\t\n\t\t\timg {\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t\t\n\t\t\ttable {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\t\n\t\t\tbody {\n\t\t\t\tfont-size: 16px;\n\t\t\t}\n\t\t\t\n\t\t\t.site-header {\n\t\t\t\theight: 48px;\n\t\t\t\tposition: fixed;\n\t\t\t\ttop: 0;\n\t\t\t\tright: 0;\n\t\t\t\tleft: 0;\n\t\t\t\tbackground: rgba(255, 255, 255, 0.88);\n\t\t\t\tbox-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.1);\n\t\t\t\toverflow: hidden;\n\t\t\t\tpadding: 0 16px;\n\t\t\t\tz-index: 99;\n\t\t\t}\n\t\t\t\n\t\t\t.site-header__logo {\n\t\t\t\tfloat: left;\n\t\t\t}\n\t\t\t\n\t\t\t.site-header__logo em {\n\t\t\t\tdisplay: block;\n\t\t\t\tfont-size: 20px;\n\t\t\t\tfont-weight: 400;\n\t\t\t\ttext-transform: uppercase;\n\t\t\t\tfont-style: normal;\n\t\t\t\tline-height: 48px;\n\t\t\t\tcolor: #d9531e;\n\t\t\t}\n\t\t\t\n\t\t\t.site-header__action {\n\t\t\t\tfloat: right;\n\t\t\t\tpadding: 8px 0;\n\t\t\t}\n\t\t\t\n\t\t\t.site-header__action .btn {\n\t\t\t\tdisplay: block;\n\t\t\t\tvertical-align: middle;\n\t\t\t\tline-height: 22px;\n\t\t\t\tpadding: 4px 12px;\n\t\t\t\tborder: solid 1px rgba(0, 0, 0, 0.1);\n\t\t\t\tbackground: #fff;\n\t\t\t\tborder-radius: 3px;\n\t\t\t\tfont: inherit;\n\t\t\t\tfont-size: 14px;\n\t\t\t\toutline: 0 !important;\n\t\t\t\tfloat: left;\n\t\t\t\tmargin: 0 0 0 8px;\n\t\t\t\tbackground-color: #01A4EF;\n\t\t\t\tcolor: #fff !important;\n\t\t\t\tbackground-image: linear-gradient(#2fbdfe, #01A4EF);\n\t\t\t\ttext-shadow: -0.1px -0.1px rgba(0, 0, 0, 0.12);\n\t\t\t\tbox-shadow: 0 0.1px 0.1px rgba(255, 255, 255, 0.4) inset;\n\t\t\t}\n\t\t\t\n\t\t\t.site-header__action .btn svg {\n\t\t\t\tdisplay: block;\n\t\t\t\twidth: 22px;\n\t\t\t\theight: 22px;\n\t\t\t\tfill: #fff;\n\t\t\t\tfloat: left;\n\t\t\t\tmargin: 0 6px 0 -4px;\n\t\t\t}\n\t\t\t\n\t\t\t.site-header__action .btn:focus {\n\t\t\t\tbox-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);\n\t\t\t}\n\t\t\t\n\t\t\t.evoucher-wrapper {\n\t\t\t\tmax-width: 746px;\n\t\t\t\tmargin: 24px auto;\n\t\t\t\tbackground: #fff;\n\t\t\t\tpadding: 8px;\n\t\t\t\tborder: solid 1px #e5e5e5;\n\t\t\t\tbox-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);\n\t\t\t}\n\t\t\t\n\t\t\t.evoucher {\n\t\t\t\tborder: solid 4px #eee;\n\t\t\t}\n\t\t\t\n\t\t\t.evoucher > table {\n\t\t\t\tborder-collapse: separate;\n\t\t\t}\n\t\t\t\n\t\t\t.evoucher > table td {\n\t\t\t\tpadding: 12px;\n\t\t\t\tborder: solid 4px #eee;\n\t\t\t}\n\t\t\t\n\t\t\t.evoucher > table td img {\n\t\t\t\tmax-width: 1000px;\n\t\t\t}\n\t\t\t\n\t\t\ttd svg {\n\t\t\t\tvertical-align: middle;\n\t\t\t}\n\t\t\t\n\t\t\ttable.toc td {\n\t\t\t\tborder: 0;\n\t\t\t\tvertical-align: top;\n\t\t\t}\n\t\t\t\n\t\t\t.evoucher td ul,\n\t\t\t.evoucher td ol {\n\t\t\t\tmargin: 0 0 0 16px;\n\t\t\t\tpadding: 0;\n\t\t\t\tfont-size: 13px;\n\t\t\t}\n\t\t\t\n\t\t\t.file-btn {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 0px;\n\t\t\t\tright: 10px;\n\t\t\t\toverflow: hidden;\n\t\t\t\theight: 24px;\n\t\t\t\tline-height: 24px;\n\t\t\t\tpadding: 0 6px;\n\t\t\t\tborder-radius: 3px;\n\t\t\t\tborder: solid 1px #ccc;\n\t\t\t\tfont-size: 9px;\n\t\t\t\tcursor: pointer;\n\t\t\t\tfont-family: Arial, sans-serif;\n\t\t\t\ttext-transform: uppercase;\n\t\t\t\tfont-weight: 700;\n\t\t\t\tbackground: rgba(255, 255, 255, .4);\n\t\t\t}\n\t\t\t\n\t\t\t.file-btn input {\n\t\t\t\tposition: absolute;\n\t\t\t\topacity: 0;\n\t\t\t\tline-height: 4rem;\n\t\t\t\twidth: 8rem;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\tright: 0;\n\t\t\t\tbottom: 0;\n\t\t\t\tcursor: pointer;\n\t\t\t}\n\t\t\t\n\t\t\t.editable {\n\t\t\t\tborder: dashed 1px #e5e5e5;\n\t\t\t\toutline: 0;\n\t\t\t}\n\t\t\t\n\t\t\t.editable:focus {\n\t\t\t\tbackground: #ffffce;\n\t\t\t}\n\t\t\t\n\t\t\t.break {\n\t\t\t\tmargin: 24px 0;\n\t\t\t}\n\t\t\t\n\t\t\t@media print {\n\t\t\t\tbody {\n\t\t\t\t\tpadding-top: 0;\n\t\t\t\t\tbackground: transparent;\n\t\t\t\t}\n\t\t\t\t.eticket {\n\t\t\t\t\tpadding: 0;\n\t\t\t\t\tborder: 0;\n\t\t\t\t\tbox-shadow: none;\n\t\t\t\t}\n\t\t\t\t.site-header {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t\t.break {\n\t\t\t\t\tpage-break-after: always;\n\t\t\t\t\theight: 0;\n\t\t\t\t\tbackground: transparent;\n\t\t\t\t\tmargin: 0;\n\t\t\t\t}\n\t\t\t\t.editable {\n\t\t\t\t\tborder: 0;\n\t\t\t\t\tbackground: transparent;\n\t\t\t\t}\n\t\t\t\t.inline-editor {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t}\n\t\t</style>",
        "template_tnc": "<table class=\"toc\"><tbody><tr><td style=\"width:50%\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"editable__\">\n\t\t\t\t\t\t\t\t\t\t\t<ul><li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<b>Proof of ID is a requirement for every ticket purchased</b>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<br><i>Wajib menunjukkan kartu identitas untuk setiap pembelian tiket</i>\n\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<b>E-voucher can be exchanged at Kota Kasablanka on 2018-11-12 15:00:00 &mdash; 2019-12-31 15:00:00</b>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<br><i>E-voucher ini dapat ditukarkan dengan tiket asli pada 2018-11-12 15:00:00 &mdash; 2019-12-31 15:00:00 di Kota Kasablanka</i>\n\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<b>Tickets are non-refundable</b>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<br><i>Tiket yang sudah dibeli tidak dapat dikembalikan</i>\n\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<b>We are NOT responsible for the lost of this e-voucher</b>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<br><i>Kami tidak bertanggung jawab atas kehilangan e-voucher ini</i>\n\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t</ul></div>\n\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t\t<td style=\"width:50%\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"editable__\">\n\t\t\t\t\t\t\t\t\t\t\t<ul><li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<b>NO WEAPON &amp; NO DRUGS</b>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<br><i>DILARANG MEMBAWA  SENJATA ATAU OBAT-OBATAN</i>\n\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<b>We will have every right to refuse and/or discharge entry for ticket holders that does not meet the Term &amp; Condition</b>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<br><i>Penyelenggara berhak untuk tidak memberikan izin untuk masuk ke dalam tempat acara apabila syarat-syarat &amp; ketentuan tidak dipenuhi</i>\n\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t</ul></div>\n\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t</tr></tbody></table>",
        "template_ticket": null,
        "ticket_pdf_size": null
      }
    }
    

    Used to get template from an event.

    GET /event/schedule/{id_schedule}/template_generate

    Key Value Flag
    Authorization HMAC authentication header Required

    Refer to authentication usage here.

    Parameter

    Key Value Flag
    template string Optional

    Seatings

    Seating Sections

    GET /seating/sections HTTP/1.1
    Host: rest.sandbox.loket.com
    Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Nonce=abc123, Signature=abc123
    
    curl -X GET \
      http://rest.sandbox.loket.com/seating/sections \
      -H 'Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123'
    
    {
      "status": true,
      "result": [
        {
          "id_schedule": 356,
          "id_event": 333,
          "start_date": "2018-09-08 00:00:00",
          "end_date": "2020-12-31 00:00:00",
          "use_seating_chart": true,
          "tax": null,
          "form_option": ["firstname", "lastname", "email", "telephone"],
          "status_schedule": 1,
          "status_schedule_name": "ACTIVE",
          "location": {
            "id_location": 371,
            "location_name": "Ferrata",
            "id_country": 1,
            "country_name": "Indonesia",
            "id_province": 6,
            "province_name": "DKI Jakarta",
            "id_district": 38,
            "district_name": "DKI Jakarta",
            "id_region": 386,
            "region_name": "Jakarta",
            "address": "Pasaraya, Jl. Iskandarsyah Raya, RT.5/RW.5, Melawai, Kebayoran Baru, South Jakarta City, Jakarta 12160",
            "postal_code": "12160",
            "latitude": -6.24379,
            "longitude": 106.803,
            "status_location": 1,
            "status_location_name": "ACTIVE"
          },
          "sections": [
            {
              "id_section": 181,
              "id_parent": null,
              "id_schedule": 356,
              "section_name": "CIPUTRA  ARTPRENEUR THEATER 2018-09-07 14:31",
              "section_type": "section",
              "seat_setting": "row|-|column",
              "section_image": "https://s3.amazonaws.com/loket-sandbox/images/seating_chart/20180908124516.jpg",
              "section_mapping": "<map name=\"seating-map-image\">\n      <area shape=\"rect\" coords=\"120, 40, 369, 125\" href=\"javascript:void(0)\" class=\"section-link\" alt=\"Gold\" data-id-section=\"185\" id=\"section-link-185\" />\n      <area shape=\"rect\" coords=\"20, 202, 484, 287\" href=\"javascript:void(0)\" class=\"section-link\" alt=\"Bronze\" data-id-section=\"182\" id=\"section-link-182\" />\n</map>\n\n<script type=\"text/javascript\">\n\t$(function() {\n\t\t$(\"#seating-image\").maphilight({\n\t\t\tfade: true,\n\t\t\tfill: true,\n\t\t\tfillColor: \"000000\",\n\t\t\tfillOpacity: 0.2,\n\t\t\tstroke: false,\n\t\t\tshadow: true,\n\t\t\tshadowX: 1,\n\t\t\tshadowY: 3,\n\t\t\tshadowRadius: 10,\n\t\t\tshadowColor: \"000000\",\n\t\t\tshadowOpacity: 0.6,\n\t\t\tshadowPosition: \"outside\",\n\t\t})\n\t})\n</script>",
              "legend_image": null,
              "section_level": null,
              "row_count": null,
              "col_count": null,
              "status_section": 1,
              "status_section_name": "ACTIVE",
              "groups": [],
              "childs": [
                {
                  "id_section": 182,
                  "id_parent": 181,
                  "id_schedule": 356,
                  "section_name": "Bronze",
                  "section_type": "seating",
                  "seat_setting": null,
                  "section_image": null,
                  "section_mapping": null,
                  "legend_image": null,
                  "section_level": null,
                  "row_count": 8,
                  "col_count": 46,
                  "status_section": 1,
                  "status_section_name": "ACTIVE",
                  "groups": [
                    {
                      "id_group": 385,
                      "group_name": "Online Sales I",
                      "max_transaction": 5,
                      "widget_code": "nbusis5cdd7hspe",
                      "widget_url": "http://neo.sandbox.loket.com/widget/nbusis5cdd7hspe",
                      "is_enable_invitation": false,
                      "is_enable_coupon": false,
                      "currency_code": "IDR",
                      "currency_prefix": "Rp. ",
                      "seating_type": 1,
                      "seating_type_name": "PICK",
                      "status_group": 1,
                      "status_group_name": "ACTIVE",
                      "tickets": [
                        {
                          "id_ticket": 557,
                          "id_ticket_type": 515,
                          "ticket_type": "Bronze",
                          "description": "",
                          "start_sale": "2018-09-08 00:00:00",
                          "end_sale": "2020-12-30 00:00:00",
                          "price": 12500,
                          "available": true,
                          "available_qty": 191,
                          "ticket_seating_chart": true,
                          "ticket_color": "#34eb1c",
                          "hold_end_date": null,
                          "hold_message": null,
                          "status_ticket": 1,
                          "status_ticket_name": "ACTIVE",
                          "tags": []
                        }
                      ],
                      "fees": []
                    }
                  ],
                  "childs": []
                },
                {
                  "id_section": 185,
                  "id_parent": 181,
                  "id_schedule": 356,
                  "section_name": "Gold",
                  "section_type": "seating",
                  "seat_setting": null,
                  "section_image": null,
                  "section_mapping": null,
                  "legend_image": null,
                  "section_level": null,
                  "row_count": 7,
                  "col_count": 45,
                  "status_section": 1,
                  "status_section_name": "ACTIVE",
                  "groups": [
                    {
                      "id_group": 385,
                      "group_name": "Online Sales I",
                      "max_transaction": 5,
                      "widget_code": "nbusis5cdd7hspe",
                      "widget_url": "http://neo.sandbox.loket.com/widget/nbusis5cdd7hspe",
                      "is_enable_invitation": false,
                      "is_enable_coupon": false,
                      "currency_code": "IDR",
                      "currency_prefix": "Rp. ",
                      "seating_type": 1,
                      "seating_type_name": "PICK",
                      "status_group": 1,
                      "status_group_name": "ACTIVE",
                      "tickets": [
                        {
                          "id_ticket": 558,
                          "id_ticket_type": 516,
                          "ticket_type": "Gold",
                          "description": "",
                          "start_sale": "2018-09-08 00:00:00",
                          "end_sale": "2020-12-30 00:00:00",
                          "price": 15000,
                          "available": true,
                          "available_qty": 219,
                          "ticket_seating_chart": true,
                          "ticket_color": "#f0f022",
                          "hold_end_date": null,
                          "hold_message": null,
                          "status_ticket": 1,
                          "status_ticket_name": "ACTIVE",
                          "tags": []
                        }
                      ],
                      "fees": []
                    }
                  ],
                  "childs": []
                }
              ]
            }
          ]
        }
      ]
    }
    

    GET /seating/sections

    Key Value Flag
    Authorization HMAC authentication header Required

    Refer to authentication usage here.

    Parameter

    Key Value Flag
    id_schedule int Optional

    Seating Seats

    GET /seating/seats?id_group=387&amp;id_section=196 HTTP/1.1
    Host: rest.sandbox.loket.com
    Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123
    
    curl -X GET \
      'http://rest.sandbox.loket.com/seating/seats?id_group=387&id_section=196' \
      -H 'Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123'
    
    {
      "status": true,
      "result": [
        {
          "id_section": 196,
          "id_parent": 195,
          "id_schedule": 358,
          "section_name": "Reguler",
          "section_type": "seating",
          "seat_setting": null,
          "section_image": null,
          "section_mapping": null,
          "legend_image": "",
          "section_level": "",
          "row_count": 8,
          "col_count": 46,
          "status_section": 1,
          "status_section_name": "ACTIVE",
          "groups": [
            {
              "id_group": 387,
              "group_name": "Online Sales III",
              "max_transaction": 5,
              "widget_code": "nbupo665vk1xksw",
              "widget_url": "http://neo.sandbox.loket.com/widget/nbupo665vk1xksw",
              "is_enable_invitation": false,
              "is_enable_coupon": false,
              "currency_code": "IDR",
              "currency_prefix": "Rp. ",
              "seating_type": 1,
              "seating_type_name": "PICK",
              "status_group": 1,
              "status_group_name": "ACTIVE",
              "tickets": [
                {
                  "id_ticket": 561,
                  "id_ticket_type": 519,
                  "ticket_type": "Reguler",
                  "description": "",
                  "start_sale": "2018-09-08 00:00:00",
                  "end_sale": "2020-12-30 00:00:00",
                  "price": 12000,
                  "available": true,
                  "available_qty": 270,
                  "ticket_seating_chart": true,
                  "ticket_color": "#38d923",
                  "hold_end_date": null,
                  "hold_message": null,
                  "status_ticket": 1,
                  "status_ticket_name": "ACTIVE",
                  "tags": []
                }
              ],
              "fees": []
            }
          ],
          "seat": {
            "keys": [
              "id_seating",
              "seat_row",
              "seat_block",
              "seat_number",
              "door",
              "seat_priority",
              "status_seating",
              "status_seating_name",
              "id_tickets"
            ],
            "values": [
              [35347, "BK", "", "0", "A", 1, 0, "BLANK", []],
              [35348, "BK", "", "0", "A", 2, 0, "BLANK", []],
              [35362, "BK", "", "23", "A", 16, 1, "AVAILABLE", [561]],
              [35363, "BK", "", "22", "A", 17, 1, "AVAILABLE", [561]],
              [35364, "BK", "", "21", "A", 18, 1, "AVAILABLE", [561]],
              [35365, "BK", "", "20", "A", 19, 1, "AVAILABLE", [561]]
            ]
          }
        }
      ]
    }
    

    GET /seating/seats

    Key Value Flag
    Authorization HMAC authentication header Required

    Refer to authentication usage here.

    Parameter

    Key Value Flag
    id_group int Required
    id_section int Required

    Orders

    Create Order

    POST /order/create HTTP/1.1
    Host: rest.sandbox.loket.com
    Authorization: HMAC-SHA256 ClientId=id, Timestamp=1544739185, Signature=abc123
    Content-Type: application/json
    {
        "notes": "Place your custom note here",
        "expired_minutes": 15
    }
    
    curl -X POST \
      http://rest.sandbox.loket.com/order/create \
      -H 'Authorization: HMAC-SHA256 ClientId=id, Timestamp=1544739185, Signature=abc123' \
      -H 'Content-Type: application/json' \
      -d '{
          "notes": "Place your custom note here",
          "expired_minutes": 15
      }'
    
    {
      "status": true,
      "result": {
        "notes": "Place your custom note here",
        "expired_minutes": 15,
        "create_time": "2018-12-14 14:51:13",
        "expired_time": "2018-12-14 15:06:13",
        "token": "5c1360f13f6ec"
      }
    }
    

    Initial step to work with another order endpoints, a token will be generated for you.

    POST /order/create

    Key Value Flag
    Authorization HMAC authentication header Required

    Refer to authentication usage here.

    Body

    Key Value Flag
    notes string Optional, Set if you generate your own Order Id
    expired_minutes int Required, min 15, max 180

    Path Reference

    Book Order

    POST /order/book HTTP/1.1
    Host: rest.sandbox.loket.com
    Authorization: HMAC-SHA256 ClientId=id, Timestamp=1544739185, Signature=abc123
    Content-Type: application/json
    {
        "token": "5c1360f13f6ec",
        "orders": [
            {
                "id_ticket": 755,
                "qty": 1
            }
        ]
    }
    
    curl -X POST \
      http://rest.sandbox.loket.com/order/book \
      -H 'Authorization: HMAC-SHA256 ClientId=id, Timestamp=1544739185, Signature=abc123' \
      -H 'Content-Type: application/json' \
      -d '{
        "token": "5c1360f13f6ec",
        "orders": [
            {
                "id_ticket": 755,
                "qty": 1
            }
        ]
    }'
    
    {
      "status": true,
      "result": {
        "id_invoice": 86536,
        "id_order": "4680DEC5O1OXTXY",
        "id_event": 468,
        "id_schedule": 494,
        "id_group": 529,
        "invoice_code": "5O1OXTXY",
        "invoice_date": "2018-12-14 14:51:13",
        "invoice_expired": "2018-12-14 15:06:13",
        "status_invoice": 0,
        "status_invoice_name": "BOOKED",
        "ref": null,
        "invitation_code": null,
        "coupon_code": null,
        "transaction_type": 2,
        "transaction_type_name": "API",
        "id_list_payment": null,
        "payment_name": null,
        "payment_date": null,
        "currency_prefix": "Rp. ",
        "settlement_paid_timestamp": null,
        "invoice_quantity_total": 1,
        "invoice_price_total": 11500,
        "invoice_tax": 0,
        "invoice_fee": 0,
        "insurance_fee": 0,
        "shipping_fee": 0,
        "discount": 0,
        "invoice_payment_total": 11500,
        "custom_form": null,
        "voucher_print": false,
        "voucher_status": false,
        "notes": "Place your custom note here",
        "shipping_method": null,
        "shipping_method_name": null,
        "eticket_url": null,
        "evoucher_url": null,
        "payment_info": null,
        "shipping_info": null,
        "tickets": [
          {
            "id_transaction": 307413,
            "id_ticket": 755,
            "id_promo": 0,
            "ticket_type": "A8",
            "ticket_price": 11500,
            "ticket_quantity": 1,
            "tax": 0,
            "insurance": 0
          }
        ],
        "fees": [],
        "installment_fees": [],
        "attendees": [
          {
            "id_attendee": 845046,
            "id_ticket": 755,
            "id_parent": null,
            "barcode_id": "468035123326959",
            "firstname": null,
            "lastname": null,
            "email": null,
            "telephone": null,
            "identity_id": null,
            "gender": null,
            "gender_name": null,
            "dob": null,
            "arrival_date": null,
            "company": null,
            "position": null,
            "instagram": null,
            "id_seating": null,
            "seat_number": null,
            "seat_door": null,
            "checkin_status": false,
            "associate_id": null,
            "receive_wa_notif": true,
            "evoucher_url": null,
            "checkin_info": null,
            "buy_info": null,
            "childs": []
          }
        ]
      }
    }
    

    This endpoint is used to book a ticket after you generate a token.

    POST /order/book

    Key Value Flag
    Authorization HMAC authentication header Required

    Refer to authentication usage here.

    Body

    Key Value Flag
    token string Required
    id_ticket int Required
    qty int Required
    id_seating int Optional

    Important Path Reference

    Order Attendee

    POST /order/attendee HTTP/1.1
    Host: rest.sandbox.loket.com
    Authorization: HMAC-SHA256 ClientId=id, Timestamp=1544739185, Signature=abc123
    Content-Type: application/json
    {
        "token": "5c1360f13f6ec",
        "expired_minutes": 180,
        "attendees":[
            {
              "id_attendee": "845046",
              "firstname": "John",
              "lastname": "Doe",
              "email": "john.doe@example.com",
              "telephone": "0123456789",
              "identity_id": "1234",
              "gender": 1,
              "dob": "1992-12-30"
            }
        ]
    }
    
    curl -X POST \
      http://rest.sandbox.loket.com/order/attendee \
      -H 'Authorization: HMAC-SHA256 ClientId=id, Timestamp=1544739185, Signature=abc123' \
      -H 'Content-Type: application/json' \
      -d '{
        "token": "5c1360f13f6ec",
        "expired_minutes": 180,
        "attendees":[
            {
              "id_attendee": "845046",
              "firstname": "John",
              "lastname": "Doe",
              "email": "john.doe@example.com",
              "telephone": "0123456789",
              "identity_id": "1234",
              "gender": 1,
              "dob": "1992-12-30"
            }
        ]
      }'
    
    {
      "status": true,
      "result": {
        "id_invoice": 86536,
        "id_order": "4680DEC5O1OXTXY",
        "id_event": 468,
        "id_schedule": 494,
        "id_group": 529,
        "invoice_code": "5O1OXTXY",
        "invoice_date": "2018-12-14 14:51:13",
        "invoice_expired": "2018-12-14 17:51:13",
        "status_invoice": 0,
        "status_invoice_name": "BOOKED",
        "ref": null,
        "invitation_code": null,
        "coupon_code": null,
        "transaction_type": 2,
        "transaction_type_name": "API",
        "id_list_payment": null,
        "payment_name": null,
        "payment_date": null,
        "currency_prefix": "Rp. ",
        "settlement_paid_timestamp": null,
        "invoice_quantity_total": 1,
        "invoice_price_total": 11500,
        "invoice_tax": 0,
        "invoice_fee": 0,
        "insurance_fee": 0,
        "shipping_fee": 0,
        "discount": 0,
        "invoice_payment_total": 11500,
        "custom_form": null,
        "voucher_print": false,
        "voucher_status": false,
        "notes": "Place your custom note here",
        "shipping_method": null,
        "shipping_method_name": null,
        "eticket_url": null,
        "evoucher_url": null,
        "payment_info": null,
        "shipping_info": null,
        "tickets": [
          {
            "id_transaction": 307413,
            "id_ticket": 755,
            "id_promo": 0,
            "ticket_type": "A8",
            "ticket_price": 11500,
            "ticket_quantity": 1,
            "tax": 0,
            "insurance": 0
          }
        ],
        "fees": [],
        "installment_fees": [],
        "attendees": [
          {
            "id_attendee": 845046,
            "id_ticket": 755,
            "id_parent": null,
            "barcode_id": "468035123326959",
            "firstname": "John",
            "lastname": "Doe",
            "email": "john.doe@example.com",
            "telephone": "0123456789",
            "identity_id": "1234",
            "gender": 1,
            "gender_name": "MALE",
            "dob": "1992-12-30",
            "arrival_date": null,
            "company": null,
            "position": null,
            "instagram": null,
            "id_seating": null,
            "seat_number": null,
            "seat_door": null,
            "checkin_status": false,
            "associate_id": null,
            "receive_wa_notif": true,
            "evoucher_url": null,
            "checkin_info": null,
            "buy_info": null,
            "childs": []
          }
        ]
      }
    }
    

    Create an attendee which is assigned to an existing booking order.

    POST /order/attendee

    Key Value Flag
    Authorization HMAC authentication header Required

    Refer to authentication usage here.

    Body

    Key Value Flag
    token string Required
    expired_minutes string Optional
    id_attendee int Required
    firstname string Required, Attendee Field, max 100
    lastname string Required, Attendee Field, max 100
    email string Required, Attendee Field, max 100
    telephone int Required, Attendee Field, max 20
    identity_id int Optional, Attendee Field, max 30
    dob date Optional, Attendee Field
    gender int Optional, Attendee Field
    company string Optional, Attendee Field, max 255
    position string Optional, Attendee Field, max 255
    instagram string Optional, Attendee Field, max 255
    arrival_date date Optional, Attendee Field

    Path Reference

    Confirm Order

    POST /order/confirm HTTP/1.1
    Host: rest.sandbox.loket.com
    Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123
    Content-Type: application/json
    
    {
        "token": "5c1360f13f6ec",
        "id_list_payment": 999,
        "price_total": "205000",
        "send_email": 1
    }
    
    curl -X POST \
      http://rest.sandbox.loket.com/order/confirm \
      -H 'Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123' \
      -H 'Content-Type: application/json' \
      -d '{
        "token": "5c1360f13f6ec",
        "id_list_payment": 999,
        "price_total": "205000",
        "send_email": 0
      }'
    
    {
      "status": true,
      "result": {
        "id_invoice": 86536,
        "id_order": "4680DEC5O1OXTXY",
        "id_event": 468,
        "id_schedule": 494,
        "id_group": 529,
        "invoice_code": "5O1OXTXY",
        "invoice_date": "2018-12-14 14:51:13",
        "invoice_expired": "2018-12-15 14:51:13",
        "status_invoice": 5,
        "status_invoice_name": "PAID",
        "ref": null,
        "invitation_code": null,
        "coupon_code": null,
        "transaction_type": 2,
        "transaction_type_name": "API",
        "id_list_payment": 999,
        "payment_name": "Cash Affiliate",
        "payment_date": null,
        "currency_prefix": "Rp. ",
        "settlement_paid_timestamp": "2018-12-14 14:51:31",
        "invoice_quantity_total": 1,
        "invoice_price_total": 11500,
        "invoice_tax": 0,
        "invoice_fee": 0,
        "insurance_fee": 0,
        "shipping_fee": 0,
        "discount": 0,
        "invoice_payment_total": 11500,
        "custom_form": null,
        "voucher_print": false,
        "voucher_status": false,
        "notes": "Place your custom note here",
        "shipping_method": null,
        "shipping_method_name": null,
        "eticket_url": "http://neo.sandbox.loket.com/eticket/86536",
        "evoucher_url": "http://neo.sandbox.loket.com/evoucher/835bc66e7d2f6083601d54076ae4be85",
        "payment_info": null,
        "shipping_info": null,
        "tickets": [
          {
            "id_transaction": 307413,
            "id_ticket": 755,
            "id_promo": 0,
            "ticket_type": "A8",
            "ticket_price": 11500,
            "ticket_quantity": 1,
            "tax": 0,
            "insurance": 0
          }
        ],
        "fees": [],
        "installment_fees": [],
        "attendees": [
          {
            "id_attendee": 845046,
            "id_ticket": 755,
            "id_parent": null,
            "barcode_id": "468035123326959",
            "firstname": "John",
            "lastname": "Doe",
            "email": "john.doe@example.com",
            "telephone": "0123456789",
            "identity_id": "1234",
            "gender": 1,
            "gender_name": "MALE",
            "dob": "1992-12-30",
            "arrival_date": null,
            "company": null,
            "position": null,
            "instagram": null,
            "id_seating": null,
            "seat_number": null,
            "seat_door": null,
            "checkin_status": false,
            "associate_id": null,
            "receive_wa_notif": true,
            "evoucher_url": "http://neo.sandbox.loket.com/evoucher/835bc66e7d2f6083601d54076ae4be85/bG9rZXRfODQ1MDQ2",
            "checkin_info": null,
            "buy_info": null,
            "childs": []
          }
        ]
      }
    }
    

    This endpoint is the final step if you wish to confirm an order.

    POST /order/confirm

    Key Value Flag
    Authorization HMAC authentication header Required

    Refer to authentication usage here.

    Body

    Key Value Flag
    token string Required
    id_list_payment int Required
    price_total int Required
    send_email bool Optional, default 1

    Unbook Order

    POST /order/unbook HTTP/1.1
    Host: rest.sandbox.loket.com
    Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123
    Content-Type: application/json
    
    {
        "token": "5c1360f13f6ec",
        "id_ticket": "755",
        "qty": 1
    }
    
    curl -X POST \
      http://rest.sandbox.loket.com/order/unbook \
      -H 'Authorization: HMAC-SHA256 ClientId=id, Timestamp=1544739185, Signature=abc123' \
      -H 'Content-Type: application/json' \
      -d '{
        "token": "5c1360f13f6ec",
        "id_ticket": "755",
        "qty": 1
      }'
    
    {
      "status": true,
      "result": {
        "id_invoice": 86548,
        "id_order": "4680DECPWFQWTXY",
        "id_event": 468,
        "id_schedule": 494,
        "id_group": 529,
        "invoice_code": "PWFQWTXY",
        "invoice_date": "2018-12-14 15:27:22",
        "invoice_expired": "2018-12-14 15:42:22",
        "status_invoice": 0,
        "status_invoice_name": "BOOKED",
        "ref": null,
        "invitation_code": null,
        "coupon_code": null,
        "transaction_type": 2,
        "transaction_type_name": "API",
        "id_list_payment": null,
        "payment_name": null,
        "payment_date": null,
        "currency_prefix": "Rp. ",
        "settlement_paid_timestamp": null,
        "invoice_quantity_total": 0,
        "invoice_price_total": 0,
        "invoice_tax": 0,
        "invoice_fee": 0,
        "insurance_fee": 0,
        "shipping_fee": 0,
        "discount": 0,
        "invoice_payment_total": 0,
        "custom_form": null,
        "voucher_print": false,
        "voucher_status": false,
        "notes": "Place your custom note here",
        "shipping_method": null,
        "shipping_method_name": null,
        "eticket_url": null,
        "evoucher_url": null,
        "payment_info": null,
        "shipping_info": null,
        "tickets": [],
        "fees": [],
        "installment_fees": [],
        "attendees": []
      }
    }
    

    This endpoint is used if you want to unbook an order and the ticket quantity will be released.

    POST /order/unbook

    Key Value Flag
    Authorization HMAC authentication header Required

    Refer to authentication usage here.

    Body

    Key Value Flag
    token string Required
    id_ticket int Required
    qty int Optional
    id_seating int Optional

    Order Status

    GET /order?token=5c1360f13f6ec&amp;id_list_payment=999 HTTP/1.1
    Host: rest.sandbox.loket.com
    Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123
    
    curl -X GET \
      'http://rest.sandbox.loket.com/order?token=5c1360f13f6ec&id_list_payment=999' \
      -H 'Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123'
    
    {
      "status": true,
      "result": {
        "notes": "Custom message here",
        "expired_minutes": 180,
        "create_time": "2018-09-04 17:04:36",
        "expired_time": "2018-09-04 20:04:36",
        "token": "5b8e58b433f3e",
        "invoice": {
          "id_invoice": 75504,
          "id_order": "8100SEPVFWCUUWY",
          "id_event": 81,
          "id_schedule": 91,
          "id_group": 114,
          "invoice_code": "VFWCUUWY",
          "invoice_date": "2018-09-04 17:04:36",
          "invoice_expired": "2018-09-05 17:04:36",
          "status_invoice": 0,
          "status_invoice_name": "BOOKED",
          "ref": null,
          "invitation_code": null,
          "coupon_code": null,
          "transaction_type": 2,
          "transaction_type_name": "API",
          "id_list_payment": 999,
          "payment_name": "Cash",
          "payment_date": null,
          "currency_prefix": "Rp. ",
          "settlement_paid_timestamp": null,
          "invoice_quantity_total": 2,
          "invoice_price_total": 200000,
          "invoice_tax": 0,
          "invoice_fee": 0,
          "insurance_fee": 0,
          "shipping_fee": 0,
          "discount": 0,
          "invoice_payment_total": 205000,
          "custom_form": null,
          "voucher_print": false,
          "voucher_status": false,
          "notes": "Custom message here",
          "shipping_method": null,
          "shipping_method_name": null,
          "eticket_url": null,
          "evoucher_url": null,
          "payment_info": null,
          "shipping_info": null,
          "tickets": [
            {
              "id_transaction": 294669,
              "id_ticket": 270,
              "id_promo": null,
              "ticket_type": "VIP Lorem",
              "ticket_price": 100000,
              "ticket_quantity": 2,
              "tax": 0,
              "insurance": 0
            }
          ],
          "fees": [
            {
              "id_invoice_fee": 2357,
              "id_invoice_cost": 6,
              "cost_name": "Donation",
              "nominal": 1500,
              "cost_percent": 1,
              "total": 5000
            }
          ],
          "installment_fees": [],
          "attendees": [
            {
              "id_attendee": 827157,
              "id_ticket": 270,
              "id_parent": null,
              "barcode_id": "810095803298157",
              "firstname": "John",
              "lastname": "Doe",
              "email": "john.doe@example.com",
              "telephone": "0123456789",
              "identity_id": "1234",
              "gender": 1,
              "gender_name": "MALE",
              "dob": "1992-12-30",
              "arrival_date": null,
              "company": null,
              "position": null,
              "instagram": null,
              "id_seating": null,
              "seat_number": null,
              "seat_door": null,
              "checkin_status": false,
              "associate_id": null,
              "receive_wa_notif": true,
              "evoucher_url": null,
              "checkin_info": null,
              "buy_info": null,
              "childs": [
                {
                  "id_attendee": 827159,
                  "id_ticket": 270,
                  "id_parent": 827157,
                  "barcode_id": "810098442936922",
                  "firstname": null,
                  "lastname": null,
                  "email": null,
                  "telephone": null,
                  "identity_id": null,
                  "gender": null,
                  "gender_name": null,
                  "dob": null,
                  "arrival_date": null,
                  "company": null,
                  "position": null,
                  "instagram": null,
                  "id_seating": null,
                  "seat_number": null,
                  "seat_door": null,
                  "checkin_status": false,
                  "associate_id": null,
                  "receive_wa_notif": true,
                  "evoucher_url": null,
                  "checkin_info": null,
                  "buy_info": {
                    "firstname": "John",
                    "lastname": "Doe",
                    "email": "john.doe@example.com",
                    "telephone": "0123456789",
                    "identity_id": "1234",
                    "gender": 1,
                    "gender_name": "MALE",
                    "dob": 725648400
                  },
                  "childs": []
                }
              ]
            }
          ]
        }
      }
    }
    

    This endpoint is used to check you order status.

    GET /order

    Key Value Flag
    Authorization HMAC authentication header Required

    Refer to authentication usage here.

    Parameter

    Key Value Flag
    token string Required
    id_list_payment int Optional

    Invoice

    Invoice List

    GET /invoice/list HTTP/1.1
    Host: rest.sandbox.loket.com
    Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123
    
    curl -X GET \
      http://rest.sandbox.loket.com/invoice/list \
      -H 'Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123'
    
    {
      "status": true,
      "result": {
        "details": [
          {
            "id_invoice": 86476,
            "id_order": "4680DECVYWGVSXY",
            "id_event": 468,
            "id_schedule": 494,
            "id_group": 529,
            "invoice_code": "VYWGVSXY",
            "invoice_date": "2018-12-14 09:54:30",
            "invoice_expired": "2018-12-14 12:54:30",
            "status_invoice": 6,
            "status_invoice_name": "EXPIRED BOOKING",
            "ref": null,
            "invitation_code": null,
            "coupon_code": null,
            "transaction_type": 2,
            "transaction_type_name": "API",
            "id_list_payment": null,
            "payment_name": null,
            "payment_date": null,
            "currency_prefix": "Rp. ",
            "settlement_paid_timestamp": null,
            "invoice_quantity_total": 1,
            "invoice_price_total": 11500,
            "invoice_tax": 0,
            "invoice_fee": 0,
            "insurance_fee": 0,
            "shipping_fee": 0,
            "discount": 0,
            "invoice_payment_total": 11500,
            "custom_form": null,
            "voucher_print": false,
            "voucher_status": false,
            "notes": "Place your custom note here",
            "shipping_method": null,
            "shipping_method_name": null,
            "eticket_url": null,
            "evoucher_url": null,
            "payment_info": null,
            "shipping_info": null
          },
          {
            "id_invoice": 86536,
            "id_order": "4680DEC5O1OXTXY",
            "id_event": 468,
            "id_schedule": 494,
            "id_group": 529,
            "invoice_code": "5O1OXTXY",
            "invoice_date": "2018-12-14 14:51:13",
            "invoice_expired": "2018-12-15 14:51:13",
            "status_invoice": 5,
            "status_invoice_name": "PAID",
            "ref": null,
            "invitation_code": null,
            "coupon_code": null,
            "transaction_type": 2,
            "transaction_type_name": "API",
            "id_list_payment": 21,
            "payment_name": "Cash Affiliate",
            "payment_date": null,
            "currency_prefix": "Rp. ",
            "settlement_paid_timestamp": "2018-12-14 14:51:31",
            "invoice_quantity_total": 1,
            "invoice_price_total": 11500,
            "invoice_tax": 0,
            "invoice_fee": 0,
            "insurance_fee": 0,
            "shipping_fee": 0,
            "discount": 0,
            "invoice_payment_total": 11500,
            "custom_form": null,
            "voucher_print": false,
            "voucher_status": false,
            "notes": "Place your custom note here",
            "shipping_method": null,
            "shipping_method_name": null,
            "eticket_url": "http://neo.sandbox.loket.com/eticket/86536",
            "evoucher_url": "http://neo.sandbox.loket.com/evoucher/835bc66e7d2f6083601d54076ae4be85",
            "payment_info": null,
            "shipping_info": null
          }
        ],
        "summary": {
          "invoice_count": 6,
          "page_count": 1
        }
      }
    }
    

    GET /invoice/list

    Key Value Flag
    Authorization HMAC authentication header Required

    Refer to authentication usage here.

    Parameter

    Key Value Flag
    id_invoice int Optional
    id_order int Optional
    id_event int Optional
    id_schedule int Optional
    id_group int Optional
    status_invoice int Optional
    invoice_code string Optional
    notes string Optional
    page int Optional
    per_page int Optional

    Invoice Detail

    GET /invoice/86536 HTTP/1.1
    Host: rest.sandbox.loket.com
    Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123
    
    curl -X GET \
      http://rest.sandbox.loket.com/invoice/86536 \
      -H 'Authorization: HMAC-SHA256 ClientId=id, Timestamp=123, Signature=abc123'
    
    {
      "status": true,
      "result": {
        "id_invoice": 86536,
        "id_order": "4680DEC5O1OXTXY",
        "id_event": 468,
        "id_schedule": 494,
        "id_group": 529,
        "invoice_code": "5O1OXTXY",
        "invoice_date": "2018-12-14 14:51:13",
        "invoice_expired": "2018-12-15 14:51:13",
        "status_invoice": 5,
        "status_invoice_name": "PAID",
        "ref": null,
        "invitation_code": null,
        "coupon_code": null,
        "transaction_type": 2,
        "transaction_type_name": "API",
        "id_list_payment": 99,
        "payment_name": "Cash Affiliate",
        "payment_date": null,
        "currency_prefix": "Rp. ",
        "settlement_paid_timestamp": "2018-12-14 14:51:31",
        "invoice_quantity_total": 1,
        "invoice_price_total": 11500,
        "invoice_tax": 0,
        "invoice_fee": 0,
        "insurance_fee": 0,
        "shipping_fee": 0,
        "discount": 0,
        "invoice_payment_total": 11500,
        "custom_form": null,
        "voucher_print": false,
        "voucher_status": false,
        "notes": "Place your custom note here",
        "shipping_method": null,
        "shipping_method_name": null,
        "eticket_url": "http://neo.sandbox.loket.com/eticket/86536",
        "evoucher_url": "http://neo.sandbox.loket.com/evoucher/835bc66e7d2f6083601d54076ae4be85",
        "payment_info": null,
        "shipping_info": null,
        "tickets": [
          {
            "id_transaction": 307413,
            "id_ticket": 755,
            "id_promo": 0,
            "ticket_type": "A8",
            "ticket_price": 11500,
            "ticket_quantity": 1,
            "tax": 0,
            "insurance": 0
          }
        ],
        "fees": [],
        "installment_fees": [],
        "attendees": [
          {
            "id_attendee": 845046,
            "id_ticket": 755,
            "id_parent": null,
            "barcode_id": "468035123326959",
            "firstname": "John",
            "lastname": "Doe",
            "email": "john.doe@example.com",
            "telephone": "0123456789",
            "identity_id": "1234",
            "gender": 1,
            "gender_name": "MALE",
            "dob": "1992-12-30",
            "arrival_date": null,
            "company": null,
            "position": null,
            "instagram": null,
            "id_seating": null,
            "seat_number": null,
            "seat_door": null,
            "checkin_status": false,
            "associate_id": null,
            "receive_wa_notif": true,
            "evoucher_url": "http://neo.sandbox.loket.com/evoucher/835bc66e7d2f6083601d54076ae4be85/bG9rZXRfODQ1MDQ2",
            "checkin_info": null,
            "buy_info": null,
            "childs": []
          }
        ]
      }
    }
    

    GET /invoice/<id_invoice>

    Key Value Flag
    Authorization HMAC authentication header Required

    Refer to authentication usage here.

    Glossary

    Structure

    1. Event may contain one or more Schedules
    2. Schedules may contain one or more Ticket Groups
    3. Ticket Groups may contain one or more Tickets

    Status References

    Event status

    status_event status_event_name
    1 ACTIVE
    2 INACTIVE
    3 DELETED
    4 DRAFT
    5 NOT STARTED

    Invoice status

    status_invoice status_invoice_name
    0 BOOKED
    1 UNPAID
    2 PENDING
    3 CHALLENGE
    4 CONFIRMED
    5 PAID
    6 EXPIRED BOOKING
    7 EXPIRED PAYMENT
    8 N/A
    9 CANCEL
    10 REFUND
    11 RESERVED
    12 DELETED
    13 REFUNDED

    Ticket status

    status_ticket status_ticket_name
    1 ACTIVE
    2 INACTIVE
    3 SOLD OUT
    4 FULL BOOKED
    5 NOT STARTED
    6 SALE ENDED
    7 HOLD

    Seat status

    status_seating status_seating_name
    0 BLANK
    1 AVAILABLE
    2 PICK
    3 NOT AVAILABLE
    4 BOOK
    5 TAKEN
    6 RESERVED
    7 ERROR

    Error Codes

    {
      "status": false,
      "result": {
        "error_code": 123,
        "error_message": "abc"
      }
    }
    

    Below is a list of possible error codes.

    Generic

    HTTP error_code error_message
    400 4001 Input not valid.
    401 4002 Unauthorized.
    401 4003 Invalid signature.
    406 4005 Signature expired.
    406 4005 Request not acceptable.
    403 4006 Access denied.
    404 4007 Entity :entity with id :id not found.
    400 4008 Invalid status :status_name(:status) for entity :entity with id :id.
    400 4009 Entity :entity with id :id already exists.
    400 4010 Require field :field.
    400 4011 File size is too large. Max file size is :max_size.
    400 4012 Type of :mime_type for file :field is not accepted.
    400 4013 Image size for :field is not acceptable. Image max width is :width_max and max height is :height_max.
    400 4014 Failed to create response
    500 5001 API Loket-Core error.
    500 5002 API Loket-Core error related with database.

    Invitation

    HTTP error_code error_message
    400 40601 Invitation for :group_name(:id_group) is disabled.
    400 40602 Invalid invitation code :invitation_code in :group_name(:id_group).
    400 40603 Quota for invitation code :invitation_code is out of limit.
    400 40604 Could not use invitation code :invitation_code because status is :status_invitation_name(:status_invitation).
    400 40606 Invitation code :invitation_code only can use between :start_date_display and :end_date_display.
    400 40607 Invalid configuration applied_to for invitation code :invitation_code.
    400 40608 Invalid configuration fieldby for invitation code :invitation_code.

    Invoice

    HTTP error_code error_message
    400 40201 Could not get ticket :ticket_type(:id_ticket) because ticket state is :status_ticket_name(:status_ticket).
    400 40202 Could not get ticket :ticket_type(:id_ticket) because ticket quantity is insufficient.
    400 40203 :group_name(:id_group) need invitation to book.
    500 40204 Failed to calculate payment total. Payment total should grather than equal to 0.
    400 40205 Sorry, shipping courier :shipping_courier is not supported.
    400 40206 Could not set shipping because invoice status is :status_invoice_name(:status_invoice).
    400 40207 Could not unset shipping because invoice status is :status_invoice_name(:status_invoice).
    400 40208 Could not confirm payment because invoice status is :status_invoice_name(:status_invoice).
    400 40209 Could not use payment :payment_name(:id_list_payment) in selected invoice.
    400 40210 Could not set to paid because status is :status_invoice_name(:status_invoice).
    400 40211 Could not set to expired booking because status is :status_invoice_name(:status_invoice).
    400 40212 Could not set to expired payment because status is :status_invoice_name(:status_invoice).
    400 40213 Could not set to cancel because status is :status_invoice_name(:status_invoice).

    Order

    HTTP error_code error_message
    500 40101 Could not create order.
    404 40102 Order with token :token is not found.
    400 40103 Empty order.
    400 40104 Require field :field #:index.
    400 40105 Found duplicate request #:index1 with #:index2.
    400 40106 Invalid invitation code :invitation_code in :group_name(:id_group).
    400 40107 Invalid coupon code :coupon_code in :group_name(:id_group).
    400 40108 Could not re-book because invoice status is :status_invoice_name(:status_invoice).
    400 40109 Invoice only handle 1 group ticket. Please set ticket with group :group_name(:id_group).
    400 40110 Could not book ticket :ticket_type(:id_ticket) because ticket state is :status_ticket_name(:status_ticket).
    403 40111 API for :group_name(:id_group) has disabled or expired.
    400 40112 Maximum ticket quantity for :group_name(:id_group) is :max_transaction in one transaction.
    400 40113 Empty attendee.
    404 40114 Attendee #:id_attendee not found in Invoice #:id_invoice
    400 40115 Member registration maximum quantity is :quantity.
    404 40116 Member #:id_member not found in Invoice #:id_invoice
    400 40117 Member #:id_member is invalid status member :status_member_name(:status_member).
    400 40118 Could not unbook because it have not ordered yet.
    400 40119 Could not unbook because invoice status is :status_invoice_name(:status_invoice).
    400 40120 Could not unbook because ticket :ticket_type(:id_ticket) not match and seating :seating_name(:id_seating).
    400 40121 Unbook error, attendee with seating :seating_name(:id_seating) is not found.
    400 40122 Could not set attendee because it have not ordered yet.
    400 40123 Could not set attendee because invoice status is :status_invoice_name(:status_invoice).
    400 40124 Could not set shipping because it have not ordered yet.
    400 40125 Could not shipping because invoice status is :status_invoice_name(:status_invoice).
    400 40126 Could not unset shipping because it have not ordered yet.
    400 40127 Could not unset shipping payment because invoice status is :status_invoice_name(:status_invoice).
    400 40128 Could not confirm the order because it have not ordered yet.
    400 40129 Minimum ticket quantity for :group_name(:id_group) is :ticket_minimum in one transaction.
    400 40130 Could not confirm payment because invoice status is :status_invoice_name(:status_invoice).
    400 40131 Could not confirm payment because invoice price total :price_total is not match with expected payment :invoice_payment_total.
    400 40132 Could not confirm because attendee is not found.
    400 40133 Could not confirm because :field of attendee is not set.
    501 40134 Sorry, payment :payment_name(:id_list_payment) is not supported.
    400 40135 Your email (:email) is already registered. Please use another email to purchase the ticket.
    400 40136 Cannot book multiple ticket types in one order.

    Seating

    HTTP error_code error_message
    400 40501 Failed to book seat :seating_name(:id_seating).
    400 40502 Booked seat :seating_name(:id_seating) quantity is should 1. It's booked :quantity seats.
    400 40503 Booked seat :seating_name(:id_seating) is not match with request seat.
    400 40504 Booked seat :seating_name(:id_seating) is not match with request attendee.
    400 40505 Failed to unbook seat :seating_name(:id_seating).
    400 40506 Unbook seat :seating_name(:id_seating) quantity is should 1. It's unbooked :quantity seats.
    400 40507 Unbooked seat :seating_name(:id_seating) is not match with request seat.
    400 40508 Unbooked seat :seating_name(:id_seating) is not match with request attendee.
    400 40509 Failed to take seat :seating_name(:id_seating).
    400 40510 Take seat :seating_name(:id_seating) quantity is should 1. It's taken :quantity seats.
    400 40511 Taken seat :seating_name(:id_seating) is not match with request seat.
    400 40512 Taken seat :seating_name(:id_seating) is not match with request attendee.
    400 40513 Could not found attendee for seat :seating_name(:id_seating) in related order.
    500 40514 Sorry, system could not found available seat for ticket :ticket_type(:id_ticket).
    400 40515 Ticket for seat :seating_name(:id_seating) is not found.
    400 40516 Please set ticket for seat :seating_name(:id_seating).
    400 40517 Could not book seat :seating_name(:id_seating) because seat is :seating_status_name(:seating_status) state.
    400 40518 Ticket for seat :seating_name(:id_seating) is not found.
    400 40519 Please set ticket for seat :seating_name(:id_seating).
    400 40520 Could not unbook seat :seating_name(:id_seating) because seat is :seating_status_name(:seating_status) state.
    400 40421 Ticket for seat :seating_name(:id_seating) is not found.
    400 40522 Please set ticket for seat :seating_name(:id_seating).
    400 40523 Could not take seat :seating_name(:id_seating) because seat is :seating_status_name(:seating_status) state.
    400 40524 Could not take seat :seating_name(:id_seating) because attendee is not set.

    Changelogs

    May 2019

    Apr 2019

    Jan 2019

    Dec 2018

    Aug 2018

    Mar 2018

    Before Current
    Bool 0 (female) & 1 (male) 0 (female) & 1 (male)
    1 (male) & 2 (female)
    Section Summary
    Event Categories Get event categories
    Event Segments Get event segments