> 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.

# Address - LIST

POST https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem22
Content-Type: application/json

Extract full list of addresses from BIPO

Reference: https://developer.biposervice.com/bipo-portal/hrms-v-1/hrms-v-1-personnel/hrms-v-1-hrms-v-1-personnel-personnel/hrms-v-1-hrms-v-1-personnel-hrms-v-1-hrms-v-1-personnel-personnel-details/address-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 Api2BipoExportGetListItemPostApi2BipoexportGetlistitem22PostResponsesContentApplicationJsonSchemaItems`

## Types

### Api2BipoExportGetListItemPostApi2BipoexportGetlistitem22PostResponsesContentApplicationJsonSchemaItems

- `DateStart` (datetime, required)
- `AddressType` (string, required)
- `TelephoneNo` (string, required)
- `AddressLine1` (string, required)
- `AddressLine2` (string, required)
- `AddressLine3` (string, required)
- `EmployeeCode` (string, required)
- `AddressStreet` (string, required)
- `AddressHouseNo` (string, required)
- `AddressBuilding` (string, required)
- `AddressDistrict` (string, required)
- `AddressCountryCode` (string, required)
- `AddressCity` (any, optional)
- `AddressLane` (any, optional)
- `AddressAlley` (any, optional)
- `AddressState` (any, optional)
- `IR56AreaCode` (any, optional)
- `AddressPostal` (any, optional)
- `AddressUnitNo` (any, optional)
- `AddressFloorNo` (any, optional)
- `AddressVillage` (any, optional)
- `AddressVillageNo` (any, optional)
- `LocalAddressName` (any, optional)
- `AddressSubDistrict` (any, optional)

## Examples

**Request**

```json
"{\r\n  // Address Detail\r\n  \"InterfaceCode\": \"BIPO-EMP-AD\"\r\n}"
```

**Response**

```json
[
  {
    "DateStart": "2022-09-01T00:00:00",
    "AddressType": "L",
    "TelephoneNo": "031524661",
    "AddressLine1": "142,Singha Road, Tower Square",
    "AddressLine2": "Phonexay Village",
    "AddressLine3": "Saysetthda District",
    "EmployeeCode": "000002",
    "AddressStreet": "Singha Road, Tower Square",
    "AddressHouseNo": "142",
    "AddressBuilding": "Phonexay Village",
    "AddressDistrict": "Saysetthda District",
    "AddressCountryCode": "LA"
  },
  {
    "DateStart": "2021-09-01T00:00:00",
    "AddressType": "O",
    "TelephoneNo": "string",
    "AddressLine1": "testing  ",
    "AddressLine2": " testing",
    "AddressLine3": "string",
    "EmployeeCode": "00002",
    "AddressStreet": "string",
    "AddressHouseNo": "testing ",
    "AddressBuilding": "testing",
    "AddressDistrict": "string",
    "AddressCountryCode": "SG"
  },
  {
    "DateStart": "2020-01-01T00:00:00",
    "AddressType": "L",
    "TelephoneNo": "string",
    "AddressLine1": " ",
    "AddressLine2": "string",
    "AddressLine3": "string",
    "EmployeeCode": "0000234",
    "AddressStreet": "string",
    "AddressHouseNo": "string",
    "AddressBuilding": "string",
    "AddressDistrict": "string",
    "AddressCountryCode": "UK",
    "AddressCity": null,
    "AddressPostal": null
  },
  {
    "DateStart": "2021-07-01T00:00:00",
    "AddressType": "L",
    "TelephoneNo": "12345567",
    "AddressLine1": "ABC Amber",
    "AddressLine2": "#25-2501 ABC Building",
    "AddressLine3": "12",
    "EmployeeCode": "0000234",
    "AddressStreet": "ST Amber",
    "AddressHouseNo": "1",
    "AddressBuilding": "ABC Building",
    "AddressDistrict": "12",
    "AddressCountryCode": "SG",
    "AddressCity": null,
    "AddressState": null,
    "AddressPostal": null,
    "AddressUnitNo": null,
    "AddressFloorNo": null
  },
  {
    "DateStart": "2021-11-01T00:00:00",
    "AddressType": "x",
    "TelephoneNo": "string",
    "AddressLine1": "xxxxxxxxxxxxxxxxxx",
    "AddressLine2": "xxxxxxxxxxxxx",
    "AddressLine3": "string",
    "EmployeeCode": "00003",
    "AddressStreet": "xxxxxxxxxxxxxx",
    "AddressHouseNo": "xxx",
    "AddressBuilding": "xxxxxx",
    "AddressDistrict": "string",
    "AddressCountryCode": "xx",
    "AddressUnitNo": null,
    "AddressFloorNo": null
  }
]
```

**SDK Code**

```python Address - LIST
import requests

url = "https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem22"

payload = "{
  // Address Detail
  \"InterfaceCode\": \"BIPO-EMP-AD\"
}"
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Address - LIST
const url = 'https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem22';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '"{\r\n  // Address Detail\r\n  \"InterfaceCode\": \"BIPO-EMP-AD\"\r\n}"'
};

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

```go Address - LIST
package main

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

func main() {

	url := "https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem22"

	payload := strings.NewReader("\"{\\r\\n  // Address Detail\\r\\n  \\\"InterfaceCode\\\": \\\"BIPO-EMP-AD\\\"\\r\\n}\"")

	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 Address - LIST
require 'uri'
require 'net/http'

url = URI("https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem22")

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 = "\"{\\r\\n  // Address Detail\\r\\n  \\\"InterfaceCode\\\": \\\"BIPO-EMP-AD\\\"\\r\\n}\""

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

```java Address - LIST
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem22")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("\"{\\r\\n  // Address Detail\\r\\n  \\\"InterfaceCode\\\": \\\"BIPO-EMP-AD\\\"\\r\\n}\"")
  .asString();
```

```php Address - LIST
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem22', [
  'body' => '"{\\r\\n  // Address Detail\\r\\n  \\"InterfaceCode\\": \\"BIPO-EMP-AD\\"\\r\\n}"',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp Address - LIST
using RestSharp;

var client = new RestClient("https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem22");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "\"{\\r\\n  // Address Detail\\r\\n  \\\"InterfaceCode\\\": \\\"BIPO-EMP-AD\\\"\\r\\n}\"", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Address - LIST
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = "{
  // Address Detail
  \"InterfaceCode\": \"BIPO-EMP-AD\"
}" as [String : Any]

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

let request = NSMutableURLRequest(url: NSURL(string: "https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem22")! 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()
```