POST
/
api2
/
v1
/
analyses
Create analysis
curl --request POST \
  --url https://cloud.memsource.com/web/api2/v1/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,
  "name": "<string>",
  "netRateScheme": {
    "id": "<string>"
  },
  "compareWorkflowLevel": 8,
  "useProjectAnalysisSettings": true,
  "linguist": {
    "id": "<string>"
  },
  "callbackUrl": "<string>"
}'
{
  "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": {}
}

Body

application/json

Response

200
application/json

successful operation

The response is of type object.