POST Setup/AttendanceType
Request Information
URI Parameters
None.
Body Parameters
AttendanceTypeDTOName | Description | Type | Additional information |
---|---|---|---|
AttendanceTypeID | integer |
None. |
|
Name | string |
None. |
|
Props | Collection of Object |
None. |
|
RecordState | RecordState |
None. |
|
Created | AuditDataDTO |
None. |
|
LastUpdated | AuditDataDTO |
None. |
|
BusinessUnits | Collection of AttendanceTypeBusinessUnitDTO |
None. |
|
Addresses | AddressesDTO |
None. |
|
Summary | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "attendanceTypeID": 1, "name": "sample string 2", "recordState": 1, "created": { "dateUtc": "2024-12-04T08:08:53.8354063+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:08:53 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T08:08:53.8354063+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:08:53 AM" }, "businessUnits": [ { "attendanceTypeID": 1, "buid": 2, "businessUnitStatusID": 3, "startDateUtc": "2024-12-04T08:08:53.8354063+00:00", "stopDateUtc": "2024-12-04T08:08:53.8354063+00:00", "statusReason": "sample string 5", "statusReason2": "sample string 6", "props": [], "statusComments": "sample string 7", "referralSource": "sample string 8", "recordState": 1, "created": { "dateUtc": "2024-12-04T08:08:53.8354063+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:08:53 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T08:08:53.8354063+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:08:53 AM" }, "businessUnitName": "sample string 9", "statusName": "sample string 10", "summary": "sample string 9" }, { "attendanceTypeID": 1, "buid": 2, "businessUnitStatusID": 3, "startDateUtc": "2024-12-04T08:08:53.8354063+00:00", "stopDateUtc": "2024-12-04T08:08:53.8354063+00:00", "statusReason": "sample string 5", "statusReason2": "sample string 6", "props": [], "statusComments": "sample string 7", "referralSource": "sample string 8", "recordState": 1, "created": { "dateUtc": "2024-12-04T08:08:53.8354063+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:08:53 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T08:08:53.8354063+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:08:53 AM" }, "businessUnitName": "sample string 9", "statusName": "sample string 10", "summary": "sample string 9" } ], "addresses": { "list": [], "partialData": 1 }, "summary": "AttendanceTypeDTO" }
application/xml, text/xml
Sample:
<AttendanceTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <Addresses> <List /> <PartialData>FullData</PartialData> </Addresses> <AttendanceTypeID>1</AttendanceTypeID> <BusinessUnits> <AttendanceTypeBusinessUnitDTO> <AttendanceTypeID>1</AttendanceTypeID> <BUID>2</BUID> <BusinessUnitName>sample string 9</BusinessUnitName> <BusinessUnitStatusID>3</BusinessUnitStatusID> <Created> <DateUtc>2024-12-04T08:08:53.8354063+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <LastUpdated> <DateUtc>2024-12-04T08:08:53.8354063+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <Props xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" /> <RecordState>Active</RecordState> <ReferralSource>sample string 8</ReferralSource> <StartDateUtc>2024-12-04T08:08:53.8354063+00:00</StartDateUtc> <StatusComments>sample string 7</StatusComments> <StatusName>sample string 10</StatusName> <StatusReason>sample string 5</StatusReason> <StatusReason2>sample string 6</StatusReason2> <StopDateUtc>2024-12-04T08:08:53.8354063+00:00</StopDateUtc> </AttendanceTypeBusinessUnitDTO> <AttendanceTypeBusinessUnitDTO> <AttendanceTypeID>1</AttendanceTypeID> <BUID>2</BUID> <BusinessUnitName>sample string 9</BusinessUnitName> <BusinessUnitStatusID>3</BusinessUnitStatusID> <Created> <DateUtc>2024-12-04T08:08:53.8354063+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <LastUpdated> <DateUtc>2024-12-04T08:08:53.8354063+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <Props xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" /> <RecordState>Active</RecordState> <ReferralSource>sample string 8</ReferralSource> <StartDateUtc>2024-12-04T08:08:53.8354063+00:00</StartDateUtc> <StatusComments>sample string 7</StatusComments> <StatusName>sample string 10</StatusName> <StatusReason>sample string 5</StatusReason> <StatusReason2>sample string 6</StatusReason2> <StopDateUtc>2024-12-04T08:08:53.8354063+00:00</StopDateUtc> </AttendanceTypeBusinessUnitDTO> </BusinessUnits> <Created> <DateUtc>2024-12-04T08:08:53.8354063+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <LastUpdated> <DateUtc>2024-12-04T08:08:53.8354063+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <Name>sample string 2</Name> <Props xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" /> <RecordState>Active</RecordState> </AttendanceTypeDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/x-compressed-json
Sample:
� 풿N�0�_%�JK'-m��.�D� 1��"%��s���1�H���G�i��R%������~��/+&���.!_Z���,�1-`C��"��O�`=�4Nͽ���X�b�.�/��"�Ǣ�Ӝ�3:��|�S>J�8�8�B-��9�m�H��EFG���`}Ԏ��l�c�D_X�W�Y�Xi@,t�e�&�h+jWl��|[��ܽt~vT���#8ށD�;9�;�Q�Ha��!�ç��4 �~G}�����ܴ��}|b헬�<�������<!��'x�+��R��#����пo���� 6I;Z�2��}�߲�v���.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, application/x-compressed-json
Sample:
Sample not available.