curl --request POST \
--url https://cloud.memsource.com/web/api2/v1/analyses/recalculate \
--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": {},
"project": {
"name": "<string>",
"uid": "<string>"
}
},
"analyse": {}
}
]
}
curl --request POST \
--url https://cloud.memsource.com/web/api2/v1/analyses/recalculate \
--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": {},
"project": {
"name": "<string>",
"uid": "<string>"
}
},
"analyse": {}
}
]
}
successful operation
The response is of type object
.
Was this page helpful?