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

# Roster - LIST

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

Extract an employee's resolved roster for a date range.

Unlike a raw roster table read, this returns **one row for every date in the range**, with the shift resolved the same way the on-screen Roster page resolves it: a manual roster change for that date if one exists, otherwise the employee's default Work Calendar shift. A date with no resolvable shift is still returned, with `Shift1`/`Shift2` as `null` — it is never silently omitted.

**Read-only** — this interface code has no UPSERT or DELETE counterpart.

### Request fields

| Field            | Type       | Mandatory | Notes                                                                                                                                        |
| ---------------- | ---------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `InterfaceCode`  | string     | **Yes**   | Always `BIPO-RO`                                                                                                                             |
| `EmployeeCode`   | string(16) | **Yes**   | Exactly **one** employee per call. A comma-separated list is rejected. Send the code exactly as stored, including upper/lower case           |
| `RosterDateFrom` | date       | **Yes**   | Start of range, in `yyyy-MM-dd` format, e.g. `2026-09-01`                                                                                    |
| `RosterDateTo`   | date       | **Yes**   | End of range, in `yyyy-MM-dd` format. Must not exceed `RosterDateFrom` + **1 calendar month**, and must not be earlier than `RosterDateFrom` |

### Response fields

One object per date in the range.

| Field          | Type       | Notes                                                                                                                           |
| -------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `EmployeeCode` | string(16) |                                                                                                                                 |
| `RosterDate`   | string     | `yyyy-MM-dd`                                                                                                                    |
| `IsHoliday`    | bool       | True when the date is a public holiday for that employee                                                                        |
| `Shift1`       | object     | The shift for the date; `null` if none resolves                                                                                 |
| `Shift2`       | object     | Second session on a split-shift date; otherwise `null`                                                                          |
| `UpdateBy`     | string     | Populated **only** where a manual roster change exists for that date; `null` when the shift came from the default Work Calendar |
| `UpdateOn`     | string     | As above. `yyyy-MM-ddTHH:mm:ss`                                                                                                 |

#### Shift object

Shape depends on the client's **Roster Version** configuration.

| Field             | Type   | Roster Version       | Notes                                                                                                                                                 |
| ----------------- | ------ | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ShiftCode`       | string | 1 (Shift-Based) only | Absent in Time-Based, where times are held per date rather than per shift code                                                                        |
| `WorkStatus`      | string | Both                 |                                                                                                                                                       |
| `NormalStartTime` | string | Both                 | `HH:mm`. `null` on a rest or off day                                                                                                                  |
| `NormalEndTime`   | string | Both                 | `HH:mm`. `null` on a rest or off day                                                                                                                  |
| `CostRefCode`     | string | Both                 |                                                                                                                                                       |
| `Break`           | array  | Both                 | Array of `{ BreakStart, BreakEnd, BreakHours }`. Empty when the shift has no break, or (Time-Based) when the Break Display configuration hides breaks |

### Errors

Business-rule rejections (unknown employee, missing date, range over 1 month) return **HTTP 200** with the error message as a plain JSON string, not an object.

**Note:** Use `yyyy-MM-dd` for both dates. Other formats may be read differently — for example, `01/09/2026` is read as 9 January.

**Note:** If `RosterDateTo` is earlier than `RosterDateFrom`, the API returns an empty list rather than an error.

**Note:** A rest or off day still returns a `Shift1` object, with its `WorkStatus` and `null` times. `Shift1` is `null` only when no shift applies to the date.

Reference: https://developer.biposervice.com/bipo-portal/hrms-v-1/hrms-v-1-attendance/hrms-v-1-hrms-v-1-attendance-attendance/hrms-v-1-hrms-v-1-attendance-hrms-v-1-hrms-v-1-attendance-attendance-roster/roster-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 Api2BipoExportGetListItemPostApi2BipoexportGetlistitem83PostResponsesContentApplicationJsonSchemaItems`

## Types

### Api2BipoExportGetListItemPostApi2BipoexportGetlistitem83PostResponsesContentApplicationJsonSchemaItems

