Reports

Edit Report Settings Template

Required scopes: project.report (Read and Write).

patch/projects/{projectId}/reports/settings-templates/{reportSettingsTemplateId}

Request

Path parameters

projectIdinteger required

Project Identifier. Get via List Projects

reportSettingsTemplateIdinteger required

Report Settings Template Identifier. Get via List Report Settings Template

Request body

op'replace' | 'test' required

Patch operation to perform

path'/name' | '/currency' | '/unit' | '/mode' | '/config' json-pointer required

A JSON Pointer as defined by <a href="https://tools.ietf.org/html/rfc6901" target="_blank">RFC 6901</a>

Response

Report Settings Template was successfully updated

Example response

{
  "data": {
    "id": 1,
    "name": "Default template",
    "currency": "USD",
    "unit": "words",
    "config": {
      "baseRates": {
        "fullTranslation": 0.1,
        "proofread": 0.12
      },
      "individualRates": [
        {
          "languageIds": [
            "uk"
          ],
          "userIds": [
            1
          ],
          "fullTranslation": 0.1,
          "proofread": 0.12
        }
      ],
      "netRateSchemes": {
        "tmMatch": [
          {
            "matchType": "100",
            "price": 0.1
          }
        ],
        "mtMatch": [
          {
            "matchType": "100-82",
            "price": 0.1
          }
        ],
        "aiMatch": [
          {
            "matchType": "100-74",
            "price": 0.1
          }
        ],
        "suggestionMatch": [
          {
            "matchType": "perfect",
            "price": 0.1
          }
        ]
      }
    },
    "createdAt": "2019-09-23T11:26:54+00:00",
    "updatedAt": "2019-09-23T11:26:54+00:00",
    "isPublic": true,
    "isGlobal": true
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.