PUT Setup/AttendanceType/{attendanceTypeID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
attendanceTypeID

integer

Required

Body Parameters

AttendanceTypeDTO
NameDescriptionTypeAdditional 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:40.7846083+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:08:40 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:08:40.7846083+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:08:40 AM"
  },
  "businessUnits": [
    {
      "attendanceTypeID": 1,
      "buid": 2,
      "businessUnitStatusID": 3,
      "startDateUtc": "2024-12-04T08:08:40.7857948+00:00",
      "stopDateUtc": "2024-12-04T08:08:40.7857948+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:40.7846083+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:08:40 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:08:40.7846083+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:08:40 AM"
      },
      "businessUnitName": "sample string 9",
      "statusName": "sample string 10",
      "summary": "sample string 9"
    },
    {
      "attendanceTypeID": 1,
      "buid": 2,
      "businessUnitStatusID": 3,
      "startDateUtc": "2024-12-04T08:08:40.7857948+00:00",
      "stopDateUtc": "2024-12-04T08:08:40.7857948+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:40.7846083+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:08:40 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:08:40.7846083+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:08:40 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:40.7846083+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <LastUpdated>
        <DateUtc>2024-12-04T08:08:40.7846083+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:40.7857948+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:40.7857948+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:40.7846083+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <LastUpdated>
        <DateUtc>2024-12-04T08:08:40.7846083+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:40.7857948+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:40.7857948+00:00</StopDateUtc>
    </AttendanceTypeBusinessUnitDTO>
  </BusinessUnits>
  <Created>
    <DateUtc>2024-12-04T08:08:40.7846083+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <LastUpdated>
    <DateUtc>2024-12-04T08:08:40.7846083+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:
���N1�_eӫ ݲ��ވ\<����x(��l��6���̃��+8E%‚FO���Ф��{yz^1�=h%u����	��Ӳ�3��� B�J�	�a
���Kaီ��+��2�}\$�Xty2�iN'��4��y�9j��1l�Z�e�-2:�E/���v4�b��$��U��E��Ĺ.=���ȤMI�]}�o�A�'w/��|�f0ʒt���?�oA�ѭ��=�h)�������C|a�t��m@z�d55�+�cOO��������>���N������J�R�CުD��iKl��"�$�h���x��솭_O��.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, application/x-compressed-json

Sample:

Sample not available.