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

# Spare Employee Info XX - LIST

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

This api is to extract full list of Employee Spare Info.  
Employee Spare Info table, support BIPO-EMP-SXX (XX: 01-20)

Reference: https://developer.biposervice.com/bipo-portal/hrms-v-2/hrms-v-2-personnel/hrms-v-2-hrms-v-2-personnel-reference/hrms-v-2-hrms-v-2-personnel-hrms-v-2-hrms-v-2-personnel-reference-spare-tables/spare-employee-info-xx-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 IntapiInterfaceExportPostIntapiInterfaceExport64PostResponsesContentApplicationJsonSchemaItems`

## Types

### IntapiInterfaceExportPostIntapiInterfaceExport64PostResponsesContentApplicationJsonSchemaItems

- `CreateBy` (string, required)
- `CreateOn` (datetime, required)
- `ESM02N01` (integer, required)
- `ESM02N02` (integer, required)
- `ESM02N03` (integer, required)
- `ESM02N04` (integer, required)
- `ESM02N05` (integer, required)
- `ESM02N06` (integer, required)
- `ESM02N07` (integer, required)
- `ESM02N08` (integer, required)
- `ESM02N09` (integer, required)
- `ESM02N10` (integer, required)
- `ESM02N11` (integer, required)
- `ESM02N12` (integer, required)
- `ESM02N13` (integer, required)
- `ESM02N14` (integer, required)
- `ESM02N15` (integer, required)
- `ESM02N16` (integer, required)
- `ESM02N17` (integer, required)
- `ESM02N18` (integer, required)
- `ESM02N19` (integer, required)
- `ESM02N20` (integer, required)
- `RecordID` (string, required)
- `UpdateBy` (string, required)
- `UpdateOn` (datetime, required)
- `DateStart` (datetime, required)
- `EmployeeCode` (string, required)
- `ESM02A01` (any, optional)
- `ESM02C01` (any, optional)
- `ESM02C02` (any, optional)
- `ESM02C03` (any, optional)
- `ESM02C04` (any, optional)
- `ESM02C05` (any, optional)
- `ESM02C06` (any, optional)
- `ESM02C07` (any, optional)
- `ESM02C08` (any, optional)
- `ESM02C09` (any, optional)
- `ESM02C10` (any, optional)
- `ESM02C11` (any, optional)
- `ESM02C12` (any, optional)
- `ESM02C13` (any, optional)
- `ESM02C14` (any, optional)
- `ESM02C15` (any, optional)
- `ESM02C16` (any, optional)
- `ESM02C17` (any, optional)
- `ESM02C18` (any, optional)
- `ESM02C19` (any, optional)
- `ESM02C20` (any, optional)
- `ESM02C21` (any, optional)
- `ESM02C22` (any, optional)
- `ESM02C23` (any, optional)
- `ESM02C24` (any, optional)
- `ESM02C25` (any, optional)
- `ESM02D01` (any, optional)
- `ESM02D02` (any, optional)
- `ESM02D03` (any, optional)
- `ESM02D04` (any, optional)
- `ESM02D05` (any, optional)
- `ESM02D06` (any, optional)
- `ESM02D07` (any, optional)
- `ESM02D08` (any, optional)
- `ESM02D09` (any, optional)
- `ESM02D10` (any, optional)
- `ESM02D11` (any, optional)
- `ESM02D12` (any, optional)
- `ESM02D13` (any, optional)
- `ESM02D14` (any, optional)
- `ESM02D15` (any, optional)
- `ESM02D16` (any, optional)
- `ESM02D17` (any, optional)
- `ESM02D18` (any, optional)
- `ESM02D19` (any, optional)
- `ESM02D20` (any, optional)
- `ESM02L01` (any, optional)
- `ESM02L02` (any, optional)
- `ESM02L03` (any, optional)
- `ESM02L04` (any, optional)
- `ESM02L05` (any, optional)
- `ESM02R01` (any, optional)
- `ESM02R02` (any, optional)
- `ESM02R03` (any, optional)
- `ESM02R04` (any, optional)
- `ESM02R05` (any, optional)
- `ESM02R06` (any, optional)
- `ESM02R07` (any, optional)
- `ESM02R08` (any, optional)
- `ESM02R09` (any, optional)
- `ESM02R10` (any, optional)
- `ESM02R11` (any, optional)
- `ESM02R12` (any, optional)
- `ESM02R13` (any, optional)
- `ESM02R14` (any, optional)
- `ESM02R15` (any, optional)
- `ESM02R16` (any, optional)
- `ESM02R17` (any, optional)
- `ESM02R18` (any, optional)
- `ESM02R19` (any, optional)
- `ESM02R20` (any, optional)
- `ESM02S01` (any, optional)
- `ESM02S02` (any, optional)
- `ESM02S03` (any, optional)
- `ESM02S04` (any, optional)
- `ESM02S05` (any, optional)
- `ESM02Z01` (any, optional)

