SubmitToAux

Submits a new item into a specified auxiliary table.

Parameters

Name Type Description
submittoaux Function

Submits a new item into an auxiliary table. Call StartSubmitToAux first to get an item's field names or IDs.

table
  • ID (integer)
  • UUID (string)
  • internalname (string)
  • name (string)

The table identifier.

Post Data

Name Type Description
itemOptions

(optional)

ItemOptions

Use itemOptions to limit the response data.

When itemOptions are included, only the specified fields, plus fields required by the transition, are sent in the response.

transition Transition

Use transition to provide new field values. Only provide values for fields that you want to change. Note that you must provide values for any required fields in the transition you are calling.

Example

URL:

http://AEserverName/jsonapi/submittoaux/UBG_IDM_CONFIGURATIONS

Post data:

{fixedFields: false, transition: {"TITLE": "This is the title", "FIELD_NAME": "My Field"}}}

Response:

{
  "item": {
    "id": {
      "id": 2,
      "uuid": "6deb6fdc-aa6d-4844-a78a-4e3b8cce11be",
      "itemIdPrefixed": "",
      "itemId": "",
      "url": "http://AEserverName:80/tmtrack/tmtrack.dll?...Template=view&TableId=1004"
    },
    "table": {
      "id": 1004,
      "uuid": "dcfead12-5fa4-471d-af37-7f9a36dee2c3",
      "name": "IDM Configurations",
      "dbName": "UBG_IDM_CONFIGURATIONS"
    },
    "fieldMetadata": [
      {
        "id": 152,
        "name": "Application",
        "dbname": "TITLE",
        "syscode": 4,
        "type": "text",
        "renderHtml": false,
        "password": false,
        "maxLength": 80
      },
      {
        "id": 153,
        "name": "Field Name",
        "dbname": "FIELD_NAME",
        "syscode": 0,
        "type": "text",
        "renderHtml": false,
        "password": false,
        "maxLength": 80
      },
      {
        "id": 154,
        "name": "Clear Value",
        "dbname": "CLEAR_VALUE",
        "syscode": 0,
        "type": "text",
        "renderHtml": false,
        "password": false,
        "maxLength": 255
      },
      {
        "id": 155,
        "name": "Hidden Value",
        "dbname": "HIDDEN_VALUE",
        "syscode": 0,
        "type": "text",
        "renderHtml": false,
        "password": true,
        "maxLength": 127
      }
    ],
    "fields": {
      "TITLE": {
        "value": "This is the title"
      },
      "FIELD_NAME": {
        "value": "My Field"
      },
      "CLEAR_VALUE": {
        "value": ""
      },
      "HIDDEN_VALUE": {
        "value": ""
      }
    }
  },
  "result": {
    "type": "OK",
    "msg": ""
  }
}

Comments

None.