curl --request POST \
--url https://cloud.memsource.com/web/api2/v1/analyses/recalculate \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"analyses": [
{
"id": "<string>"
}
],
"callbackUrl": "<string>"
}
'{
"analyses": [
{
"asyncRequest": {
"id": "<string>",
"createdBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"dateCreated": "2023-11-07T05:31:56Z",
"action": "PRE_ANALYSE",
"asyncResponse": {
"dateCreated": "2023-11-07T05:31:56Z",
"errorCode": "<string>",
"errorDesc": "<string>",
"errorDetails": [
{
"code": "<string>",
"args": {},
"message": "<string>"
}
],
"warnings": [
{
"code": "<string>",
"args": {},
"message": "<string>"
}
],
"acceptedSegmentsCount": 123
},
"parent": "<unknown>",
"project": {
"uid": "<string>",
"name": "<string>"
}
},
"analyse": {}
}
]
}curl --request POST \
--url https://cloud.memsource.com/web/api2/v1/analyses/recalculate \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"analyses": [
{
"id": "<string>"
}
],
"callbackUrl": "<string>"
}
'{
"analyses": [
{
"asyncRequest": {
"id": "<string>",
"createdBy": {
"firstName": "<string>",
"lastName": "<string>",
"userName": "<string>",
"email": "<string>",
"role": "SYS_ADMIN",
"id": "<string>",
"uid": "<string>"
},
"dateCreated": "2023-11-07T05:31:56Z",
"action": "PRE_ANALYSE",
"asyncResponse": {
"dateCreated": "2023-11-07T05:31:56Z",
"errorCode": "<string>",
"errorDesc": "<string>",
"errorDetails": [
{
"code": "<string>",
"args": {},
"message": "<string>"
}
],
"warnings": [
{
"code": "<string>",
"args": {},
"message": "<string>"
}
],
"acceptedSegmentsCount": 123
},
"parent": "<unknown>",
"project": {
"uid": "<string>",
"name": "<string>"
}
},
"analyse": {}
}
]
}Get a token from auth/login endpoint and then pass it in the Authorization HTTP header in every subsequent API call. For more information visit our help center.
successful operation
Show child attributes
Was this page helpful?