## Examples

**Request**

```json
"{\r\n    // Employee Spare, support BIPO-EMP-SXX where XX is 01-20\r\n    \"InterfaceCode\": \"BIPO-EMP-S01\"\r\n}"
```

**Response**

```json
[
  {
    "CreateBy": "APIU",
    "CreateOn": "2025-09-09T14:29:19.943",
    "ESM02N01": 0,
    "ESM02N02": 0,
    "ESM02N03": 0,
    "ESM02N04": 0,
    "ESM02N05": 0,
    "ESM02N06": 0,
    "ESM02N07": 0,
    "ESM02N08": 0,
    "ESM02N09": 0,
    "ESM02N10": 0,
    "ESM02N11": 0,
    "ESM02N12": 0,
    "ESM02N13": 0,
    "ESM02N14": 0,
    "ESM02N15": 0,
    "ESM02N16": 0,
    "ESM02N17": 0,
    "ESM02N18": 0,
    "ESM02N19": 0,
    "ESM02N20": 0,
    "RecordID": "5b3c24bd-488d-f011-8493-06540fc8457d",
    "UpdateBy": "APIU",
    "UpdateOn": "2025-09-09T14:29:19.943",
    "DateStart": "2023-07-04T00:00:00",
    "EmployeeCode": "SGGGBOND2_006"
  }
]
```

**SDK Code**

```python Spare Employee Info XX - LIST
import requests

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

payload = "{
    // Employee Spare, support BIPO-EMP-SXX where XX is 01-20
    \"InterfaceCode\": \"BIPO-EMP-S01\"
}"
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Spare Employee Info XX - LIST
const url = 'https://server.bipocloud.com/tenant/intapi/Interface/Export#postIntapiInterfaceExport64';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '"{\r\n    // Employee Spare, support BIPO-EMP-SXX where XX is 01-20\r\n    \"InterfaceCode\": \"BIPO-EMP-S01\"\r\n}"'
};

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

```go Spare Employee Info XX - LIST
package main

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

func main() {

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

	payload := strings.NewReader("\"{\\r\\n    // Employee Spare, support BIPO-EMP-SXX where XX is 01-20\\r\\n    \\\"InterfaceCode\\\": \\\"BIPO-EMP-S01\\\"\\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 Spare Employee Info XX - LIST
require 'uri'
require 'net/http'

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

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    // Employee Spare, support BIPO-EMP-SXX where XX is 01-20\\r\\n    \\\"InterfaceCode\\\": \\\"BIPO-EMP-S01\\\"\\r\\n}\""

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

```java Spare Employee Info XX - 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#postIntapiInterfaceExport64")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("\"{\\r\\n    // Employee Spare, support BIPO-EMP-SXX where XX is 01-20\\r\\n    \\\"InterfaceCode\\\": \\\"BIPO-EMP-S01\\\"\\r\\n}\"")
  .asString();
```

```php Spare Employee Info XX - LIST
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://server.bipocloud.com/tenant/intapi/Interface/Export#postIntapiInterfaceExport64', [
  'body' => '"{\\r\\n    // Employee Spare, support BIPO-EMP-SXX where XX is 01-20\\r\\n    \\"InterfaceCode\\": \\"BIPO-EMP-S01\\"\\r\\n}"',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp Spare Employee Info XX - LIST
using RestSharp;

var client = new RestClient("https://server.bipocloud.com/tenant/intapi/Interface/Export#postIntapiInterfaceExport64");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "\"{\\r\\n    // Employee Spare, support BIPO-EMP-SXX where XX is 01-20\\r\\n    \\\"InterfaceCode\\\": \\\"BIPO-EMP-S01\\\"\\r\\n}\"", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Spare Employee Info XX - LIST
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = "{
    // Employee Spare, support BIPO-EMP-SXX where XX is 01-20
    \"InterfaceCode\": \"BIPO-EMP-S01\"
}" as [String : Any]

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

let request = NSMutableURLRequest(url: NSURL(string: "https://server.bipocloud.com/tenant/intapi/Interface/Export#postIntapiInterfaceExport64")! 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()
```