GET api/CarrierService/{auth}/{CarrierID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
auth | string |
Required |
|
CarrierID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CarrierAccountRespName | Description | Type | Additional information |
---|---|---|---|
IsSuccessful | boolean |
None. |
|
ErrorMessage | string |
None. |
|
CarrierAccounts | Collection of CarrierAccountItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccessful": true, "ErrorMessage": "sample string 2", "CarrierAccounts": [ { "CarrierAccountID": 1, "CarrierID": 2, "AccountNumber": "sample string 3", "Name": "sample string 4", "WaybillReorderPoint": 1, "Note": "sample string 5", "InsertUserID": 6, "InsertDateTime": "2024-12-28T09:06:13.6603104+00:00", "VendorID": 1, "VendorName": "sample string 8", "FedExKey": "sample string 9", "FedExPassword": "sample string 10", "FedExMeterNumber": "sample string 11", "IATACode": "sample string 12", "CASSAddress": "sample string 13", "AgentName": "sample string 14", "AgentPlace": "sample string 15", "AgentAccountNumber": "sample string 16" }, { "CarrierAccountID": 1, "CarrierID": 2, "AccountNumber": "sample string 3", "Name": "sample string 4", "WaybillReorderPoint": 1, "Note": "sample string 5", "InsertUserID": 6, "InsertDateTime": "2024-12-28T09:06:13.6603104+00:00", "VendorID": 1, "VendorName": "sample string 8", "FedExKey": "sample string 9", "FedExPassword": "sample string 10", "FedExMeterNumber": "sample string 11", "IATACode": "sample string 12", "CASSAddress": "sample string 13", "AgentName": "sample string 14", "AgentPlace": "sample string 15", "AgentAccountNumber": "sample string 16" } ] }
application/xml, text/xml
Sample:
<CarrierAccountResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models"> <CarrierAccounts> <CarrierAccountItem> <AccountNumber>sample string 3</AccountNumber> <AgentAccountNumber>sample string 16</AgentAccountNumber> <AgentName>sample string 14</AgentName> <AgentPlace>sample string 15</AgentPlace> <CASSAddress>sample string 13</CASSAddress> <CarrierAccountID>1</CarrierAccountID> <CarrierID>2</CarrierID> <FedExKey>sample string 9</FedExKey> <FedExMeterNumber>sample string 11</FedExMeterNumber> <FedExPassword>sample string 10</FedExPassword> <IATACode>sample string 12</IATACode> <InsertDateTime>2024-12-28T09:06:13.6603104+00:00</InsertDateTime> <InsertUserID>6</InsertUserID> <Name>sample string 4</Name> <Note>sample string 5</Note> <VendorID>1</VendorID> <VendorName>sample string 8</VendorName> <WaybillReorderPoint>1</WaybillReorderPoint> </CarrierAccountItem> <CarrierAccountItem> <AccountNumber>sample string 3</AccountNumber> <AgentAccountNumber>sample string 16</AgentAccountNumber> <AgentName>sample string 14</AgentName> <AgentPlace>sample string 15</AgentPlace> <CASSAddress>sample string 13</CASSAddress> <CarrierAccountID>1</CarrierAccountID> <CarrierID>2</CarrierID> <FedExKey>sample string 9</FedExKey> <FedExMeterNumber>sample string 11</FedExMeterNumber> <FedExPassword>sample string 10</FedExPassword> <IATACode>sample string 12</IATACode> <InsertDateTime>2024-12-28T09:06:13.6603104+00:00</InsertDateTime> <InsertUserID>6</InsertUserID> <Name>sample string 4</Name> <Note>sample string 5</Note> <VendorID>1</VendorID> <VendorName>sample string 8</VendorName> <WaybillReorderPoint>1</WaybillReorderPoint> </CarrierAccountItem> </CarrierAccounts> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccessful>true</IsSuccessful> </CarrierAccountResp>