Skip to content

Commit fe381db

Browse files
committed
saving modified files
1 parent afb7042 commit fe381db

File tree

1 file changed

+125
-0
lines changed

1 file changed

+125
-0
lines changed

restlet_studio/swagger.yaml

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,75 @@ paths:
659659
$ref: '#/definitions/boards_freight_rate_response'
660660
x-restlet:
661661
section: BOARDS
662+
/boards/freight_rates/saved_lanes:
663+
get:
664+
tags:
665+
- boards
666+
description: Get all saved lanes for logged in user.
667+
parameters:
668+
- name: end-user-token
669+
in: header
670+
required: true
671+
type: string
672+
responses:
673+
"200":
674+
description: Will return an object containing a list of saved lanes.
675+
schema:
676+
$ref: '#/definitions/boards_saved_lanes_response'
677+
post:
678+
tags:
679+
- boards
680+
description: Save a lane.
681+
parameters:
682+
- name: end-user-token
683+
in: header
684+
required: true
685+
type: string
686+
- in: body
687+
name: body
688+
required: false
689+
schema:
690+
type: object
691+
required:
692+
- destination_state
693+
- origin_city
694+
- origin_state
695+
properties:
696+
origin_city:
697+
type: string
698+
description: A valid city or OUTBOUND
699+
origin_state:
700+
type: string
701+
description: A valid State abbrevitaino or blank when using OUTBOUND.
702+
destinaition_city:
703+
type: string
704+
description: A valid city or INBOUND
705+
destination_state:
706+
type: string
707+
description: A valid State abbrevitaino or blank when using INBOUND.
708+
responses:
709+
"200":
710+
description: Will return an object containing a list of saved lanes.
711+
schema:
712+
$ref: '#/definitions/boards_saved_lanes_response'
713+
delete:
714+
tags:
715+
- boards
716+
summary: Remove a Saved lane
717+
parameters:
718+
- name: end-user-token
719+
in: header
720+
required: true
721+
type: string
722+
- name: lane_id
723+
in: query
724+
required: true
725+
type: integer
726+
responses:
727+
"204":
728+
description: Will not have a return body.
729+
x-restlet:
730+
section: BOARDS
662731
/boards/offer/driver/accept_broker_offer:
663732
post:
664733
tags:
@@ -3635,6 +3704,62 @@ definitions:
36353704
description: There is some debug trailer types. They are formatted as TRAILER_TYPE_$subsection. They will most likely be removed at the same time as the below mentioned debug variables.
36363705
x-restlet:
36373706
section: BOARDS
3707+
boards_saved_lanes_response:
3708+
properties:
3709+
list:
3710+
type: object
3711+
properties:
3712+
payrate:
3713+
type: object
3714+
description: "This will return a list of dates, single key of newest_payrate"
3715+
properties:
3716+
lane_id:
3717+
type: integer
3718+
origin_city:
3719+
type: string
3720+
origin_state:
3721+
type: string
3722+
destination_city:
3723+
type: string
3724+
destination_state:
3725+
type: string
3726+
origin_metro_id:
3727+
type: integer
3728+
destination_metro_id:
3729+
type: integer
3730+
distance:
3731+
type: integer
3732+
van_per_mile:
3733+
type: number
3734+
van_gross:
3735+
type: number
3736+
flat_per_mile:
3737+
type: number
3738+
flat_gross:
3739+
type: number
3740+
reefer_per_mile:
3741+
type: number
3742+
reefer_gross:
3743+
type: number
3744+
description: Each saved lane entry is a key/value object in the list.
3745+
example:
3746+
list:
3747+
- lane_id: 123
3748+
origin_city: Dallas
3749+
origin_state: TX
3750+
origin_metro_id: 123
3751+
destination_city: Atlanta
3752+
destination_state: GA
3753+
destination_metro_id: 987
3754+
distance: 456
3755+
flat_per_mile: 1.11
3756+
flat_gross: 111
3757+
van_per_mile: 2.22
3758+
van_gross: 222
3759+
reefer_per_mile: 3.33
3760+
reefer_gross: 333
3761+
x-restlet:
3762+
section: BOARDS
36383763
boards_accept_offer_response:
36393764
type: object
36403765
properties:

0 commit comments

Comments
 (0)