POST
/
api2
/
v2
/
analyses
Create analysis
curl --request POST \
  --url https://cloud.memsource.com/web/api2/v2/analyses \
  --header 'Content-Type: application/json' \
  --data '{
  "jobs": [
    {
      "uid": "<string>"
    }
  ],
  "type": "PreAnalyse",
  "includeFuzzyRepetitions": true,
  "separateFuzzyRepetitions": true,
  "includeConfirmedSegments": true,
  "includeNumbers": true,
  "includeLockedSegments": true,
  "countSourceUnits": true,
  "includeTransMemory": true,
  "includeNonTranslatables": true,
  "includeMachineTranslationMatches": true,
  "transMemoryPostEditing": true,
  "nonTranslatablePostEditing": true,
  "machineTranslatePostEditing": true,
  "analyzeByProvider": false,
  "analyzeByLanguage": false,
  "name": "<string>",
  "netRateScheme": {
    "id": "<string>"
  },
  "compareWorkflowLevel": 8,
  "useProjectAnalysisSettings": true,
  "callbackUrl": "<string>",
  "provider": {
    "type": "<string>",
    "id": "<string>"
  }
}'
{
  "asyncRequests": [
    {
      "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>"
            }
          ]
        },
        "parent": {},
        "project": {
          "name": "<string>",
          "uid": "<string>"
        }
      },
      "analyse": {}
    }
  ]
}

Body

application/json

Response

200
application/json

successful operation

The response is of type object.