Hi JonB, the response back…
Hi JonB, the response back from postman is simply the absence of the attribute in the payload.
It appears icims permits you to add any value you want to the fields parameter and it ignores ones that are not valid.
Here's the output with actual values changed for privacy.
{
"firstname": "Jane",
"field45709": {
"filename": "My secret file.pdf",
"file": "https://api.icims.com/customers/99999/people/888888/fields/field45709/binary"
},
"jobtitle": "Secret Agent",
"links": [
{
"rel": "self",
"title": "The current profile being viewed.",
"url": "https://api.icims.com/customers/99999/people/22222"
}
],
"lastname": "Doe"
}
as a funny test, I tried adding arbitrary names and for most, icims will return a 200 and the payload minus the invalid field:
the following url produces the same results
{{urlBase}}customers/{{customerId}}/people/{{peopleId}}?fields=lastname,firstname,externalid,jobtitle,enddate,field45709,HamSandwich
Thank you for sharing the…
Thank you for sharing the response, AndrewA.
The response you shared in your reply is what I expected due to iForms needing to be retrieved via the iForms API.
I believe you need to use the iForm API to pull the onboarding workflow iForm.
That said, I wasn't aware it was possible to pull an iForm using the call below that you shared in you original post. Can you share the response you get for JobDescriptionAcknowledgementOB using the call below?
{{urlBase}}customers/{{customerId}}/people/{{peopleId}}?fields=lastname,firstname,externalid,jobtitle,enddate,field45709,JobDescriptionAcknowledgementOB