- `Shift1` (Api2BipoExportGetListItemPostApi2BipoexportGetlistitem83PostResponsesContentApplicationJsonSchemaItemsShift1, required)
- `IsHoliday` (boolean, required)
- `RosterDate` (date, required)
- `EmployeeCode` (string, required)
- `Shift2` (any, optional)
- `UpdateBy` (any, optional)
- `UpdateOn` (any, optional)

### Api2BipoExportGetListItemPostApi2BipoexportGetlistitem83PostResponsesContentApplicationJsonSchemaItemsShift1

- `Break` (list of Api2BipoExportGetListItemPostApi2BipoexportGetlistitem83PostResponsesContentApplicationJsonSchemaItemsShift1BreakItems, required)
- `ShiftCode` (string, required)
- `WorkStatus` (string, required)
- `NormalEndTime` (string, required)
- `NormalStartTime` (string, required)
- `CostRefCode` (any, optional)

### Api2BipoExportGetListItemPostApi2BipoexportGetlistitem83PostResponsesContentApplicationJsonSchemaItemsShift1BreakItems

- `BreakEnd` (string, required)
- `BreakHours` (integer, required)
- `BreakStart` (string, required)

## Examples

### Roster - LIST (Mandatory field Validation)

**Request**

```json
"{\n  // Roster\n  \"InterfaceCode\": \"BIPO-RO\",\n  \"EmployeeCode\": \"XG092\",\n  \"RosterDateTo\": \"2025-10-16\"\n}\n"
```

**Response**

```json
[
  {
    "Shift1": {
      "Break": [
        {
          "BreakEnd": "string",
          "BreakHours": 1,
          "BreakStart": "string"
        }
      ],
      "ShiftCode": "string",
      "WorkStatus": "string",
      "NormalEndTime": "string",
      "NormalStartTime": "string"
    },
    "IsHoliday": true,
    "RosterDate": "2023-01-15",
    "EmployeeCode": "string"
  }
]
```

**SDK Code**

```python Roster - LIST (Mandatory field Validation)
import requests

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

payload = "{
  // Roster
  \"InterfaceCode\": \"BIPO-RO\",
  \"EmployeeCode\": \"XG092\",
  \"RosterDateTo\": \"2025-10-16\"
}
"
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Roster - LIST (Mandatory field Validation)
const url = 'https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem83';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '"{\n  // Roster\n  \"InterfaceCode\": \"BIPO-RO\",\n  \"EmployeeCode\": \"XG092\",\n  \"RosterDateTo\": \"2025-10-16\"\n}\n"'
};

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

```go Roster - LIST (Mandatory field Validation)
package main

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

