Hello Community,
I have been searching out for APIs related to Emails. Can anyone guide me out where can I find one? or any references.
Thanks in advance.
Best answer by Vignesh Ponnusamy
View originalHello Community,
I have been searching out for APIs related to Emails. Can anyone guide me out where can I find one? or any references.
Thanks in advance.
Best answer by Vignesh Ponnusamy
View originalI have been trying but it displays the following error, highlighted in red (Task screen)
{
"id": "ebe8fad0-d7ae-ee11-835b-06241492aeb4",
"rowNumber": 1,
"note": {
"value": ""
},
"error": "Inserting 'Activity' record raised at least one error. Please review the errors.",
"Body": {},
"Category": {
"value": "Green"
},
"CompletedAt": {},
"CompletionPercentage": {
"value": 0
},
"CreatedByID": {
"value": "Pra"
},
"CreatedDateTime": {
"value": "2024-01-09T10:14:05.2996104+00:00"
},
"DueDate": {},
"Internal": {
"value": true
},
"LastModifiedDateTime": {
"value": "2024-01-09T10:14:05.2996104+00:00"
},
"NoteID": {
"value": "ebe8fad0-d7ae-ee11-835b-06241492aeb4"
},
"Owner": {
"error": "'Owner' cannot be empty."
},
"Parent": {},
"ParentSummary": {},
"Priority": {
"value": "Normal"
},
"RelatedEntityDescription": {},
"RelatedEntityNoteID": {},
"RelatedEntityType": {},
"StartDate": {},
"Status": {
"value": "Open"
},
"Summary": {
"value": "Test"
},
"WorkgroupID": {},
"custom": {},
"_links": {
"self": "/entity/Default/22.200.001/Task/ebe8fad0-d7ae-ee11-835b-06241492aeb4",
"files:put": "/entity/Default/22.200.001/files/PX.Objects.CR.CRTaskMaint/Tasks/ebe8fad0-d7ae-ee11-835b-06241492aeb4/{filename}"
}
}
For the Owner we have been using value as - Alberto Jimnez - from the demo data. Also tried to enter the Employee ID but displays the same error. How to resolve this?
Hi
You can try using Contact ID in the Owner field. Below is the option to add Contact ID to the field selector, from where you can check the Contact ID of the Owner,
Request Method: PUT
Request URL: <<URL>>/entity/Default/23.200.001/Task
Request Payload:
{
"ParentSummary": {
"value": "Test Two"
},
"Summary": {
"value": "Test Two"
},
"Owner": {
"value": "3219"
}
}
Hope that helps.! Good Luck,
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.