PUT Events/ShiftCode/{eventShiftCodeID}?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
eventShiftCodeID | integer |
Required |
|
validateOnly | boolean |
Default value is False |
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{ "eventShiftCodeID": 1, "code": "sample string 2", "description": "sample string 3", "defaultTimes": true, "defaultStartTimeUtc": "2024-12-04T08:05:07.2741246+00:00", "defaultStopTimeUtc": "2024-12-04T08:05:07.2741246+00:00", "businessUnits": [ { "buid": 1, "eventShiftCodesID": 2, "recordState": 1, "created": { "dateUtc": "2024-12-04T08:05:07.2741246+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:05:07 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T08:05:07.2741246+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:05:07 AM" }, "businessUnitName": "sample string 3" }, { "buid": 1, "eventShiftCodesID": 2, "recordState": 1, "created": { "dateUtc": "2024-12-04T08:05:07.2741246+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:05:07 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T08:05:07.2741246+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:05:07 AM" }, "businessUnitName": "sample string 3" } ], "startTime": "00:00:00.1234567", "stopTime": "00:00:00.1234567", "sortOrder": 5, "recordState": 1, "created": { "dateUtc": "2024-12-04T08:05:07.2741246+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:05:07 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T08:05:07.2741246+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:05:07 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:05:07.2741246+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <EventShiftCodesID>2</EventShiftCodesID> <LastUpdated> <DateUtc>2024-12-04T08:05:07.2741246+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:05:07.2741246+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <EventShiftCodesID>2</EventShiftCodesID> <LastUpdated> <DateUtc>2024-12-04T08:05:07.2741246+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <RecordState>Active</RecordState> </EventShiftCodeBusinessUnitDTO> </BusinessUnits> <Code>sample string 2</Code> <Created> <DateUtc>2024-12-04T08:05:07.2741246+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <DefaultStartTimeUtc>2024-12-04T08:05:07.2741246+00:00</DefaultStartTimeUtc> <DefaultStopTimeUtc>2024-12-04T08:05:07.2741246+00:00</DefaultStopTimeUtc> <DefaultTimes>true</DefaultTimes> <Description>sample string 3</Description> <EventShiftCodeID>1</EventShiftCodeID> <LastUpdated> <DateUtc>2024-12-04T08:05:07.2741246+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-www-form-urlencoded
Sample:
Sample not available.
application/x-compressed-json
Sample:
� �S�N�0��V��q�yC�0 C� 1�� �;�$���$~'T�"�1T�p�w��ݳ���|B�zέ��iUA��M[#��i�@$��WN�A[��g#��]��A"��r� ����\F��lB��� �ZLY�S��'� Ja�i���;� z_���>f�W���f 8��SQb��02zP18|r��]�f�{�k�w1b Iٌφdӛ�]�:�Z�P���ٶvo�,V��S��b����(&�i�2�ϋa��~@�7N����P9�wG�)�@
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |