/
Examples: API Backend Services
Examples: API Backend Services
Fetch Information from LPG via API
REQUEST
HTTP method: POST
URL: https://<host>/pricefx/<partition>/pricegridmanager.fetch/<PG id>
HEADERS:
Key | Value |
---|---|
Content-Type | application/json |
Accept | application/json |
Authorization |
|
BODY:
{
"operationType": "fetch",
"startRow": 0,
"endRow": 300,
"textMatchStyle": "substring",
"data": {
},
"oldValues": null
}
BODY example with filtering criteria:
{
"operationType": "fetch",
"startRow": 0,
"endRow": 300,
"textMatchStyle": "substring",
"data": {
"operator": "and",
"_constructor": "AdvancedCriteria",
"criteria": [
{
"fieldName": "attribute14",
"operator": "iContains",
"value": "CABLES",
"_constructor": "AdvancedCriteria"
}
]
},
"oldValues": null
}
RESPONSE:
CURL:
{
"operationType": "fetch",
"startRow": 0,
"endRow": 300,
"textMatchStyle": "substring",
"data": {
"operator": "and",
"_constructor": "AdvancedCriteria",
"criteria": [
{
"fieldName": "attribute14",
"operator": "iContains",
"value": "CABLES",
"_constructor": "AdvancedCriteria"
}
]
},
"oldValues": null
}
Postman Request Definition
Here is a definition of the same request in Postman (https://www.getpostman.com/). Just import it and change the hostname and username + password.
, multiple selections available,
Related content
Custom REST API Service Using Logics
Custom REST API Service Using Logics
Read with this
pfx-api:fetch, pfx:ppvFetch - Fetch Price Parameter Values
pfx-api:fetch, pfx:ppvFetch - Fetch Price Parameter Values
More like this
PFX Endpoints and Required Permissions
PFX Endpoints and Required Permissions
Read with this
Authentication for REST API
Authentication for REST API
Read with this
Create Custom REST API Using Logics
Create Custom REST API Using Logics
Read with this
Avoid api.boundCall
Avoid api.boundCall
Read with this
Found an issue in documentation? Write to us.