func main() {

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

	payload := strings.NewReader("\"{\\n  // Roster\\n  \\\"InterfaceCode\\\": \\\"BIPO-RO\\\",\\n  \\\"EmployeeCode\\\": \\\"XG092\\\",\\n  \\\"RosterDateTo\\\": \\\"2025-10-16\\\"\\n}\\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 Roster - LIST (Mandatory field Validation)
require 'uri'
require 'net/http'

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

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 = "\"{\\n  // Roster\\n  \\\"InterfaceCode\\\": \\\"BIPO-RO\\\",\\n  \\\"EmployeeCode\\\": \\\"XG092\\\",\\n  \\\"RosterDateTo\\\": \\\"2025-10-16\\\"\\n}\\n\""

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

```java Roster - LIST (Mandatory field Validation)
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#postApi2BipoexportGetlistitem83")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("\"{\\n  // Roster\\n  \\\"InterfaceCode\\\": \\\"BIPO-RO\\\",\\n  \\\"EmployeeCode\\\": \\\"XG092\\\",\\n  \\\"RosterDateTo\\\": \\\"2025-10-16\\\"\\n}\\n\"")
  .asString();
```

```php Roster - LIST (Mandatory field Validation)
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem83', [
  'body' => '"{\\n  // Roster\\n  \\"InterfaceCode\\": \\"BIPO-RO\\",\\n  \\"EmployeeCode\\": \\"XG092\\",\\n  \\"RosterDateTo\\": \\"2025-10-16\\"\\n}\\n"',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp Roster - LIST (Mandatory field Validation)
using RestSharp;

var client = new RestClient("https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem83");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "\"{\\n  // Roster\\n  \\\"InterfaceCode\\\": \\\"BIPO-RO\\\",\\n  \\\"EmployeeCode\\\": \\\"XG092\\\",\\n  \\\"RosterDateTo\\\": \\\"2025-10-16\\\"\\n}\\n\"", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Roster - LIST (Mandatory field Validation)
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = "{
  // Roster
  \"InterfaceCode\": \"BIPO-RO\",
  \"EmployeeCode\": \"XG092\",
  \"RosterDateTo\": \"2025-10-16\"
}
" as [String : Any]

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

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

### Roster - LIST (Shift-Based / Roster Version 1)

**Request**

```json
"{\r\n  // Roster\r\n  \"InterfaceCode\": \"BIPO-RO\",\r\n  \"EmployeeCode\": \"000002\",\r\n  \"RosterDateFrom\": \"2026-09-11\",\r\n  \"RosterDateTo\": \"2026-09-16\"\r\n}"
```

**Response**

```json
[
  {
    "Shift1": {
      "Break": [
        {
          "BreakEnd": "12:00",
          "BreakHours": 1,
          "BreakStart": "11:00"
        }
      ],
      "ShiftCode": "W1",
      "WorkStatus": "W",
      "NormalEndTime": "18:00",
      "NormalStartTime": "09:00"
    },
    "IsHoliday": false,
    "RosterDate": "2026-09-11",
    "EmployeeCode": "XG092"
  },
  {
    "Shift1": {
      "Break": [],
      "ShiftCode": "O1",
      "WorkStatus": "O",
      "NormalEndTime": "string",
      "NormalStartTime": "string"
    },
    "IsHoliday": false,
    "RosterDate": "2026-09-12",
    "EmployeeCode": "XG092"
  },
  {
    "Shift1": {
      "Break": [],
      "ShiftCode": "O1",
      "WorkStatus": "O",
      "NormalEndTime": "string",
      "NormalStartTime": "string"
    },
    "IsHoliday": false,
    "RosterDate": "2026-09-14",
    "EmployeeCode": "XG092",
    "UpdateBy": null,
    "UpdateOn": null
  },
  {
    "Shift1": {
      "Break": [],
      "ShiftCode": "O1",
      "WorkStatus": "O",
      "NormalEndTime": "string",
      "NormalStartTime": "string"
    },
    "IsHoliday": false,
    "RosterDate": "2026-09-15",
    "EmployeeCode": "XG092",
    "Shift2": null
  },
  {
    "Shift1": {
      "Break": [
        {
          "BreakEnd": "12:00",
          "BreakHours": 1,
          "BreakStart": "11:00"
        }
      ],
      "ShiftCode": "W1",
      "WorkStatus": "W",
      "NormalEndTime": "18:00",
      "NormalStartTime": "09:00"
    },
    "IsHoliday": false,
    "RosterDate": "2026-09-16",
    "EmployeeCode": "XG092",
    "Shift2": null
  }
]
```

**SDK Code**

```python Roster - LIST (Shift-Based / Roster Version 1)
import requests

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

payload = "{
  // Roster
  \"InterfaceCode\": \"BIPO-RO\",
  \"EmployeeCode\": \"000002\",
  \"RosterDateFrom\": \"2026-09-11\",
  \"RosterDateTo\": \"2026-09-16\"
}"
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Roster - LIST (Shift-Based / Roster Version 1)
const url = 'https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem83';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '"{\r\n  // Roster\r\n  \"InterfaceCode\": \"BIPO-RO\",\r\n  \"EmployeeCode\": \"000002\",\r\n  \"RosterDateFrom\": \"2026-09-11\",\r\n  \"RosterDateTo\": \"2026-09-16\"\r\n}"'
};

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

