GET api/Filters/SiteShifts?SiteID={SiteID}

Gets SiteShifts

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SiteID

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of SiteTATConfig
NameDescriptionTypeAdditional information
SiteTATConfigID

integer

None.

SiteID

integer

None.

ShiftName

string

Required

String length: inclusive between 0 and 200

StartTime

time interval

None.

EndTime

time interval

None.

WorkingDays

Dictionary of string [key] and boolean [value]

None.

Sunday

boolean

None.

Monday

boolean

None.

Tuesday

boolean

None.

Wednesday

boolean

None.

Thursday

boolean

None.

Friday

boolean

None.

Saturday

boolean

None.

IsEnabled

boolean

None.

StartDate

date

None.

EndDate

date

None.

CreatedUserID

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SiteTATConfigID": 1,
    "SiteID": 2,
    "ShiftName": "sample string 3",
    "StartTime": "00:00:00.1234567",
    "EndTime": "00:00:00.1234567",
    "WorkingDays": {
      "sample string 1": true,
      "sample string 3": true
    },
    "Sunday": true,
    "Monday": true,
    "Tuesday": true,
    "Wednesday": true,
    "Thursday": true,
    "Friday": true,
    "Saturday": true,
    "IsEnabled": true,
    "StartDate": "2018-10-17T14:26:49.2510209+00:00",
    "EndDate": "2018-10-17T14:26:49.2510209+00:00",
    "CreatedUserID": 16
  },
  {
    "SiteTATConfigID": 1,
    "SiteID": 2,
    "ShiftName": "sample string 3",
    "StartTime": "00:00:00.1234567",
    "EndTime": "00:00:00.1234567",
    "WorkingDays": {
      "sample string 1": true,
      "sample string 3": true
    },
    "Sunday": true,
    "Monday": true,
    "Tuesday": true,
    "Wednesday": true,
    "Thursday": true,
    "Friday": true,
    "Saturday": true,
    "IsEnabled": true,
    "StartDate": "2018-10-17T14:26:49.2510209+00:00",
    "EndDate": "2018-10-17T14:26:49.2510209+00:00",
    "CreatedUserID": 16
  }
]

application/xml, text/xml

Sample:
<ArrayOfSiteTATConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sysmex.IT.NsGlobal.Models.CRM">
  <SiteTATConfig>
    <CreatedDateTime>2018-10-17T14:26:49.2510209+00:00</CreatedDateTime>
    <CreatedUserID>16</CreatedUserID>
    <UpdatedDateTime>2018-10-17T14:26:49.2510209+00:00</UpdatedDateTime>
    <UpdatedUserID>1</UpdatedUserID>
    <EndDate>2018-10-17T14:26:49.2510209+00:00</EndDate>
    <EndTime>PT0.1234567S</EndTime>
    <Friday>true</Friday>
    <IsEnabled>true</IsEnabled>
    <Monday>true</Monday>
    <Saturday>true</Saturday>
    <ShiftName>sample string 3</ShiftName>
    <SiteID>2</SiteID>
    <SiteTATConfigID>1</SiteTATConfigID>
    <StartDate>2018-10-17T14:26:49.2510209+00:00</StartDate>
    <StartTime>PT0.1234567S</StartTime>
    <Sunday>true</Sunday>
    <Thursday>true</Thursday>
    <Tuesday>true</Tuesday>
    <Wednesday>true</Wednesday>
    <WorkingDays xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringboolean>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>true</d3p1:Value>
      </d3p1:KeyValueOfstringboolean>
      <d3p1:KeyValueOfstringboolean>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>true</d3p1:Value>
      </d3p1:KeyValueOfstringboolean>
    </WorkingDays>
  </SiteTATConfig>
  <SiteTATConfig>
    <CreatedDateTime>2018-10-17T14:26:49.2510209+00:00</CreatedDateTime>
    <CreatedUserID>16</CreatedUserID>
    <UpdatedDateTime>2018-10-17T14:26:49.2510209+00:00</UpdatedDateTime>
    <UpdatedUserID>1</UpdatedUserID>
    <EndDate>2018-10-17T14:26:49.2510209+00:00</EndDate>
    <EndTime>PT0.1234567S</EndTime>
    <Friday>true</Friday>
    <IsEnabled>true</IsEnabled>
    <Monday>true</Monday>
    <Saturday>true</Saturday>
    <ShiftName>sample string 3</ShiftName>
    <SiteID>2</SiteID>
    <SiteTATConfigID>1</SiteTATConfigID>
    <StartDate>2018-10-17T14:26:49.2510209+00:00</StartDate>
    <StartTime>PT0.1234567S</StartTime>
    <Sunday>true</Sunday>
    <Thursday>true</Thursday>
    <Tuesday>true</Tuesday>
    <Wednesday>true</Wednesday>
    <WorkingDays xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringboolean>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>true</d3p1:Value>
      </d3p1:KeyValueOfstringboolean>
      <d3p1:KeyValueOfstringboolean>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>true</d3p1:Value>
      </d3p1:KeyValueOfstringboolean>
    </WorkingDays>
  </SiteTATConfig>
</ArrayOfSiteTATConfig>