cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
JesseW
Level: Powered On

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.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 200 members 4,497 guests
Please welcome our newest community members: