cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JesseW
Frequent Visitor

Problems with request form

Hi there,

 

I am hoping someone can provide assistance on the structure of a request body for a custom connector to Keypay.

 

Here is a sample payload:

 

{
"earningsLines": {
"1643494": [
{
"payCategoryId": "2477076",
"employeeExternalId": "a5J6F000000RAZEUA4"
}
]
},
"payRunId": 3759099
}

1643494 = map of array

payCategoryId = array property

employeeExternalId = array property

payRunId = Int32

 

Which creates this form. Noting that the array key field is not visible on the form.

 

If I test this action using sample data, operation fails returning this output.

 

The vendor provides a sample request body:

 

{

"earningsLines": {

"<key>": "array"

},

"employeeIdType": "string",

"locationIdType": "string",

"payCategoryIdType": "string",

"payRunId": "int32",

"replaceExisting": "boolean",

"suppressCalculations": "boolean"

}

 

But I am unsure how this can be used to include the required property fields such as payCategoryId, employeeExternalId etc

 

Here is the vendors API spec as a reference.

 

Any guidance is greatly appreciated.

 

Thanks.

1 REPLY 1
manuelstgomes
Super User
Super User

Hi

I just stumbled on your request. You've been waiting a while for a reply.

Were you able to solve it? Can you post the solution so that we can all learn from it?

If you still need help, please let me know what changed.

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (1,607)