12. TrakIT API‎ > ‎Shipment‎ > ‎

Get Visible Header Fields

The below API is used to get Visible Header Fields.


Request: GET

Signature: /api/mobile/GetVisible?Token={Login_Token}&&WFCode={Workflow_Name/Code}&Code={Header_Code}


Sample: /GetVisible?Token=VomYEMiECFFyAQ3==&WFCode=EXPORT&Code=CC

Response: 

{
    "Code": 1,
    "Info": "",
    "RowsAffected": 0,
    "Scalar": true,
    "Identity": 0,
    "RetInfo": null
}

Things to know about this API:

  1. Token - You can use Login API to get token displayed under Info

  2. WFCode (You can enter either Workflow Code or Workflow Name)

  3. Below are the Header Fields and their Code:

  4.  Header Field Code
    Contractual Customer CC
    ShipperSR
    ReceiverRC
    CarrierCR
    Bond AgentBA
    Clearing AgentCA
    Transporter TR
    Return Transporter RT
    Origin Depot OD
    Destination DepotDD
    Country of OriginCY
    Final DestinationFD
    Cargo TypeCG
    Shipment TypeST
    Shipper ContainerSC
    CommodityCO
    Container NumberCN
    ManifestLD
    Container TypeCT
    WeightCW
    VolumeVL
    Seal NumberSN
    VerticalVE

  5. Scalar (It is a Boolean Field)
Comments