POST v1/results/add

add a new result

Request Information

URI Parameters

None.

Body Parameters

result.xml in body

ConfidenceApps.Interfaces.Results.IResult
NameDescriptionTypeAdditional information
AppId

The unique identifier of the related CApp.

globally unique identifier

None.

AppName

The name of the CApp the result was created with.

string

None.

AppVersion

The CApp version that was used to create the Result.

string

None.

CreatorAppVersion

The version number of the CONFIDENCEapps ConfidenceApps the result was created with.

string

None.

DoneStamp

The exact time when the task was completed.

date

None.

DoneUserId

The unique id of the user who finished the result, when done for a dispatched task.

string

None.

DoneUserName

The username of the user who finished the result, when done for a dispatched task.

string

None.

DoneUserFullName

The full username of the user who finished the result, when done for a dispatched task.

string

None.

InputFields

Contains result values for a specific inputfield within the CApp the result is for.

Collection of ConfidenceApps.Interfaces.Results.IInputControl

None.

IsSend

Gets if the result was send by user.

boolean

None.

StateOfTask

Storable Property for

ConfidenceApps.Types.State

None.

SyncedAt

Gets when the result was synced with server.

date

None.

TaskId

The unique identifier for the task, the result is for (if result was created for a task).

globally unique identifier

None.

TimeStamp

The time of result finishing.

date

None.

XmlVersion

The version of the result xml schema format.

string

None.

TaskMappingId

The id of the associated taskmapping.

globally unique identifier

None.

IdentValue

A value to identify the result content

string

None.

SyncId

Id for synchronization

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "appId": "3307d31c-f7e1-4ea6-8d1c-6ede616a218d",
  "appName": "Sample CApp",
  "appVersion": "1",
  "creatorAppVersion": "1.0",
  "doneStamp": "2024-05-07T22:25:04",
  "doneUserId": "1001",
  "id": "2d43ce59-e95f-4dca-93ce-006faedd83c2",
  "stateOfTask": "Done",
  "timeStamp": "2024-05-07T22:25:04",
  "xmlVersion": "1.2",
  "isSend": false,
  "referenceId": "00000000-0000-0000-0000-000000000000",
  "createdAt": "2024-05-07T22:25:04",
  "modifiedAt": "0001-01-01T00:00:00",
  "inputFields": []
}

application/octet-stream

Sample:

Sample not available.

Response Information

Resource Description

result.id

string

Response Formats

application/json, text/json

Sample:
"sample string 1"