POST api/Attendance/GetChildStaffData

Request Information

URI Parameters

None.

Body Parameters

ChildStaffDataRequestModel
NameDescriptionTypeAdditional information
loginid

integer

None.

emailaddress

string

None.

date

string

None.

Request Formats

application/json, text/json

Sample:
{
  "loginid": 1,
  "emailaddress": "sample string 2",
  "date": "sample string 3"
}

application/xml, text/xml

Sample:
<ChildStaffDataRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iCareApiModel">
  <date>sample string 3</date>
  <emailaddress>sample string 2</emailaddress>
  <loginid>1</loginid>
</ChildStaffDataRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ChildStaffDataRequestModel'.

Response Information

Resource Description

ChildStaffDataModel
NameDescriptionTypeAdditional information
child

Collection of ChildStaff

None.

staff

Collection of ChildStaff

None.

Response Formats

application/json, text/json

Sample:
{
  "child": [
    {
      "id": 1,
      "name": "sample string 2",
      "type": "sample string 3",
      "checkin": "sample string 4",
      "checkout": "sample string 5",
      "siteid": 6,
      "questioncount": 7,
      "roomname": "sample string 8",
      "programs": [
        {
          "pcname": "sample string 1",
          "pcid": 2
        },
        {
          "pcname": "sample string 1",
          "pcid": 2
        }
      ],
      "attpkid": 9,
      "roomid": 10,
      "pcid": "sample string 11",
      "programclass": "sample string 12",
      "uniqueid": "sample string 13",
      "tempprogramclasses": "sample string 14",
      "adultid": 15,
      "checkin_sitename": "sample string 16",
      "absence": true,
      "absencetype": "sample string 18",
      "picfile": "sample string 19"
    },
    {
      "id": 1,
      "name": "sample string 2",
      "type": "sample string 3",
      "checkin": "sample string 4",
      "checkout": "sample string 5",
      "siteid": 6,
      "questioncount": 7,
      "roomname": "sample string 8",
      "programs": [
        {
          "pcname": "sample string 1",
          "pcid": 2
        },
        {
          "pcname": "sample string 1",
          "pcid": 2
        }
      ],
      "attpkid": 9,
      "roomid": 10,
      "pcid": "sample string 11",
      "programclass": "sample string 12",
      "uniqueid": "sample string 13",
      "tempprogramclasses": "sample string 14",
      "adultid": 15,
      "checkin_sitename": "sample string 16",
      "absence": true,
      "absencetype": "sample string 18",
      "picfile": "sample string 19"
    }
  ],
  "staff": [
    {
      "id": 1,
      "name": "sample string 2",
      "type": "sample string 3",
      "checkin": "sample string 4",
      "checkout": "sample string 5",
      "siteid": 6,
      "questioncount": 7,
      "roomname": "sample string 8",
      "programs": [
        {
          "pcname": "sample string 1",
          "pcid": 2
        },
        {
          "pcname": "sample string 1",
          "pcid": 2
        }
      ],
      "attpkid": 9,
      "roomid": 10,
      "pcid": "sample string 11",
      "programclass": "sample string 12",
      "uniqueid": "sample string 13",
      "tempprogramclasses": "sample string 14",
      "adultid": 15,
      "checkin_sitename": "sample string 16",
      "absence": true,
      "absencetype": "sample string 18",
      "picfile": "sample string 19"
    },
    {
      "id": 1,
      "name": "sample string 2",
      "type": "sample string 3",
      "checkin": "sample string 4",
      "checkout": "sample string 5",
      "siteid": 6,
      "questioncount": 7,
      "roomname": "sample string 8",
      "programs": [
        {
          "pcname": "sample string 1",
          "pcid": 2
        },
        {
          "pcname": "sample string 1",
          "pcid": 2
        }
      ],
      "attpkid": 9,
      "roomid": 10,
      "pcid": "sample string 11",
      "programclass": "sample string 12",
      "uniqueid": "sample string 13",
      "tempprogramclasses": "sample string 14",
      "adultid": 15,
      "checkin_sitename": "sample string 16",
      "absence": true,
      "absencetype": "sample string 18",
      "picfile": "sample string 19"
    }
  ]
}

application/xml, text/xml

