For more information, please refer to this announcement explaining best practices for getting answers to questions.
Need REST API to create Time Card Entries with Project Information
Summary
Need REST API to create Time Card Entries with Project InformationContent
Hi, I'm trying to create the Time card using rest api as below but getting error
Sample Payload :
{
"processMode": "TIME_ENTER",
"processInline": "Y",
"timeRecordEvent": [{
"timeRecordId": "",
"timeRecordVersion": "",
"operationType": "ADD",
"reporterIdType": "PERSON",
"reporterId": "531704",
"assignmentNumber": "",
"startTime": "2021-09-23T09:00:00.000-08:00",
"stopTime": "2021-09-23T17:00:00.000-08:00",
"measure": "8",
"comment": "Simple Project Time Card With Start Time & Stop Time",
"unitOfMeasure": "",
"timeRecordEventAttribute": [{
"attributeName": "PJC_SYSTEM_LINKAGE_FUNCTION",
"attributeValue": "ST"
}, {
"attributeName": "PJC_EXPENDITURE_TYPE_NAME",
"attributeValue": "Regular"
}, {
"attributeName": "PJC_TASK_NAME",
"attributeValue": "REGULAR"
}, {
"attributeName": "PJC_PROJECT_UNIT",
"attributeValue": "300000006674749"
}, {
"attributeName": "PJC_PROJECT_NAME",
"attributeValue": "MIT CAN BU SP"