> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer.biposervice.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.biposervice.com/_mcp/server.

# Employee Org Structure - LIST

POST https://server.bipocloud.com/tenant/intapi/Interface/Export#postIntapiInterfaceExport6
Content-Type: application/json

This api is to extract full list of employee organization structure from BIPO.

Reference: https://developer.biposervice.com/bipo-portal/hrms-v-2/hrms-v-2-personnel/hrms-v-2-hrms-v-2-personnel-employee/hrms-v-2-hrms-v-2-personnel-hrms-v-2-hrms-v-2-personnel-employee-assignment/employee-org-structure-list

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Body (application/json)

This endpoint expects a string.

- `string`

## Response

### 200

OK

- `list of IntapiInterfaceExportPostIntapiInterfaceExport6PostResponsesContentApplicationJsonSchemaItems`

## Types

### IntapiInterfaceExportPostIntapiInterfaceExport6PostResponsesContentApplicationJsonSchemaItems

- `OFC01` (string, required)
- `OFN01` (integer, required)
- `OFN02` (integer, required)
- `OFN03` (integer, required)
- `OFN04` (integer, required)
- `OFN05` (integer, required)
- `OFR01` (string, required)
- `CreateBy` (string, required)
- `CreateOn` (datetime, required)
- `RecordID` (string, required)
- `UpdateBy` (string, required)
- `UpdateOn` (datetime, required)
- `DateStart` (datetime, required)
- `CompanyCode` (string, required)
- `EmployeeCode` (string, required)
- `DesignationCode` (string, required)
- `OFC02` (any, optional)
- `OFC03` (any, optional)
- `OFC04` (any, optional)
- `OFC05` (any, optional)
- `OFC06` (any, optional)
- `OFC07` (any, optional)
- `OFC08` (any, optional)
- `OFC09` (any, optional)
- `OFC10` (any, optional)
- `OFC11` (any, optional)
- `OFC12` (any, optional)
- `OFC13` (any, optional)
- `OFC14` (any, optional)
- `OFC15` (any, optional)
- `OFC16` (any, optional)
- `OFC17` (any, optional)
- `OFC18` (any, optional)
- `OFC19` (any, optional)
- `OFC20` (any, optional)
- `OFL01` (any, optional)
- `OFL02` (any, optional)
- `OFL03` (any, optional)
- `OFL04` (any, optional)
- `OFL05` (any, optional)
- `OFR02` (any, optional)
- `OFR03` (any, optional)
- `OFR04` (any, optional)
- `OFR05` (any, optional)
- `OFR06` (any, optional)
- `OFR07` (any, optional)
- `OFR08` (any, optional)
- `OFR09` (any, optional)
- `OFR10` (any, optional)
- `OFR11` (any, optional)
- `OFR12` (any, optional)
- `OFR13` (any, optional)
- `OFR14` (any, optional)
- `OFR15` (any, optional)
- `OFR16` (any, optional)
- `OFR17` (any, optional)
- `OFR18` (any, optional)
- `OFR19` (any, optional)
- `OFR20` (any, optional)
- `OFR21` (any, optional)
- `OFR22` (any, optional)
- `OFR23` (any, optional)
- `OFR24` (any, optional)
- `OFR25` (any, optional)
- `OFR26` (any, optional)
- `OFR27` (any, optional)
- `OFR28` (any, optional)
- `OFR29` (any, optional)
- `OFR30` (any, optional)
- `OFR31` (any, optional)
- `OFR32` (any, optional)
- `OFR33` (any, optional)
- `OFR34` (any, optional)
- `OFR35` (any, optional)
- `OFR36` (any, optional)
- `OFR37` (any, optional)
- `OFR38` (any, optional)
- `OFR39` (any, optional)
- `OFR40` (any, optional)
- `OFS01` (any, optional)
- `OFS02` (any, optional)
- `OFS03` (any, optional)
- `OFS04` (any, optional)
- `OFS05` (any, optional)
- `LocationCode` (any, optional)
- `CostCentreCode` (any, optional)
- `DepartmentCode` (any, optional)
- `EmploymentTypeCode` (any, optional)
- `StatusChangeReasonCodes` (any, optional)

## Examples

**Request**

```json
"string"
```

**Response**

```json
[
  {
    "OFC01": "BIPO",
    "OFN01": 0,
    "OFN02": 0,
    "OFN03": 0,
    "OFN04": 0,
    "OFN05": 0,
    "OFR01": "test",
    "CreateBy": "APIU",
    "CreateOn": "2026-01-06T15:03:39.19",
    "RecordID": "ed4c29d3-cdea-f011-8498-06540fc8457d",
    "UpdateBy": "APIU",
    "UpdateOn": "2026-01-06T15:03:39.19",
    "DateStart": "2025-01-01T00:00:00",
    "CompanyCode": "BIPO01",
    "EmployeeCode": "000002",
    "DesignationCode": "PM"
  }
]
```

**SDK Code**

```python Employee Org Structure - LIST
import requests

url = "https://server.bipocloud.com/tenant/intapi/Interface/Export#postIntapiInterfaceExport6"

payload = "string"
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Employee Org Structure - LIST
const url = 'https://server.bipocloud.com/tenant/intapi/Interface/Export#postIntapiInterfaceExport6';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '"string"'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Employee Org Structure - LIST
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://server.bipocloud.com/tenant/intapi/Interface/Export#postIntapiInterfaceExport6"

	payload := strings.NewReader("\"string\"")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Employee Org Structure - LIST
require 'uri'
require 'net/http'

url = URI("https://server.bipocloud.com/tenant/intapi/Interface/Export#postIntapiInterfaceExport6")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "\"string\""

response = http.request(request)
puts response.read_body
```

```java Employee Org Structure - LIST
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://server.bipocloud.com/tenant/intapi/Interface/Export#postIntapiInterfaceExport6")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("\"string\"")
  .asString();
```

```php Employee Org Structure - LIST
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://server.bipocloud.com/tenant/intapi/Interface/Export#postIntapiInterfaceExport6', [
  'body' => '"string"',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Employee Org Structure - LIST
using RestSharp;

var client = new RestClient("https://server.bipocloud.com/tenant/intapi/Interface/Export#postIntapiInterfaceExport6");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "\"string\"", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Employee Org Structure - LIST
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = "string" as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://server.bipocloud.com/tenant/intapi/Interface/Export#postIntapiInterfaceExport6")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```