GET api/v1/Agents/{AgentID}/SeaCarriers?name={name}&scac={scac}

Search a ocean carriers by sea carrier id

Request Information

Parameters

NameDescriptionAdditional information
AgentID
Agent ID

Define this parameter in the request URI.

name
Carrier Name

Define this parameter in the request URI.

scac
Carrier SCAC Code

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "SCAC": "sample string 3",
    "IsActivated": true
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "SCAC": "sample string 3",
    "IsActivated": true
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "SCAC": "sample string 3",
    "IsActivated": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfAgentSeaCarrierDTO>
  <AgentSeaCarrierDTO>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <SCAC>sample string 3</SCAC>
    <IsActivated>true</IsActivated>
  </AgentSeaCarrierDTO>
  <AgentSeaCarrierDTO>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <SCAC>sample string 3</SCAC>
    <IsActivated>true</IsActivated>
  </AgentSeaCarrierDTO>
  <AgentSeaCarrierDTO>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <SCAC>sample string 3</SCAC>
    <IsActivated>true</IsActivated>
  </AgentSeaCarrierDTO>
</ArrayOfAgentSeaCarrierDTO>