GET Events/ShiftCode/{eventShiftCodeID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
eventShiftCodeID

integer

Required

Body Parameters

None.

Response Information

Resource Description

EventShiftCodeDTO
NameDescriptionTypeAdditional information
EventShiftCodeID

integer

None.

Code

string

None.

Description

string

None.

DefaultTimes

boolean

None.

DefaultStartTimeUtc

date

None.

DefaultStopTimeUtc

date

None.

BusinessUnits

Collection of EventShiftCodeBusinessUnitDTO

None.

StartTime

time interval

None.

StopTime

time interval

None.

SortOrder

integer

None.

Props

Collection of Object

None.

RecordState

RecordState

None.

Created

AuditDataDTO

None.

LastUpdated

AuditDataDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "eventShiftCodeID": 1,
  "code": "sample string 2",
  "description": "sample string 3",
  "defaultTimes": true,
  "defaultStartTimeUtc": "2024-12-04T08:15:25.152189+00:00",
  "defaultStopTimeUtc": "2024-12-04T08:15:25.152189+00:00",
  "businessUnits": [
    {
      "buid": 1,
      "eventShiftCodesID": 2,
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T08:15:25.152189+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:15:25 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:15:25.152189+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:15:25 AM"
      },
      "businessUnitName": "sample string 3"
    },
    {
      "buid": 1,
      "eventShiftCodesID": 2,
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T08:15:25.152189+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:15:25 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:15:25.152189+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:15:25 AM"
      },
      "businessUnitName": "sample string 3"
    }
  ],
  "startTime": "00:00:00.1234567",
  "stopTime": "00:00:00.1234567",
  "sortOrder": 5,
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T08:15:25.152189+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:15:25 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:15:25.152189+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:15:25 AM"
  }
}

application/xml, text/xml

Sample:
<EventShiftCodeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
  <BusinessUnits>
    <EventShiftCodeBusinessUnitDTO>
      <BUID>1</BUID>
      <BusinessUnitName>sample string 3</BusinessUnitName>
      <Created>
        <DateUtc>2024-12-04T08:15:25.152189+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <EventShiftCodesID>2</EventShiftCodesID>
      <LastUpdated>
        <DateUtc>2024-12-04T08:15:25.152189+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <RecordState>Active</RecordState>
    </EventShiftCodeBusinessUnitDTO>
    <EventShiftCodeBusinessUnitDTO>
      <BUID>1</BUID>
      <BusinessUnitName>sample string 3</BusinessUnitName>
      <Created>
        <DateUtc>2024-12-04T08:15:25.152189+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <EventShiftCodesID>2</EventShiftCodesID>
      <LastUpdated>
        <DateUtc>2024-12-04T08:15:25.152189+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <RecordState>Active</RecordState>
    </EventShiftCodeBusinessUnitDTO>
  </BusinessUnits>
  <Code>sample string 2</Code>
  <Created>
    <DateUtc>2024-12-04T08:15:25.152189+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <DefaultStartTimeUtc>2024-12-04T08:15:25.152189+00:00</DefaultStartTimeUtc>
  <DefaultStopTimeUtc>2024-12-04T08:15:25.152189+00:00</DefaultStopTimeUtc>
  <DefaultTimes>true</DefaultTimes>
  <Description>sample string 3</Description>
  <EventShiftCodeID>1</EventShiftCodeID>
  <LastUpdated>
    <DateUtc>2024-12-04T08:15:25.152189+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <Props xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
  <RecordState>Active</RecordState>
  <SortOrder>5</SortOrder>
  <StartTime>PT0.1234567S</StartTime>
  <StopTime>PT0.1234567S</StopTime>
</EventShiftCodeDTO>

application/x-compressed-json

Sample:
��S�N�0��V��v(�,��fB!������e|��
*j�ʂ*y8��{�Y~{y������,��i��%�b	
Bٴ5�@��&!���%������j��(�~�fT�(��\�e6rij9�*�+��E.���s�9l]�+�}��
k(���c����w�aeW&�r^G���=�22zб�{q�_����B�4��Ƙ�L�I6Ym`����
�	�e����D�f�;'���!�?L�.���W��32��������u�n�F*?��~j��	�X8