```go Roster - LIST (Shift-Based / Roster Version 1)
package main

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

func main() {

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

	payload := strings.NewReader("\"{\\r\\n  // Roster\\r\\n  \\\"InterfaceCode\\\": \\\"BIPO-RO\\\",\\r\\n  \\\"EmployeeCode\\\": \\\"000002\\\",\\r\\n  \\\"RosterDateFrom\\\": \\\"2026-09-11\\\",\\r\\n  \\\"RosterDateTo\\\": \\\"2026-09-16\\\"\\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 Roster - LIST (Shift-Based / Roster Version 1)
require 'uri'
require 'net/http'

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

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  // Roster\\r\\n  \\\"InterfaceCode\\\": \\\"BIPO-RO\\\",\\r\\n  \\\"EmployeeCode\\\": \\\"000002\\\",\\r\\n  \\\"RosterDateFrom\\\": \\\"2026-09-11\\\",\\r\\n  \\\"RosterDateTo\\\": \\\"2026-09-16\\\"\\r\\n}\""

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

```java Roster - LIST (Shift-Based / Roster Version 1)
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#postApi2BipoexportGetlistitem83")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("\"{\\r\\n  // Roster\\r\\n  \\\"InterfaceCode\\\": \\\"BIPO-RO\\\",\\r\\n  \\\"EmployeeCode\\\": \\\"000002\\\",\\r\\n  \\\"RosterDateFrom\\\": \\\"2026-09-11\\\",\\r\\n  \\\"RosterDateTo\\\": \\\"2026-09-16\\\"\\r\\n}\"")
  .asString();
```

```php Roster - LIST (Shift-Based / Roster Version 1)
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem83', [
  'body' => '"{\\r\\n  // Roster\\r\\n  \\"InterfaceCode\\": \\"BIPO-RO\\",\\r\\n  \\"EmployeeCode\\": \\"000002\\",\\r\\n  \\"RosterDateFrom\\": \\"2026-09-11\\",\\r\\n  \\"RosterDateTo\\": \\"2026-09-16\\"\\r\\n}"',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp Roster - LIST (Shift-Based / Roster Version 1)
using RestSharp;

var client = new RestClient("https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem83");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "\"{\\r\\n  // Roster\\r\\n  \\\"InterfaceCode\\\": \\\"BIPO-RO\\\",\\r\\n  \\\"EmployeeCode\\\": \\\"000002\\\",\\r\\n  \\\"RosterDateFrom\\\": \\\"2026-09-11\\\",\\r\\n  \\\"RosterDateTo\\\": \\\"2026-09-16\\\"\\r\\n}\"", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Roster - LIST (Shift-Based / Roster Version 1)
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = "{
  // Roster
  \"InterfaceCode\": \"BIPO-RO\",
  \"EmployeeCode\": \"000002\",
  \"RosterDateFrom\": \"2026-09-11\",
  \"RosterDateTo\": \"2026-09-16\"
}" as [String : Any]

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

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

### Roster - LIST (Validation error: range exceeds 1 month)

**Request**

```json
"{\r\n  // Roster\r\n  \"InterfaceCode\": \"BIPO-RO\",\r\n  \"EmployeeCode\": \"000002\",\r\n  \"RosterDateFrom\": \"2026-09-01\",\r\n  \"RosterDateTo\": \"2026-11-30\"\r\n}"
```

**Response**

```json
[
  {
    "Shift1": {
      "Break": [
        {
          "BreakEnd": "string",
          "BreakHours": 1,
          "BreakStart": "string"
        }
      ],
      "ShiftCode": "string",
      "WorkStatus": "string",
      "NormalEndTime": "string",
      "NormalStartTime": "string"
    },
    "IsHoliday": true,
    "RosterDate": "2023-01-15",
    "EmployeeCode": "string"
  }
]
```

**SDK Code**

```python Roster - LIST (Validation error: range exceeds 1 month)
import requests

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

payload = "{
  // Roster
  \"InterfaceCode\": \"BIPO-RO\",
  \"EmployeeCode\": \"000002\",
  \"RosterDateFrom\": \"2026-09-01\",
  \"RosterDateTo\": \"2026-11-30\"
}"
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Roster - LIST (Validation error: range exceeds 1 month)
const url = 'https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem83';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '"{\r\n  // Roster\r\n  \"InterfaceCode\": \"BIPO-RO\",\r\n  \"EmployeeCode\": \"000002\",\r\n  \"RosterDateFrom\": \"2026-09-01\",\r\n  \"RosterDateTo\": \"2026-11-30\"\r\n}"'
};

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

```go Roster - LIST (Validation error: range exceeds 1 month)
package main

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

