GET api/DashboardCompanyOpeningDay?CompanyId={CompanyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CompanyId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CommonCompanyOpeningDay
NameDescriptionTypeAdditional information
DayOfWeek

integer

None.

P1Opened

boolean

None.

P1From

time interval

None.

P1FromStr

string

None.

P1To

time interval

None.

P1ToStr

string

None.

P2Opened

boolean

None.

P2From

time interval

None.

P2FromStr

string

None.

P2To

time interval

None.

P2ToStr

string

None.

P1WorkingPlaceId

string

None.

P2WorkingPlaceId

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DayOfWeek": 1,
    "P1Opened": true,
    "P1From": "00:00:00.1234567",
    "P1FromStr": "00:00",
    "P1To": "00:00:00.1234567",
    "P1ToStr": "00:00",
    "P2Opened": true,
    "P2From": "00:00:00.1234567",
    "P2FromStr": "00:00",
    "P2To": "00:00:00.1234567",
    "P2ToStr": "00:00",
    "P1WorkingPlaceId": "sample string 8",
    "P2WorkingPlaceId": "sample string 9"
  },
  {
    "DayOfWeek": 1,
    "P1Opened": true,
    "P1From": "00:00:00.1234567",
    "P1FromStr": "00:00",
    "P1To": "00:00:00.1234567",
    "P1ToStr": "00:00",
    "P2Opened": true,
    "P2From": "00:00:00.1234567",
    "P2FromStr": "00:00",
    "P2To": "00:00:00.1234567",
    "P2ToStr": "00:00",
    "P1WorkingPlaceId": "sample string 8",
    "P2WorkingPlaceId": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCommonCompanyOpeningDay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MesHalles.Common.Objects">
  <CommonCompanyOpeningDay>
    <DayOfWeek>1</DayOfWeek>
    <P1From>PT0.1234567S</P1From>
    <P1Opened>true</P1Opened>
    <P1To>PT0.1234567S</P1To>
    <P1WorkingPlaceId>sample string 8</P1WorkingPlaceId>
    <P2From>PT0.1234567S</P2From>
    <P2Opened>true</P2Opened>
    <P2To>PT0.1234567S</P2To>
    <P2WorkingPlaceId>sample string 9</P2WorkingPlaceId>
  </CommonCompanyOpeningDay>
  <CommonCompanyOpeningDay>
    <DayOfWeek>1</DayOfWeek>
    <P1From>PT0.1234567S</P1From>
    <P1Opened>true</P1Opened>
    <P1To>PT0.1234567S</P1To>
    <P1WorkingPlaceId>sample string 8</P1WorkingPlaceId>
    <P2From>PT0.1234567S</P2From>
    <P2Opened>true</P2Opened>
    <P2To>PT0.1234567S</P2To>
    <P2WorkingPlaceId>sample string 9</P2WorkingPlaceId>
  </CommonCompanyOpeningDay>
</ArrayOfCommonCompanyOpeningDay>