adpllc / marketplace-sample-payloads Goto Github PK
View Code? Open in Web Editor NEWADP Marketplace sample request and response JSON payloads
License: Apache License 2.0
ADP Marketplace sample request and response JSON payloads
License: Apache License 2.0
Hello,
I'm trying to integrate a marketplace application, and I need to send the billing usage for each client using it. I tried searching for documents and references, but there were none. I'm finding it very difficult to integrate this billing usage implementation. I've got only the endpoint but I don't have any idea what to send in the body. I know it's not the preferable place to ask, but any sample payload and postman collection on this would be very much appreciated. Thank you.
Currently, the only information I have is:
API URL:
And in the body I'm sending the following data
{
"account": {
"accountIdentifier": "OrganizationID"
},
"items": [
{
"unit": "EMPLOYEE",
"quantity": "No. of worker belongs to the client"
}
]
}
But unfortunately, when I send this data, I get an error like this:
{
"status": 400,
"code": "Bad Request",
"message": "One or more mandatory fields are missing, null or empty in the API request. Please update the request and submit again."
}
The standard way to document an API is via OpenAPI / Swagger Specifications. This allows automatic spec validation and generation of client libraries, among other benefits.
This can be provided as a json or yaml file.
More info here:
https://swagger.io/docs/specification/about/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.