What's new in Customer Journeys?

Connect and learn more! ×
Expense Report API Fails with Bad Request when Passing AssignmentId — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Expense Report API Fails with Bad Request when Passing AssignmentId

Received Response
41
Views
3
Comments

Hi I am trying to create expense report with REST API. The API used is 

fscmRestApi/resources/11.13.18.05/expenseReports 

The API documentation says that AssignmentId can be passed in payload. However when I pass a valid value in the AssignmentId it fails with Bad Request. When AssignmentId is omitted then the API creates expense report. Can you please help

Body is Below 

{ "PersonId":"300000016617469",

"OrgId":"300000004026131",

"AssignmentId": "300000016617566",

"ReimbursementCurrencyCode": "AUD",

"ExpenseReportTotal":"199.00",

"Purpose":"API Test",

"SubmitReport": "Y"

}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!