Get Organizations
DevelopingGET
/empeo/api/v1/masters/organizationsRequest
Query Params
CompanyName
string
required
Example:
โกไฟว์ จำกัด
Header Params
Ocp-Apim-Subscription-Key
string
required
Api subscription key get from the OpenAPI integration setting page
Example:
WPe123a9RKbcfLQNSztr45
Authorization
string
required
Authorization credential utilized in API requests
Example:
bearer {token}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"status": {
"code": "1000",
"description": "Success"
},
"data": [
{
"organizationId": 14903,
"name": "empeo Dev Test",
"name_EN": "empeo Dev Test",
"levels": 1,
"levelName": "กลุ่มบริษัท",
"parentOrgName": null,
"code": "99999",
"parentId": 0,
"dateModified": "2023-10-04T15:28:56.513",
"modifiedBy": "f79f65fe-45c7-4368-a935-ea77762f59ce"
},
{
"organizationId": 14912,
"name": "บริหาร",
"name_EN": "management",
"levels": 2,
"levelName": "ฝ่าย",
"parentOrgName": "empeo Dev Test",
"code": "10070",
"parentId": 14903,
"dateModified": "2023-08-21T17:09:27.89",
"modifiedBy": "f79f65fe-45c7-4368-a935-ea77762f59ce"
},
{
"organizationId": 14906,
"name": "คลังสินค้า",
"name_EN": "warehouse",
"levels": 2,
"levelName": "ฝ่าย",
"parentOrgName": "empeo Dev Test",
"code": "10030",
"parentId": 14903,
"dateModified": "2023-04-03T10:04:48.84",
"modifiedBy": "f79f65fe-45c7-4368-a935-ea77762f59ce"
},
{
"organizationId": 14909,
"name": "การตลาด",
"name_EN": "marketing",
"levels": 2,
"levelName": "ฝ่าย",
"parentOrgName": "empeo Dev Test",
"code": "10060",
"parentId": 14903,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 19843,
"name": "เทคโนโลยีสารสนเทศ",
"name_EN": "Information Technology",
"levels": 2,
"levelName": "ฝ่าย",
"parentOrgName": "empeo Dev Test",
"code": "Tech001",
"parentId": 14903,
"dateModified": "2023-03-30T16:08:45.673",
"modifiedBy": "f79f65fe-45c7-4368-a935-ea77762f59ce"
},
{
"organizationId": 14904,
"name": "บัญชี",
"name_EN": "Accounting_EN",
"levels": 2,
"levelName": "ฝ่าย",
"parentOrgName": "empeo Dev Test",
"code": "10010",
"parentId": 14903,
"dateModified": "2023-03-27T18:40:28.207",
"modifiedBy": "f79f65fe-45c7-4368-a935-ea77762f59ce"
},
{
"organizationId": 29297,
"name": "test",
"name_EN": "test",
"levels": 2,
"levelName": "ฝ่าย",
"parentOrgName": "empeo Dev Test",
"code": "test",
"parentId": 14903,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 29322,
"name": "twesat",
"name_EN": "trewtr",
"levels": 2,
"levelName": "ฝ่าย",
"parentOrgName": "empeo Dev Test",
"code": "test",
"parentId": 14903,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 29323,
"name": "erte",
"name_EN": "tretret",
"levels": 2,
"levelName": "ฝ่าย",
"parentOrgName": "empeo Dev Test",
"code": "test",
"parentId": 14903,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 29324,
"name": "rtrt",
"name_EN": "ertretet",
"levels": 2,
"levelName": "ฝ่าย",
"parentOrgName": "empeo Dev Test",
"code": "test",
"parentId": 14903,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 29349,
"name": "test",
"name_EN": "test",
"levels": 2,
"levelName": "ฝ่าย",
"parentOrgName": "empeo Dev Test",
"code": "test423",
"parentId": 14903,
"dateModified": "2023-09-29T17:28:19.337",
"modifiedBy": "f79f65fe-45c7-4368-a935-ea77762f59ce"
},
{
"organizationId": 29350,
"name": "ewt",
"name_EN": "ewr",
"levels": 2,
"levelName": "ฝ่าย",
"parentOrgName": "empeo Dev Test",
"code": "testrewrewrrew",
"parentId": 14903,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 29351,
"name": "ewrewrwrwr",
"name_EN": "werw",
"levels": 2,
"levelName": "ฝ่าย",
"parentOrgName": "empeo Dev Test",
"code": "erewraeae",
"parentId": 14903,
"dateModified": "2023-09-29T17:36:37.18",
"modifiedBy": "f79f65fe-45c7-4368-a935-ea77762f59ce"
},
{
"organizationId": 29321,
"name": "test",
"name_EN": "test",
"levels": 2,
"levelName": "ฝ่าย",
"parentOrgName": "empeo Dev Test",
"code": "test",
"parentId": 14903,
"dateModified": "2023-09-29T16:24:38.51",
"modifiedBy": "f79f65fe-45c7-4368-a935-ea77762f59ce"
},
{
"organizationId": 29362,
"name": "ewrwewe",
"name_EN": "rwerw",
"levels": 2,
"levelName": "ฝ่าย",
"parentOrgName": "empeo Dev Test",
"code": "rwerewrdsad",
"parentId": 14903,
"dateModified": "2023-09-29T17:44:28.36",
"modifiedBy": "f79f65fe-45c7-4368-a935-ea77762f59ce"
},
{
"organizationId": 29373,
"name": "dsfdf",
"name_EN": "ff",
"levels": 2,
"levelName": "ฝ่าย",
"parentOrgName": "empeo Dev Test",
"code": "dsfsdf",
"parentId": 14903,
"dateModified": "2023-09-29T18:14:42.807",
"modifiedBy": "f79f65fe-45c7-4368-a935-ea77762f59ce"
},
{
"organizationId": 20934,
"name": "Zeus",
"name_EN": "Zeus",
"levels": 3,
"levelName": "แผนก",
"parentOrgName": "เทคโนโลยีสารสนเทศ",
"code": "32432",
"parentId": 19843,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 21021,
"name": "Information",
"name_EN": "Information",
"levels": 3,
"levelName": "แผนก",
"parentOrgName": "บริหาร",
"code": "436634634",
"parentId": 14912,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 27361,
"name": "TEST3",
"name_EN": "TEST3",
"levels": 3,
"levelName": "แผนก",
"parentOrgName": "การตลาด",
"code": "5245345",
"parentId": 14909,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 20932,
"name": "Pegasus",
"name_EN": "Pegasus",
"levels": 3,
"levelName": "แผนก",
"parentOrgName": "เทคโนโลยีสารสนเทศ",
"code": "432432",
"parentId": 19843,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 21022,
"name": "Design",
"name_EN": "Design",
"levels": 3,
"levelName": "แผนก",
"parentOrgName": "การตลาด",
"code": "34635735",
"parentId": 14909,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 27340,
"name": "test2",
"name_EN": "test2",
"levels": 3,
"levelName": "แผนก",
"parentOrgName": "คลังสินค้า",
"code": "767567",
"parentId": 14906,
"dateModified": "2023-09-28T16:54:07.017",
"modifiedBy": "f79f65fe-45c7-4368-a935-ea77762f59ce"
},
{
"organizationId": 21023,
"name": "Marketing",
"name_EN": "Marketing",
"levels": 3,
"levelName": "แผนก",
"parentOrgName": "การตลาด",
"code": "4326432",
"parentId": 14909,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 20933,
"name": "Spartan",
"name_EN": "Spartan",
"levels": 3,
"levelName": "แผนก",
"parentOrgName": "เทคโนโลยีสารสนเทศ",
"code": "32423",
"parentId": 19843,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 29298,
"name": "test",
"name_EN": "ttest",
"levels": 3,
"levelName": "แผนก",
"parentOrgName": "เทคโนโลยีสารสนเทศ",
"code": "test",
"parentId": 19843,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 27582,
"name": "ดเกดเ",
"name_EN": "กดเกดเ",
"levels": 4,
"levelName": "ส่วน",
"parentOrgName": "TEST3",
"code": "กเกด",
"parentId": 27361,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 21024,
"name": "Developer",
"name_EN": "Developer",
"levels": 4,
"levelName": "ส่วน",
"parentOrgName": "Information",
"code": "3253252",
"parentId": 21021,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 20935,
"name": "Dev team P",
"name_EN": "Dev team P",
"levels": 4,
"levelName": "ส่วน",
"parentOrgName": "Pegasus",
"code": "132432",
"parentId": 20932,
"dateModified": "2023-04-05T11:48:40.187",
"modifiedBy": "f79f65fe-45c7-4368-a935-ea77762f59ce"
},
{
"organizationId": 20936,
"name": "Test team P",
"name_EN": "Test team P",
"levels": 4,
"levelName": "ส่วน",
"parentOrgName": "Pegasus",
"code": "32432",
"parentId": 20932,
"dateModified": "2023-04-05T11:48:47.333",
"modifiedBy": "f79f65fe-45c7-4368-a935-ea77762f59ce"
},
{
"organizationId": 21025,
"name": "CR",
"name_EN": "CR",
"levels": 4,
"levelName": "ส่วน",
"parentOrgName": "Information",
"code": "23532523",
"parentId": 21021,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 29281,
"name": "6787686",
"name_EN": "87686786",
"levels": 4,
"levelName": "ส่วน",
"parentOrgName": "Zeus",
"code": "8678",
"parentId": 20934,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 29282,
"name": "6787686",
"name_EN": "87686786",
"levels": 4,
"levelName": "ส่วน",
"parentOrgName": "Zeus",
"code": "8678",
"parentId": 20934,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 20937,
"name": "Dev team S",
"name_EN": "Dev team S",
"levels": 4,
"levelName": "ส่วน",
"parentOrgName": "Spartan",
"code": "3432",
"parentId": 20933,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 21026,
"name": "Announcement",
"name_EN": "Announcement",
"levels": 4,
"levelName": "ส่วน",
"parentOrgName": "Design",
"code": "3253252",
"parentId": 21022,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 21027,
"name": "Policy",
"name_EN": "Policy",
"levels": 4,
"levelName": "ส่วน",
"parentOrgName": "Design",
"code": "315432",
"parentId": 21022,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 20938,
"name": "Test team S",
"name_EN": "Test team S",
"levels": 4,
"levelName": "ส่วน",
"parentOrgName": "Spartan",
"code": "5467",
"parentId": 20933,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 20939,
"name": "Dev team Z",
"name_EN": "Dev team Z",
"levels": 4,
"levelName": "ส่วน",
"parentOrgName": "Zeus",
"code": "432643",
"parentId": 20934,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 21028,
"name": "Manage",
"name_EN": "Manage",
"levels": 4,
"levelName": "ส่วน",
"parentOrgName": "Marketing",
"code": "32532532",
"parentId": 21023,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 21029,
"name": "Content",
"name_EN": "Content",
"levels": 4,
"levelName": "ส่วน",
"parentOrgName": "Marketing",
"code": "32532523",
"parentId": 21023,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 20940,
"name": "Test team Z",
"name_EN": "Test team Z",
"levels": 4,
"levelName": "ส่วน",
"parentOrgName": "Zeus",
"code": "43264",
"parentId": 20934,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 27583,
"name": "กดเกด",
"name_EN": "เดกเ",
"levels": 5,
"levelName": "งาน",
"parentOrgName": "ดเกดเ",
"code": "กดเกเ",
"parentId": 27582,
"dateModified": null,
"modifiedBy": null
},
{
"organizationId": 27584,
"name": "เกดเก",
"name_EN": "กดเกเ",
"levels": 6,
"levelName": "หน่วย",
"parentOrgName": "กดเกด",
"code": "เกดเก",
"parentId": 27583,
"dateModified": null,
"modifiedBy": null
}
]
}
Last modified: 4 months ago