Endpoint - UpdateConfigEndpoint
Update integration profile config stage with values entered by the user. The ConfigStatus must match the current config stage status.
Request
Post
UserConfigRequest
UserConfigRequest
Field Name | Type | Description |
---|---|---|
AuthorizationToken | Guid | Authorization token uniquely identifying each integration profile |
ConfigStatus | String | Current config stage. UserConfig call returns a current stage status. The same status is sent back to the integration web service |
ConfigItems | ConfigItemValue[] | List of config item values. See Endpoint - UpdateConfigEndpoint - ConfigItemValue |
ConfigItemValue
ConfigItemValue
Field Name | Type | Description |
---|---|---|
ConfigItemId | String | Unique config item id |
SelectedValue | String | Value entered by the user (MAX 255 chars) |
Sample
{
"AuthorizationToken": "a8e53e86eead4b69beaa0afcc29b67fb",
"ConfigStatus": "StageName",
"ConfigItems": [
{
"ConfigItemId": "ITEM1",
"SelectedValue": "Itemvalue1"
},
{
"ConfigItemId": "ITEM2",
"SelectedValue": "Itemvalue2"
}
]
}
Response
UserConfigResponse
UserConfigResponse
Field Name | Type | Description |
---|---|---|
IsError | Boolean | Indicates if there is an error |
ErrorMessage | String / null | Error message |
Sample
{
"IsError": false,
"ErrorMessage": null
}
Updated over 1 year ago