back

Create Asset

Scope: create_asset
App Type: Agency
Authorization Type: Access token
Url: v3/assets?lang={lang}
HTTP Method: POST

Request Information

Parameters

application/json

{
  "createAsset": {
    "id": "sample string 1",
    "display": "sample string 2",
    "comments": "sample string 3",
    "contextType": "sample string 4",
    "currentValue": "sample string 5",
    "dateOfService": "sample string 6",
    "depreciationAmount": "sample string 7",
    "depreciationValue": "sample string 8",
    "description": "sample string 9",
    "endDate": "sample string 10",
    "salvageValue": "sample string 11",
    "startDate": "sample string 12",
    "startValue": "sample string 13",
    "statusDates": "sample string 14",
    "usefulLife": "sample string 15",
    "classType": "sample string 16",
    "assetName": "sample string 17",
    "assetType": {
      "id": "sample string 1",
      "display": "sample string 2",
      "group": "sample string 3",
      "gisService": "sample string 4",
      "gisIDForAssetID": "sample string 5",
      "gisLayer": {
        "id": "sample string 1",
        "display": "sample string 2"
      }
    },
    "assetStatus": {
      "id": "sample string 1",
      "display": "sample string 2"
    },
    "gisObjects": [
      {
        "id": "sample string 1",
        "layerId": "sample string 2",
        "mapService": "sample string 3",
        "featureId": "sample string 4",
        "featureIdFieldName": "sample string 5",
        "entityState": "sample string 6"
      }
    ],
    "assetParent": {
      "id": "sample string 1",
      "display": "sample string 2"
    },
    "entityState": "sample string 18"
  }
}

Response Information

application/json

{
  "asset": {
    "id": "sample string 1",
    "display": "sample string 2",
    "comments": "sample string 3",
    "contextType": "sample string 4",
    "currentValue": "sample string 5",
    "dateOfService": "sample string 6",
    "depreciationAmount": "sample string 7",
    "depreciationValue": "sample string 8",
    "description": "sample string 9",
    "endDate": "sample string 10",
    "salvageValue": "sample string 11",
    "startDate": "sample string 12",
    "startValue": "sample string 13",
    "statusDates": "sample string 14",
    "usefulLife": "sample string 15",
    "classType": "sample string 16",
    "assetName": "sample string 17",
    "assetType": {
      "id": "sample string 1",
      "display": "sample string 2",
      "group": "sample string 3",
      "gisService": "sample string 4",
      "gisIDForAssetID": "sample string 5",
      "gisLayer": {
        "id": "sample string 1",
        "display": "sample string 2"
      }
    },
    "assetStatus": {
      "id": "sample string 1",
      "display": "sample string 2"
    },
    "gisObjects": [
      {
        "id": "sample string 1",
        "layerId": "sample string 2",
        "mapService": "sample string 3",
        "featureId": "sample string 4",
        "featureIdFieldName": "sample string 5",
        "entityState": "sample string 6"
      }
    ],
    "assetParent": {
      "id": "sample string 1",
      "display": "sample string 2"
    },
    "entityState": "sample string 18"
  }
}