Sample:
<ChildStaffDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iCareApiModel">
  <child>
    <ChildStaff>
      <absence>true</absence>
      <absencetype>sample string 18</absencetype>
      <adultid>15</adultid>
      <attpkid>9</attpkid>
      <checkin>sample string 4</checkin>
      <checkin_sitename>sample string 16</checkin_sitename>
      <checkout>sample string 5</checkout>
      <id>1</id>
      <name>sample string 2</name>
      <pcid>sample string 11</pcid>
      <picfile>sample string 19</picfile>
      <programclass>sample string 12</programclass>
      <programs>
        <ProgramClass>
          <pcid>2</pcid>
          <pcname>sample string 1</pcname>
        </ProgramClass>
        <ProgramClass>
          <pcid>2</pcid>
          <pcname>sample string 1</pcname>
        </ProgramClass>
      </programs>
      <questioncount>7</questioncount>
      <roomid>10</roomid>
      <roomname>sample string 8</roomname>
      <siteid>6</siteid>
      <tempprogramclasses>sample string 14</tempprogramclasses>
      <type>sample string 3</type>
      <uniqueid>sample string 13</uniqueid>
    </ChildStaff>
    <ChildStaff>
      <absence>true</absence>
      <absencetype>sample string 18</absencetype>
      <adultid>15</adultid>
      <attpkid>9</attpkid>
      <checkin>sample string 4</checkin>
      <checkin_sitename>sample string 16</checkin_sitename>
      <checkout>sample string 5</checkout>
      <id>1</id>
      <name>sample string 2</name>
      <pcid>sample string 11</pcid>
      <picfile>sample string 19</picfile>
      <programclass>sample string 12</programclass>
      <programs>
        <ProgramClass>
          <pcid>2</pcid>
          <pcname>sample string 1</pcname>
        </ProgramClass>
        <ProgramClass>
          <pcid>2</pcid>
          <pcname>sample string 1</pcname>
        </ProgramClass>
      </programs>
      <questioncount>7</questioncount>
      <roomid>10</roomid>
      <roomname>sample string 8</roomname>
      <siteid>6</siteid>
      <tempprogramclasses>sample string 14</tempprogramclasses>
      <type>sample string 3</type>
      <uniqueid>sample string 13</uniqueid>
    </ChildStaff>
  </child>
  <staff>
    <ChildStaff>
      <absence>true</absence>
      <absencetype>sample string 18</absencetype>
      <adultid>15</adultid>
      <attpkid>9</attpkid>
      <checkin>sample string 4</checkin>
      <checkin_sitename>sample string 16</checkin_sitename>
      <checkout>sample string 5</checkout>
      <id>1</id>
      <name>sample string 2</name>
      <pcid>sample string 11</pcid>
      <picfile>sample string 19</picfile>
      <programclass>sample string 12</programclass>
      <programs>
        <ProgramClass>
          <pcid>2</pcid>
          <pcname>sample string 1</pcname>
        </ProgramClass>
        <ProgramClass>
          <pcid>2</pcid>
          <pcname>sample string 1</pcname>
        </ProgramClass>
      </programs>
      <questioncount>7</questioncount>
      <roomid>10</roomid>
      <roomname>sample string 8</roomname>
      <siteid>6</siteid>
      <tempprogramclasses>sample string 14</tempprogramclasses>
      <type>sample string 3</type>
      <uniqueid>sample string 13</uniqueid>
    </ChildStaff>
    <ChildStaff>
      <absence>true</absence>
      <absencetype>sample string 18</absencetype>
      <adultid>15</adultid>
      <attpkid>9</attpkid>
      <checkin>sample string 4</checkin>
      <checkin_sitename>sample string 16</checkin_sitename>
      <checkout>sample string 5</checkout>
      <id>1</id>
      <name>sample string 2</name>
      <pcid>sample string 11</pcid>
      <picfile>sample string 19</picfile>
      <programclass>sample string 12</programclass>
      <programs>
        <ProgramClass>
          <pcid>2</pcid>
          <pcname>sample string 1</pcname>
        </ProgramClass>
        <ProgramClass>
          <pcid>2</pcid>
          <pcname>sample string 1</pcname>
        </ProgramClass>
      </programs>
      <questioncount>7</questioncount>
      <roomid>10</roomid>
      <roomname>sample string 8</roomname>
      <siteid>6</siteid>
      <tempprogramclasses>sample string 14</tempprogramclasses>
      <type>sample string 3</type>
      <uniqueid>sample string 13</uniqueid>
    </ChildStaff>
  </staff>
</ChildStaffDataModel>