Get requested carrier within yard by unique id
Retrieve a specific yard-carrier billing configuration by its unique identifier (which is equivalent to using the pair yardId-carrierId)
Path parameters
-
The unique identifier of the yard-carrier configuration to retrieve
GET
/api/automated-billing/config/yard-carrier/{yardCarrierConfigId}
curl \
-X GET https://api-dev.gatego.io/api/automated-billing/config/yard-carrier/{yardCarrierConfigId}
Response examples (200)
{
"id": 1,
"yard_id": 100,
"carrier_id": 200,
"trailer_config": {
"rate_type": "FLAT",
"flat_billing": {
"rate_per_month": "500.00",
"spots": 8,
"overage_rate_per_day_and_spot": "20.00",
"grace_period": "PT1H",
"day_calculation": "MODE_24HOUR_ROUNDING"
},
"daily_billing": {
"rate_per_day": "20.00",
"grace_period": "PT1H",
"day_calculation": "MODE_24HOUR_ROUNDING"
}
},
"truck_config": {
"rate_type": "FLAT",
"flat_billing": {
"rate_per_month": "500.00",
"spots": 8,
"overage_rate_per_day_and_spot": "20.00",
"grace_period": "PT1H",
"day_calculation": "MODE_24HOUR_ROUNDING"
},
"daily_billing": {
"rate_per_day": "20.00",
"grace_period": "PT1H",
"day_calculation": "MODE_24HOUR_ROUNDING"
}
},
"emails": [
"contact1@carrier.com",
"contact2@carrier.com"
],
"last_modified_at": "2023-04-06T11:25:42Z",
"last_modified_by": "355c30f0-96d2-4dbe-bfe8-f8dd9eb7f778"
}