GET api/ERP/Shift
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ShiftDataModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Organization | integer |
None. |
|
| OrganizationTitle | string |
None. |
|
| Functions | integer |
None. |
|
| FunctionTitle | string |
None. |
|
| ShopID | integer |
None. |
|
| ShopNumber | string |
None. |
|
| DivisionTitle | string |
None. |
|
| ShiftName | string |
None. |
|
| ShiftOneFrom | time interval |
None. |
|
| ShiftOneTo | time interval |
None. |
|
| ShiftTwoFrom | time interval |
None. |
|
| ShiftTwoTo | time interval |
None. |
|
| ShiftThreeFrom | time interval |
None. |
|
| ShiftThreeTo | time interval |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"Organization": 2,
"OrganizationTitle": "sample string 3",
"Functions": 1,
"FunctionTitle": "sample string 4",
"ShopID": 1,
"ShopNumber": "sample string 5",
"DivisionTitle": "sample string 6",
"ShiftName": "sample string 7",
"ShiftOneFrom": "00:00:00.1234567",
"ShiftOneTo": "00:00:00.1234567",
"ShiftTwoFrom": "00:00:00.1234567",
"ShiftTwoTo": "00:00:00.1234567",
"ShiftThreeFrom": "00:00:00.1234567",
"ShiftThreeTo": "00:00:00.1234567"
},
{
"ID": 1,
"Organization": 2,
"OrganizationTitle": "sample string 3",
"Functions": 1,
"FunctionTitle": "sample string 4",
"ShopID": 1,
"ShopNumber": "sample string 5",
"DivisionTitle": "sample string 6",
"ShiftName": "sample string 7",
"ShiftOneFrom": "00:00:00.1234567",
"ShiftOneTo": "00:00:00.1234567",
"ShiftTwoFrom": "00:00:00.1234567",
"ShiftTwoTo": "00:00:00.1234567",
"ShiftThreeFrom": "00:00:00.1234567",
"ShiftThreeTo": "00:00:00.1234567"
}
]
application/xml, text/xml
Sample:
<ArrayOfShiftDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPAPI.Models">
<ShiftDataModel>
<DivisionTitle>sample string 6</DivisionTitle>
<FunctionTitle>sample string 4</FunctionTitle>
<Functions>1</Functions>
<ID>1</ID>
<Organization>2</Organization>
<OrganizationTitle>sample string 3</OrganizationTitle>
<ShiftName>sample string 7</ShiftName>
<ShiftOneFrom>PT0.1234567S</ShiftOneFrom>
<ShiftOneTo>PT0.1234567S</ShiftOneTo>
<ShiftThreeFrom>PT0.1234567S</ShiftThreeFrom>
<ShiftThreeTo>PT0.1234567S</ShiftThreeTo>
<ShiftTwoFrom>PT0.1234567S</ShiftTwoFrom>
<ShiftTwoTo>PT0.1234567S</ShiftTwoTo>
<ShopID>1</ShopID>
<ShopNumber>sample string 5</ShopNumber>
</ShiftDataModel>
<ShiftDataModel>
<DivisionTitle>sample string 6</DivisionTitle>
<FunctionTitle>sample string 4</FunctionTitle>
<Functions>1</Functions>
<ID>1</ID>
<Organization>2</Organization>
<OrganizationTitle>sample string 3</OrganizationTitle>
<ShiftName>sample string 7</ShiftName>
<ShiftOneFrom>PT0.1234567S</ShiftOneFrom>
<ShiftOneTo>PT0.1234567S</ShiftOneTo>
<ShiftThreeFrom>PT0.1234567S</ShiftThreeFrom>
<ShiftThreeTo>PT0.1234567S</ShiftThreeTo>
<ShiftTwoFrom>PT0.1234567S</ShiftTwoFrom>
<ShiftTwoTo>PT0.1234567S</ShiftTwoTo>
<ShopID>1</ShopID>
<ShopNumber>sample string 5</ShopNumber>
</ShiftDataModel>
</ArrayOfShiftDataModel>