MASI API
    MASI API
    • Leads API
      POST
    • Jobs API
      POST

      Jobs API

      Developing
      POST
      https://{{subscriber_name}}.masi-leap.com/v1/x-masi-api/create-job
      Some notes:
      1.
      subscriber_name for above mentioned URL will be provided by MASI
      2.
      NEW_JOB_API_KEY for request headers will be provided by MASI

      Request

      Header Params

      Body Params application/json

      Example
      {
          "processType": "INT_IMPORT",
          "shippingMode": "AIR",
          "shippingMethod": "AIR",
          "insurance": "INSURANCE",
          "portFees": "paidByAgent",
          "nonInclusiveDeliveryFees": "paidByAgent",
          "serviceType": [
              "DTD"
          ],
          "returnDateFrom": "string",
          "returnDateTo": "string",
          "departureDate": "string",
          "arrivalDate": "string",
          "arrivalDatePortDelivery": "string",
          "deliveryDate": "string",
          "reference": "string",
          "billOfLanding": "string",
          "houseBillOfLanding": "string",
          "volumeImperialQuoted": 0,
          "volumeMetricQuoted": 0,
          "weightImperialQuoted": 0,
          "weightMetricQuoted": 0,
          "aesNumber": "string",
          "vesselCarrierName": "string",
          "voyageNumber": "string",
          "cargoControlNumber": "string",
          "itnNumber": "string",
          "bookingNumber": "string",
          "awbNumber": "string",
          "serviceProfileNotes": "string",
          "specialItems": "string",
          "isfNumber": "string",
          "movingFrom": {
              "fullAddress": "string",
              "apartment": "string",
              "unitNo": "string",
              "buzzersCode": "string",
              "floor": "string",
              "notes": "string"
          },
          "movingTo": {
              "fullAddress": "string",
              "apartment": "string",
              "unitNo": "string",
              "buzzersCode": "string",
              "floor": "string",
              "notes": "string"
          },
          "customerDetails": {
              "name": "string",
              "emails": [
                  {
                      "value": "string",
                      "type": "string"
                  }
              ],
              "phones": [
                  {
                      "value": "string",
                      "type": "string"
                  }
              ]
          }
      }

      Request Code Samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location -g --request POST 'https://{{subscriber_name}}.masi-leap.com/v1/x-masi-api/create-job' \
      --header 'Authorization: {{NEW_JOB_API_KEY}}' \
      --header 'Accept: application/json' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "processType": "INT_IMPORT",
          "shippingMode": "AIR",
          "shippingMethod": "AIR",
          "insurance": "INSURANCE",
          "portFees": "paidByAgent",
          "nonInclusiveDeliveryFees": "paidByAgent",
          "serviceType": [
              "DTD"
          ],
          "returnDateFrom": "string",
          "returnDateTo": "string",
          "departureDate": "string",
          "arrivalDate": "string",
          "arrivalDatePortDelivery": "string",
          "deliveryDate": "string",
          "reference": "string",
          "billOfLanding": "string",
          "houseBillOfLanding": "string",
          "volumeImperialQuoted": 0,
          "volumeMetricQuoted": 0,
          "weightImperialQuoted": 0,
          "weightMetricQuoted": 0,
          "aesNumber": "string",
          "vesselCarrierName": "string",
          "voyageNumber": "string",
          "cargoControlNumber": "string",
          "itnNumber": "string",
          "bookingNumber": "string",
          "awbNumber": "string",
          "serviceProfileNotes": "string",
          "specialItems": "string",
          "isfNumber": "string",
          "movingFrom": {
              "fullAddress": "string",
              "apartment": "string",
              "unitNo": "string",
              "buzzersCode": "string",
              "floor": "string",
              "notes": "string"
          },
          "movingTo": {
              "fullAddress": "string",
              "apartment": "string",
              "unitNo": "string",
              "buzzersCode": "string",
              "floor": "string",
              "notes": "string"
          },
          "customerDetails": {
              "name": "string",
              "emails": [
                  {
                      "value": "string",
                      "type": "string"
                  }
              ],
              "phones": [
                  {
                      "value": "string",
                      "type": "string"
                  }
              ]
          }
      }'

      Responses

      🟢200Success
      application/json
      Body

      Example
      {}
      Modified at 2025-03-12 01:52:31
      Previous
      Leads API
      Built with