Integrated Timekeeping
POSTTime Card Items
https://am-ce98c.corrigo.com/api/v1/query/TimeCard
AUTHORIZATIONOAuth 2.0
HEADERS
CompanyName
RDC CE Sandbox
Content-Type
application/json
Bodyraw (json)
json
{
"QueryExpression":
{
"Criteria": {
"Conditions": [
{
"PropertyName": "Id",
"Operator": "NotEqual",
"Values": ["2"]
}
],
"FilterOperator": "And"
},
"Distinct": true,
"PropertySet": { "Properties" : ["*"]},
"Count": 2,
"FirstResultIndex": 0
}
}
Example Request
Time Card Items
curl
curl --location 'https://am-ce98c.corrigo.com/api/v1/query/TimeCard' \
--header 'CompanyName: RDC CE Sandbox' \
--header 'Content-Type: application/json' \
--data '{
"QueryExpression":
{
"Criteria": {
"Conditions": [
{
"PropertyName": "Id",
"Operator": "NotEqual",
"Values": ["2"]
}
],
"FilterOperator": "And"
},
"Distinct": true,
"PropertySet": { "Properties" : ["*"]},
"Count": 2,
"FirstResultIndex": 0
}
}
'
200 OK
Example Response
json
{
"Entities": [
{
"Data": {
"WeekStartDate": "2016-11-27T00:00:00",
"Employee": {
"Id": 154
},
"Flagged": 0,
"StatusId": "Pending",
"Week": {
"Id": 736294
},
"ConcurrencyId": 1,
"Id": 3
}
},
{
"Data": {
"WeekStartDate": "2016-12-04T00:00:00",
"Employee": {
"Id": 154
},
"Flagged": 0,
"StatusId": "Pending",
"Week": {
"Id": 736301
},
"ConcurrencyId": 1,
"Id": 4
}
}
]
}
Cache-Control
no-cache
Pragma
no-cache
Content-Type
application/json; charset=utf-8
Expires
-1
Date
Tue, 12 Apr 2022 08:38:45 GMT
Content-Length
314
Strict-Transport-Security
max-age=31536000; includeSubDomains
POSTTime Cards
https://am-ce98c.corrigo.com/api/v1/query/TimeCard
AUTHORIZATIONOAuth 2.0
HEADERS
CompanyName
RDC CE Sandbox
Content-Type
application/json
Bodyraw (json)
json
{
"QueryExpression":
{
"Criteria": {
"Conditions": [
{
"PropertyName": "Id",
"Operator": "NotEqual",
"Values": ["2"]
}
],
"FilterOperator": "And"
},
"Distinct": true,
"PropertySet": { "Properties" : ["*"]},
"Count": 2,
"FirstResultIndex": 0
}
}
Example Request
Time Cards
curl
curl --location 'https://am-ce98c.corrigo.com/api/v1/query/TimeCard' \
--header 'CompanyName: RDC CE Sandbox' \
--header 'Content-Type: application/json' \
--data '{
"QueryExpression":
{
"Criteria": {
"Conditions": [
{
"PropertyName": "Id",
"Operator": "Equal",
"Values": ["2"]
}
],
"FilterOperator": "And"
},
"Distinct": true,
"PropertySet": { "Properties" : ["*"]},
"Count": 2,
"FirstResultIndex": 0
}
}'
200 OK
Example Response
json
{
"Entities": [
{
"Data": {
"WeekStartDate": "2016-11-20T00:00:00",
"Employee": {
"Id": 154
},
"Flagged": 0,
"StatusId": "Pending",
"Week": {
"Id": 736287
},
"ConcurrencyId": 1,
"Id": 2
}
}
]
}
Cache-Control
no-cache
Pragma
no-cache
Content-Type
application/json; charset=utf-8
Expires
-1
Date
Tue, 08 Mar 2022 08:26:59 GMT
Content-Length
164
Strict-Transport-Security
max-age=31536000; includeSubDomains
POSTLabor Codes
https://am-ce98c.corrigo.com/api/v1/query/LaborCode
AUTHORIZATIONOAuth 2.0
HEADERS
CompanyName
RDC CE Sandbox
Content-Type
application/json
Bodyraw (json)
json
{
"QueryExpression":
{
"Criteria": {
"Conditions": [
{
"PropertyName": "DisplayAs",
"Operator": "NotEqual",
"Values": ["1234"]
}
],
"FilterOperator": "And"
},
"Distinct": true,
"PropertySet": { "Properties" : ["*"]},
"Count": 2,
"FirstResultIndex": 0
}
}
Example Request
Labor Codes
curl
curl --location 'https://am-ce98c.corrigo.com/api/v1/query/LaborCode' \
--header 'CompanyName: RDC CE Sandbox' \
--header 'Content-Type: application/json' \
--data '
{
"QueryExpression":
{
"Criteria": {
"Conditions": [
{
"PropertyName": "DisplayAs",
"Operator": "NotEqual",
"Values": ["1234"]
}
],
"FilterOperator": "And"
},
"Distinct": true,
"PropertySet": { "Properties" : ["*"]},
"Count": 2,
"FirstResultIndex": 0
}
}
'
200 OK
Example Response
json
{
"Entities": [
{
"Data": {
"Description": "Standard Labor",
"DisplayAs": "Std (deleted)",
"IsDefault": false,
"ShowForWo": true,
"IsTimeCard": true,
"IsProductive": true,
"IsPaid": true,
"IsShortcut": false,
"IsDefTimeCard": false,
"ExternalCode": "",
"TypeId": "Time",
"Rate": 0,
"CurrencyTypeId": "Unknown",
"IsRemoved": true,
"ConcurrencyId": 6,
"Id": 1
}
},
{
"Data": {
"Description": "WOMaint(Wrch Time)",
"DisplayAs": "WOMaint(Wrch Time)",
"IsDefault": false,
"ShowForWo": true,
"IsTimeCard": true,
"IsProductive": true,
"IsPaid": true,
"IsShortcut": false,
"IsDefTimeCard": false,
"ExternalCode": "",
"TypeId": "Time",
"Rate": 0,
"CurrencyTypeId": "Unknown",
"IsRemoved": false,
"ConcurrencyId": 2,
"Id": 2
}
}
]
}
Cache-Control
no-cache
Pragma
no-cache
Content-Type
application/json; charset=utf-8
Expires
-1
Date
Tue, 08 Mar 2022 08:27:05 GMT
Content-Length
648
Strict-Transport-Security
max-age=31536000; includeSubDomains