Receiving Cargo Requests
Description
This method allows you to receive a list of cargo requests based on specified filtering criteria.
URL Structure
POST /v2/proposals/search/cargo
List of parameters
Name | Description | Parameter type | Required(+)/Default(value) |
---|---|---|---|
language |
Localization language. See usage details. | Query string parameter | ru |
request.filter |
Search filter. See usage details. | Request body parameter | + |
request.options |
List parameters. See usage details. | Request body parameter | + |
Result
An array of "Cargo" structures.
Request example
BASH
curl --location --request POST 'https://api.lardi-trans.com/v2/proposals/search/cargo?language=en' \
--header 'Authorization: 29ZS7LMG9D2000000416' \
--header 'Content-Type: application/json' \
--data-raw '{
"filter": {
...
},
"options": {
...
}
}'
Response example
JSON
{
"content": [
{
...
}
],
"paginator": {
"current": 0,
"perPage": 150,
"pages": 0
}
}