GET api/CheckIn/Activity/Data?from={from}&to={to}&page={page}&limit={limit}&sort={sort}&search={search}&byRole={byRole}&byDept={byDept}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| view | string |
None. |
|
| employee | Collection of integer |
None. |
|
| region | Collection of string |
None. |
|
| branch | Collection of string |
None. |
|
| department | Collection of string |
None. |
|
| region_id | integer |
None. |
|
| branch_id | integer |
None. |
|
| department_id | integer |
None. |
|
| role | Collection of string |
None. |
|
| role_type | Collection of string |
None. |
|
| status | Collection of string |
None. |
|
| checkin_option | string |
None. |
|
| ppe_open_item_option | string |
None. |
|
| certificate_status_option | string |
None. |
|
| ppe_group | Collection of integer |
None. |
|
| ppe_type | Collection of integer |
None. |
|
| ppe_make | Collection of integer |
None. |
|
| hazard_type | Collection of integer |
None. |
|
| hazard | integer |
None. |
|
| ppe | integer |
None. |
|
| inactive | string |
None. |
|
| sales_lead | integer |
None. |
|
| exclude_sales_lead | integer |
None. |
|
| date | FilterTimeFrame |
None. |
|
| day | date |
None. |
|
| from | date |
None. |
|
| to | date |
None. |
|
| active_on_process | boolean |
None. |
|
| year | integer |
None. |
|
| jumper | integer |
None. |
|
| dob_elevator_company | string |
None. |
|
| dob_consultant | string |
None. |
|
| dob_location | string |
None. |
|
| inspection_phase | string |
None. |
|
| DobElCo | string |
None. |
|
| DobConsultant | string |
None. |
|
| DobLocation | string |
None. |
|
| job | integer |
None. |
|
| task | integer |
None. |
|
| job_type | string |
None. |
|
| open_item_link_id | integer |
None. |
|
| exclude_open_item_id | integer |
None. |
|
| osha_injury_report | integer |
None. |
|
| osha_injury_option | string |
None. |
|
| osha_injury_type | string |
None. |
|
| DobStartDate | date |
None. |
|
| support_ticket_option | string |
None. |
|
| message_type | string |
None. |
|
| DobEndDate | date |
None. |
|
| content | integer |
None. |
|
| certification | integer |
None. |
|
| training_program | integer |
None. |
|
| training_course | integer |
None. |
|
| training_class | integer |
None. |
|
| scheduled | boolean |
None. |
|
| device | Collection of integer |
None. |
|
| building | integer |
None. |
|
| company | integer |
None. |
|
| building_owner | integer |
None. |
|
| elevator_part | integer |
None. |
|
| elevator_part_condition | integer |
None. |
|
| elevator_part_category | integer |
None. |
|
| remedy | integer |
None. |
|
| super | integer |
None. |
|
| work | integer |
None. |
|
| elevator_open_item_option | string |
None. |
|
| sales_open_item | integer |
None. |
|
| sales_open_item_option | string |
None. |
|
| sales_open_item_part_option | string |
None. |
|
| elevator_open_item_bucket | Collection of string |
None. |
|
| sales_open_item_bucket | Collection of string |
None. |
|
| route | integer |
None. |
|
| jumper_option | string |
None. |
|
| work_type | Collection of string |
None. |
|
| inspection_test_type | Collection of integer |
None. |
|
| id | Collection of integer |
None. |
|
| type | string |
None. |
|
| is_custom_jha | string |
None. |
|
| jha_in | boolean |
None. |
|
| jha_without | boolean |
None. |
|
| process | integer |
None. |
|
| process_audit_status | string |
None. |
|
| from | date |
Required |
|
| to | date |
Required |
|
| page | integer |
Default value is 1 |
|
| limit | integer |
Default value is 10 |
|
| sort | string |
Default value is Title |
|
| search | string |
Default value is |
|
| byRole | string |
Default value is |
|
| byDept | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
CheckInActivityPacker| Name | Description | Type | Additional information |
|---|---|---|---|
| headers | Collection of ActivityHeader |
None. |
|
| data | Collection of StaffDays |
None. |
|
| meta | MetaData |
None. |
Response Formats
application/json, text/json
Sample:
{
"headers": [
{
"Title": "sample string 1",
"Description": "sample string 2",
"Id": 3
},
{
"Title": "sample string 1",
"Description": "sample string 2",
"Id": 3
}
],
"data": [
{
"FullName": "sample string 1",
"Role": "sample string 2",
"Department": "sample string 3",
"Values": [
{
"Day": "sample string 1",
"Index": 2,
"Value": "sample string 3",
"Status": "sample string 4",
"Optional": true,
"Future": true
},
{
"Day": "sample string 1",
"Index": 2,
"Value": "sample string 3",
"Status": "sample string 4",
"Optional": true,
"Future": true
}
],
"Id": 4,
"IsFlagged": true
},
{
"FullName": "sample string 1",
"Role": "sample string 2",
"Department": "sample string 3",
"Values": [
{
"Day": "sample string 1",
"Index": 2,
"Value": "sample string 3",
"Status": "sample string 4",
"Optional": true,
"Future": true
},
{
"Day": "sample string 1",
"Index": 2,
"Value": "sample string 3",
"Status": "sample string 4",
"Optional": true,
"Future": true
}
],
"Id": 4,
"IsFlagged": true
}
],
"meta": {
"current_page": 1,
"from": 2,
"last_page": 3,
"per_page": 4,
"to": 5,
"total": 6,
"sort": "sample string 7"
}
}
application/xml, text/xml
Sample:
<CheckInActivityPacker xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Icculus.Portal.Controllers">
<data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Icculus.Portal.Common.Models.Toolbox">
<d2p1:StaffDays>
<d2p1:Department>sample string 3</d2p1:Department>
<d2p1:FullName>sample string 1</d2p1:FullName>
<d2p1:Id>4</d2p1:Id>
<d2p1:IsFlagged>true</d2p1:IsFlagged>
<d2p1:Role>sample string 2</d2p1:Role>
<d2p1:Values>
<d2p1:DayState>
<d2p1:Day>sample string 1</d2p1:Day>
<d2p1:Future>true</d2p1:Future>
<d2p1:Index>2</d2p1:Index>
<d2p1:Optional>true</d2p1:Optional>
<d2p1:Status>sample string 4</d2p1:Status>
<d2p1:Value>sample string 3</d2p1:Value>
</d2p1:DayState>
<d2p1:DayState>
<d2p1:Day>sample string 1</d2p1:Day>
<d2p1:Future>true</d2p1:Future>
<d2p1:Index>2</d2p1:Index>
<d2p1:Optional>true</d2p1:Optional>
<d2p1:Status>sample string 4</d2p1:Status>
<d2p1:Value>sample string 3</d2p1:Value>
</d2p1:DayState>
</d2p1:Values>
</d2p1:StaffDays>
<d2p1:StaffDays>
<d2p1:Department>sample string 3</d2p1:Department>
<d2p1:FullName>sample string 1</d2p1:FullName>
<d2p1:Id>4</d2p1:Id>
<d2p1:IsFlagged>true</d2p1:IsFlagged>
<d2p1:Role>sample string 2</d2p1:Role>
<d2p1:Values>
<d2p1:DayState>
<d2p1:Day>sample string 1</d2p1:Day>
<d2p1:Future>true</d2p1:Future>
<d2p1:Index>2</d2p1:Index>
<d2p1:Optional>true</d2p1:Optional>
<d2p1:Status>sample string 4</d2p1:Status>
<d2p1:Value>sample string 3</d2p1:Value>
</d2p1:DayState>
<d2p1:DayState>
<d2p1:Day>sample string 1</d2p1:Day>
<d2p1:Future>true</d2p1:Future>
<d2p1:Index>2</d2p1:Index>
<d2p1:Optional>true</d2p1:Optional>
<d2p1:Status>sample string 4</d2p1:Status>
<d2p1:Value>sample string 3</d2p1:Value>
</d2p1:DayState>
</d2p1:Values>
</d2p1:StaffDays>
</data>
<headers xmlns:d2p1="http://schemas.datacontract.org/2004/07/Icculus.Portal.Common.Models.Charts">
<d2p1:ActivityHeader>
<d2p1:Description>sample string 2</d2p1:Description>
<d2p1:Id>3</d2p1:Id>
<d2p1:Title>sample string 1</d2p1:Title>
</d2p1:ActivityHeader>
<d2p1:ActivityHeader>
<d2p1:Description>sample string 2</d2p1:Description>
<d2p1:Id>3</d2p1:Id>
<d2p1:Title>sample string 1</d2p1:Title>
</d2p1:ActivityHeader>
</headers>
<meta xmlns:d2p1="http://schemas.datacontract.org/2004/07/Icculus.Portal.Common">
<d2p1:current_page>1</d2p1:current_page>
<d2p1:from>2</d2p1:from>
<d2p1:last_page>3</d2p1:last_page>
<d2p1:per_page>4</d2p1:per_page>
<d2p1:sort>sample string 7</d2p1:sort>
<d2p1:to>5</d2p1:to>
<d2p1:total>6</d2p1:total>
</meta>
</CheckInActivityPacker>