Common Header

This section describes the parameters of the request header commonly used in the Commercial Laundry API.

Header Parameter

All API requests must include the following information in the header:

Information on header parameters

Name

Type

Required 

Description

x-service-id

string

Mandatory

Service ID included in DEV_SERVICE_CONFIG or PRODUCT_SERVICE_CONFIG 

Must be issued from LG in advance.

  • DEV_SERVICE_CONFIG: Issued when the service creation request is completed 
  • PRODUCT_SERVICE_CONFIG: Issued when the service certification request is completed

x-service-key

string

Mandatory

Service Key included in DEV_SERVICE_CONFIG or PRODUCT_SERVICE_CONFIG

x-message-id

string

Mandatory

The value for tracing the target request 

x-country-code

string

Mandatory

The country code in which to provide the service

Use the ISO country code (e.g. KR, US, ...).

x-api-key

string

Mandatory

API Key value required for API use

Must be issued from LG in advance.

x-thinq-client-type

string

Mandatory

The type of client connecting to the ThinQ platform server 

Must enter the following value:

  • SERVER: Partner's service server

x-service-phase

string

Mandatory

Server phase

Must enter one of the following values:

  • OP: Operation 
  • QA: Development and Test

Authorization

string Mandatory

Authentication token

For details, see Authentication.

Example

Content-Type: application/x-www-form-urlencoded

x-service-id: abab90a800033addb66821d4

x-service-key: abababababJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzZXJ2aWNlSWQiOiI3YmRhOTBhODAwMDMzYWRkYjY2ODIxZDQiLCJ0b2tlblNlZWQiOiI1Zjc2MWQwMDU2YmE4NWJkIiwidGltZSI6MTYwNzMyMDA5Mn0.qj6wTknmFeiuYSFMd8nkXf7AvetBL0Qxqnv48CMPfrU

x-api-key: abababababababababbababbabbababababababxBp5

x-country-code: KR

x-service-phase: QA

x-thinq-client-type: SERVER

Authorization: eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwia2lkIjoiVEdYWExXcmQ0bG42bnhubEZ5OVFlVnZPMTlCTkd2dmNqSDlJU3VWVVpkUSIsInR5cCI6IkpXRSJ9.hfBRxEHwG0Xeutr51zXyxHWpqzvhu3xepLdsxM96mM9bQKkazuQgHQVOcRWLAS-A0aFXjyzOWW7GtWLT_oOJBiYUoVQ-i3xxKABAE5TijPjvnkM3kXB7J6knLw1Wh4xxFbl8AuIynNMMfrRZUFvPVLPFn2DRw4f6pE2-upg1tYBO77YNDDXPUQPP3yMEihS2e2VYI-cKiBpgQaK0YvHHn1jBPJy-5ND0O0KXj8rSCTC0LaJkUsmLCVZoelUrOHZtMzRqg-s5YtQ0Ju8JtzFuejfDoNdEll3d7ThfJ0KXHyyDOBeQWF-j6Y7NJ9_AOTjk9RpLX18T1tPO5KWcpb1Okw.F93UfH9k8ILKAMuGnt64ew.0SFDOmtZS6LaFcREXfjWqLOUYQ9F15Ey9xANrLTW6cWoo9noLkXHEcPQvgVX-yRAIaaPEODylhDBYy4d-0i1JRMiRrKxKxtzS4Fzn9DJPm73L1KY_24EdbQXkBDpeTML03_I3oKA8z5b9NAfVg653lunhJIK5leHCFkib4wgLUw.SSZIIg8mNJgK8-EG4meo9JqbXC7dQV3hE8zIcc52BZ8