Skip to main content
Skip table of contents

What API do I use to create a Field, Area, Stop, Asset?

Asset API:

CODE
[
  {
    "type": "string",
    "xid": "string",
    "id": "string",
    "name": "string",
    "fdgxid": "string",
    "productType": "string",
    "latitude": 0,
    "longitude": 0,
    "sourceSystem": "string",
    "subType": "string",
    "isDeleted": true,
    "areaType": "string",
    "producingMethodId": "string",
    "tankStrappingID": "string",
    "customAttributes": {},
    "field": {
      "xid": "string"
    },
    "stop": {
      "xid": "string"
    },
    "route": {
      "xid": "string"
    },
    "area": {
      "xid": "string"
    },
    "stopId": "string",
    "teams": [
      {}
    ],
    "areaDefinition": {
      "criteria": [
        {
          "values": {},
          "attributeName": "string"
        }
      ]
    },
    "attachments": [
      {
        "bucket": "string",
        "key": "string",
        "fileName": "string",
        "region": "string"
      }
    ],
    "correlationId": "string"
  }
]

Headers:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.