CorrelationPairs

Lists all Correlation Pair objects.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

Responses
chevron-right
200

Success

application/json
get
/memori/v2/CorrelationPairs/{strSessionID}
200

Success

Lists Correlation Pair objects with pagination.

get

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

frominteger · int32Required

The 0-based index of the first Correlation Pair object to list

howManyinteger · int32Required

The number of the Correlation Pair objects to list

Responses
chevron-right
200

Success

application/json
get
/memori/v2/CorrelationPairs/{strSessionID}/{from}/{howMany}
200

Success

Adds a new Correlation Pair object.

post

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

Body
pairIDstring | nullableOptional

Correlation Pair object ID.

text1string | nullableOptional

First text of the Correlation Pair, typically a question coming from a Receiver.

text2string | nullableOptional

Second text of the Correlation Pair, typically the original question introduced by the Giver.

correlatedbooleanOptional

True if the texts must be considered correlated.

occurrencesinteger · int32Optional

Number of times these the first text has been correlated to the second.

creationTimestampstring · date-time | nullableOptional

Timestamp of creation. Always present when reading/receiving an object, ignored when writing/sending an object.

creationSessionIDstring | nullableOptional

ID of the session that created this object.

lastChangeTimestampstring · date-time | nullableOptional

Timestamp of latest change. Always present when reading/receiving an object, ignored when writing/sending an object.

lastChangeSessionIDstring | nullableOptional

ID of the latest session that changed this object.

Responses
chevron-right
200

Success

application/json
post
/memori/v2/CorrelationPair/{strSessionID}
200

Success

Removes an existing Correlation Pair object.

delete

This API requires a Giver session.

Path parameters
strSessionIDstringRequired

The session ID

strPairIDstringRequired

The Correlation Pair object ID

Responses
chevron-right
200

Success

application/json
delete
/memori/v2/CorrelationPair/{strSessionID}/{strPairID}
200

Success

Last updated