JSON argument | { // A client-defined unique ID for the submittal. // This gets used by the AssetTrack server to create a System Log entry for the data // submission to help uniquely identify the upload request in case there are errors // encountered while processing of the data. "SubmittalId" : "UploadFormPosting_2015-06-17T17:05:00.021Z", // The ID of the task for which you are uploading data // 1) You can use the form display name, but this could change out from under you by an // AssetTrack administrator during form design (customizable) // 2) You can use the form unique GUID, found by viewing the Upload Form page's frame URL // when you are on in the AssetTrack web application. // 3) You can save a bit of data transmission overhead by base-64 encoding the GUID // e.g. Convert.ToBase64String(new Guid(txtOutput.Text).ToByteArray()); "TaskId" : "6f091c81-ce8d-478c-99b8-633a195d4a40", // An array of string values specifying the column headers contained in the // data that is being submitted. These values should correspond to the // columns specified in the Upload form's file template. "Columns" : ["Asset Tag", "Status"], // An array of string arrays representing the row data. One string array for each row, // with the values aligning in position with the columns specified above. "Rows" : [ ["A00000001", "Received"], ["A00000002", "Received"] ] } |