Logo
2cloudnine Payroll API API Documentation

Timesheet Entries Insert

POST {{url}}/services/data/v{{version}}/sobjects/:SOBJECT_API_NAME

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Authorization
string




RESPONSES

status





Curl
curl -X POST 'undefined/services/data/vundefined/sobjects/:SOBJECT_API_NAME' -H 'Content-Type: application/json' -H 'Authorization: Bearer undefined' -d '{"tc9_et__Timesheet__r":{"tc9_et__External_ID__c":"123"},"tc9_et__Assignment__r":{"tc9_pr__External_ID__c":"123"},"tc9_et__Employee__r":{"tc9_pr__External_ID__c":"123"},"tc9_et__Payee__r":{"tc9_pr__External_ID__c":"123"},"tc9_et__Start_Date__c":"2022-12-19","tc9_et__End_Date__c":"2022-12-19","tc9_et__Start_Time__c":"09:00:00.000Z","tc9_et__End_Time__c":"17:00:00.000Z","tc9_et__Submitted_Date__c":"2022-12-20","tc9_et__Approved_Rejected_Date__c":"2022-12-20","tc9_et__Total_Hours__c":8,"tc9_et__Approval_Flag__c":true,"tc9_et__Submitted_Flag__c":2}'

ENDPOINTS