func main() {

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

	payload := strings.NewReader("\"{\\r\\n  // Roster\\r\\n  \\\"InterfaceCode\\\": \\\"BIPO-RO\\\",\\r\\n  \\\"EmployeeCode\\\": \\\"000002\\\",\\r\\n  \\\"RosterDateFrom\\\": \\\"2026-09-01\\\",\\r\\n  \\\"RosterDateTo\\\": \\\"2026-11-30\\\"\\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 Roster - LIST (Validation error: range exceeds 1 month)
require 'uri'
require 'net/http'

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

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  // Roster\\r\\n  \\\"InterfaceCode\\\": \\\"BIPO-RO\\\",\\r\\n  \\\"EmployeeCode\\\": \\\"000002\\\",\\r\\n  \\\"RosterDateFrom\\\": \\\"2026-09-01\\\",\\r\\n  \\\"RosterDateTo\\\": \\\"2026-11-30\\\"\\r\\n}\""

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

```java Roster - LIST (Validation error: range exceeds 1 month)
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#postApi2BipoexportGetlistitem83")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("\"{\\r\\n  // Roster\\r\\n  \\\"InterfaceCode\\\": \\\"BIPO-RO\\\",\\r\\n  \\\"EmployeeCode\\\": \\\"000002\\\",\\r\\n  \\\"RosterDateFrom\\\": \\\"2026-09-01\\\",\\r\\n  \\\"RosterDateTo\\\": \\\"2026-11-30\\\"\\r\\n}\"")
  .asString();
```

```php Roster - LIST (Validation error: range exceeds 1 month)
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem83', [
  'body' => '"{\\r\\n  // Roster\\r\\n  \\"InterfaceCode\\": \\"BIPO-RO\\",\\r\\n  \\"EmployeeCode\\": \\"000002\\",\\r\\n  \\"RosterDateFrom\\": \\"2026-09-01\\",\\r\\n  \\"RosterDateTo\\": \\"2026-11-30\\"\\r\\n}"',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp Roster - LIST (Validation error: range exceeds 1 month)
using RestSharp;

var client = new RestClient("https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem83");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "\"{\\r\\n  // Roster\\r\\n  \\\"InterfaceCode\\\": \\\"BIPO-RO\\\",\\r\\n  \\\"EmployeeCode\\\": \\\"000002\\\",\\r\\n  \\\"RosterDateFrom\\\": \\\"2026-09-01\\\",\\r\\n  \\\"RosterDateTo\\\": \\\"2026-11-30\\\"\\r\\n}\"", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Roster - LIST (Validation error: range exceeds 1 month)
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = "{
  // Roster
  \"InterfaceCode\": \"BIPO-RO\",
  \"EmployeeCode\": \"000002\",
  \"RosterDateFrom\": \"2026-09-01\",
  \"RosterDateTo\": \"2026-11-30\"
}" as [String : Any]

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

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

### Roster - LIST (Time-Based / Roster Version 2, split shift)

**Request**

```json
"{\r\n  // Roster\r\n  \"InterfaceCode\": \"BIPO-RO\",\r\n  \"EmployeeCode\": \"000010\",\r\n  \"RosterDateFrom\": \"2026-09-01\",\r\n  \"RosterDateTo\": \"2026-09-02\"\r\n}"
```

**Response**

```json
[
  {
    "Shift1": {
      "Break": [
        {
          "BreakEnd": "14:00",
          "BreakHours": 1,
          "BreakStart": "13:00"
        }
      ],
      "ShiftCode": "string",
      "WorkStatus": "W",
      "NormalEndTime": "18:00",
      "NormalStartTime": "09:00"
    },
    "IsHoliday": false,
    "RosterDate": "2026-09-01",
    "EmployeeCode": "000010"
  },
  {
    "Shift1": {
      "Break": [],
      "ShiftCode": "string",
      "WorkStatus": "W",
      "NormalEndTime": "12:00",
      "NormalStartTime": "08:00",
      "CostRefCode": null
    },
    "IsHoliday": false,
    "RosterDate": "2026-09-02",
    "EmployeeCode": "000010",
    "Shift2": null,
    "UpdateBy": null,
    "UpdateOn": null
  }
]
```

**SDK Code**

```python Roster - LIST (Time-Based / Roster Version 2, split shift)
import requests

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

payload = "{
  // Roster
  \"InterfaceCode\": \"BIPO-RO\",
  \"EmployeeCode\": \"000010\",
  \"RosterDateFrom\": \"2026-09-01\",
  \"RosterDateTo\": \"2026-09-02\"
}"
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Roster - LIST (Time-Based / Roster Version 2, split shift)
const url = 'https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem83';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '"{\r\n  // Roster\r\n  \"InterfaceCode\": \"BIPO-RO\",\r\n  \"EmployeeCode\": \"000010\",\r\n  \"RosterDateFrom\": \"2026-09-01\",\r\n  \"RosterDateTo\": \"2026-09-02\"\r\n}"'
};

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

