GET Events/ShiftCode/Initialize?BUID={BUID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
BUID | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
EventShiftCodeDTOName | Description | Type | Additional 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-04T07:45:33.9908669+00:00", "defaultStopTimeUtc": "2024-12-04T07:45:33.9908669+00:00", "businessUnits": [ { "buid": 1, "eventShiftCodesID": 2, "recordState": 1, "created": { "dateUtc": "2024-12-04T07:45:33.9908669+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:45:33 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:45:33.9908669+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:45:33 AM" }, "businessUnitName": "sample string 3" }, { "buid": 1, "eventShiftCodesID": 2, "recordState": 1, "created": { "dateUtc": "2024-12-04T07:45:33.9908669+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:45:33 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:45:33.9908669+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:45:33 AM" }, "businessUnitName": "sample string 3" } ], "startTime": "00:00:00.1234567", "stopTime": "00:00:00.1234567", "sortOrder": 5, "recordState": 1, "created": { "dateUtc": "2024-12-04T07:45:33.9908669+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:45:33 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:45:33.9908669+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:45:33 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-04T07:45:33.9908669+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <EventShiftCodesID>2</EventShiftCodesID> <LastUpdated> <DateUtc>2024-12-04T07:45:33.9908669+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-04T07:45:33.9908669+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <EventShiftCodesID>2</EventShiftCodesID> <LastUpdated> <DateUtc>2024-12-04T07:45:33.9908669+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <RecordState>Active</RecordState> </EventShiftCodeBusinessUnitDTO> </BusinessUnits> <Code>sample string 2</Code> <Created> <DateUtc>2024-12-04T07:45:33.9908669+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <DefaultStartTimeUtc>2024-12-04T07:45:33.9908669+00:00</DefaultStartTimeUtc> <DefaultStopTimeUtc>2024-12-04T07:45:33.9908669+00:00</DefaultStopTimeUtc> <DefaultTimes>true</DefaultTimes> <Description>sample string 3</Description> <EventShiftCodeID>1</EventShiftCodeID> <LastUpdated> <DateUtc>2024-12-04T07:45:33.9908669+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=O�0�+֭���|�xC�0 C� 1�� �;�$��1��8����,����ӽ{w�uo/�=�j�xT+n$^^ �#�B�h���V�� �������<��j�T :��v��[xaG��U�2��I�&4]�9O3�$Ӣ��y^�P�)�-�iG����\��:n��Qr\���nX�E`�2V�?����A���ɝC{-��i�}�ň�$f�t6� ���� �������Eζ�{;'������}z^W�G1�Mc��Y>FoN��Xc%Z���o��~�vY@