GET api/OnlineTimeSchedule/GetOnlineTimeScheduleReferenceByBranch?companyCode={companyCode}&branchID={branchID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyCode | string |
Required |
|
| branchID | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
APIOrderOnlineResultOfListOfOnlineTimeScheduleReference| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of OnlineTimeScheduleReference |
None. |
|
| Success | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| ErrorType | OrderOnlineAPIErrorType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
null,
{
"OnlineTimeScheduleReferenceID": "d293aa16-0a14-4ea2-a950-e3f6704c0857",
"OnlineTimeScheduleCategoryID": "feb45063-4507-41ac-9943-da37f7a660cd",
"OnlineTimeScheduleID": "5c6e562f-4cc5-4ad6-8807-f0ad6091916b",
"EditMode": 0,
"CreatedDate": "2026-06-30T02:59:28.7522355+07:00",
"CreatedBy": "sample string 3",
"ModifiedDate": "2026-06-30T02:59:28.7522355+07:00",
"ModifiedBy": "sample string 4",
"IsGenerate": true,
"IsSetNullForBranchIdInDeleteObject": true
}
],
"Success": true,
"ErrorMessage": "sample string 2",
"ErrorType": 0,
"Total": 3,
"Message": "sample string 4"
}
application/xml, text/xml
Sample:
<APIOrderOnlineResultOfArrayOfOnlineTimeScheduleReference34ouyJuR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MISA.QLNH.BOBase">
<d2p1:OnlineTimeScheduleReference i:nil="true" />
<d2p1:OnlineTimeScheduleReference>
<d2p1:PropertyChangedEvent xmlns:d4p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
<d2p1:_CreatedBy>sample string 3</d2p1:_CreatedBy>
<d2p1:_CreatedDate>2026-06-30T02:59:28.7522355+07:00</d2p1:_CreatedDate>
<d2p1:_EditMode>None</d2p1:_EditMode>
<d2p1:_ImportErrorDetail>sample string 9</d2p1:_ImportErrorDetail>
<d2p1:_ImportRowIndex>8</d2p1:_ImportRowIndex>
<d2p1:_IsGenerate>true</d2p1:_IsGenerate>
<d2p1:_IsMasterRow>true</d2p1:_IsMasterRow>
<d2p1:_IsOverrideImport>true</d2p1:_IsOverrideImport>
<d2p1:_IsSetNullForBranchIdInDeleteObject>true</d2p1:_IsSetNullForBranchIdInDeleteObject>
<d2p1:_ListImportErrorDetail xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>sample string 1</d4p1:string>
<d4p1:string>sample string 2</d4p1:string>
</d2p1:_ListImportErrorDetail>
<d2p1:_ModifiedBy>sample string 4</d2p1:_ModifiedBy>
<d2p1:_ModifiedDate>2026-06-30T02:59:28.7522355+07:00</d2p1:_ModifiedDate>
<d2p1:_TableSchema>sample string 2</d2p1:_TableSchema>
<d2p1:OnlineTimeScheduleCategoryID>feb45063-4507-41ac-9943-da37f7a660cd</d2p1:OnlineTimeScheduleCategoryID>
<d2p1:OnlineTimeScheduleID>5c6e562f-4cc5-4ad6-8807-f0ad6091916b</d2p1:OnlineTimeScheduleID>
<d2p1:OnlineTimeScheduleReferenceID>d293aa16-0a14-4ea2-a950-e3f6704c0857</d2p1:OnlineTimeScheduleReferenceID>
</d2p1:OnlineTimeScheduleReference>
</Data>
<ErrorMessage>sample string 2</ErrorMessage>
<ErrorType>None</ErrorType>
<Message>sample string 4</Message>
<Success>true</Success>
<Total>3</Total>
</APIOrderOnlineResultOfArrayOfOnlineTimeScheduleReference34ouyJuR>