```go Roster - LIST (Time-Based / Roster Version 2, split shift)
package main

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

func main() {

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

	payload := strings.NewReader("\"{\\r\\n  // Roster\\r\\n  \\\"InterfaceCode\\\": \\\"BIPO-RO\\\",\\r\\n  \\\"EmployeeCode\\\": \\\"000010\\\",\\r\\n  \\\"RosterDateFrom\\\": \\\"2026-09-01\\\",\\r\\n  \\\"RosterDateTo\\\": \\\"2026-09-02\\\"\\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 Roster - LIST (Time-Based / Roster Version 2, split shift)
require 'uri'
require 'net/http'

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

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  // Roster\\r\\n  \\\"InterfaceCode\\\": \\\"BIPO-RO\\\",\\r\\n  \\\"EmployeeCode\\\": \\\"000010\\\",\\r\\n  \\\"RosterDateFrom\\\": \\\"2026-09-01\\\",\\r\\n  \\\"RosterDateTo\\\": \\\"2026-09-02\\\"\\r\\n}\""

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

```java Roster - LIST (Time-Based / Roster Version 2, split shift)
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#postApi2BipoexportGetlistitem83")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("\"{\\r\\n  // Roster\\r\\n  \\\"InterfaceCode\\\": \\\"BIPO-RO\\\",\\r\\n  \\\"EmployeeCode\\\": \\\"000010\\\",\\r\\n  \\\"RosterDateFrom\\\": \\\"2026-09-01\\\",\\r\\n  \\\"RosterDateTo\\\": \\\"2026-09-02\\\"\\r\\n}\"")
  .asString();
```

```php Roster - LIST (Time-Based / Roster Version 2, split shift)
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem83', [
  'body' => '"{\\r\\n  // Roster\\r\\n  \\"InterfaceCode\\": \\"BIPO-RO\\",\\r\\n  \\"EmployeeCode\\": \\"000010\\",\\r\\n  \\"RosterDateFrom\\": \\"2026-09-01\\",\\r\\n  \\"RosterDateTo\\": \\"2026-09-02\\"\\r\\n}"',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp Roster - LIST (Time-Based / Roster Version 2, split shift)
using RestSharp;

var client = new RestClient("https://server.bipocloud.com/tenant/api2/BIPOExport/GetListItem#postApi2BipoexportGetlistitem83");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "\"{\\r\\n  // Roster\\r\\n  \\\"InterfaceCode\\\": \\\"BIPO-RO\\\",\\r\\n  \\\"EmployeeCode\\\": \\\"000010\\\",\\r\\n  \\\"RosterDateFrom\\\": \\\"2026-09-01\\\",\\r\\n  \\\"RosterDateTo\\\": \\\"2026-09-02\\\"\\r\\n}\"", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Roster - LIST (Time-Based / Roster Version 2, split shift)
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = "{
  // Roster
  \"InterfaceCode\": \"BIPO-RO\",
  \"EmployeeCode\": \"000010\",
  \"RosterDateFrom\": \"2026-09-01\",
  \"RosterDateTo\": \"2026-09-02\"
}" as [String : Any]

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

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