GET v1/suppliers/{companyCode}/bunkering?apiToken={apiToken}

Returns a list of all bunkering suppliers associated with a specific company

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyCode

The company code you are retreiving information for

string

Required

apiToken

Your API Token

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "name": "sample string 2",
    "inactive": true
  },
  {
    "id": 1,
    "name": "sample string 2",
    "inactive": true
  }
]

application/xml, text/xml

Sample:
<Suppliers xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Supplier>
    <ID>1</ID>
    <Name>sample string 2</Name>
    <Inactive>true</Inactive>
  </Supplier>
  <Supplier>
    <ID>1</ID>
    <Name>sample string 2</Name>
    <Inactive>true</Inactive>
  </Supplier>
</Suppliers>