{
  "opencollection": "1.0.0",
  "info": {
    "name": "Cognite 3D Asset Mapping SAP Endpoints API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "SAP Endpoints",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List SAP Endpoints",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{cluster}.cognitedata.com/api/v1/projects/{project}/writeback/sap/endpoints",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Limits the number of results to be returned. The maximum results returned by the server is 100 even if you specify a higher limit."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Cursor for paging through results. In general, if a response contains a `nextCursor`\nproperty, it means that there may be more results, and you should pass that value as the\n`cursor` parameter in the next request.\n\nNote that the cursor may or may not be encrypted, but either way, it is not intended to be\ndecoded. Its internal structure is not a part of the public API, and may change without\nnotice. You should treat it as an opaque string and not attempt to craft your own cursors.\n"
              }
            ]
          },
          "docs": "\n\n> **Required capabilities:** `sapWritebackAcl:READ`\n\nList all SAP endpoints in a given CDF project. If more instances exist than what the limit specifies, a pagination cursor is returned in the response body."
        },
        {
          "info": {
            "name": "Create SAP Endpoints",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{cluster}.cognitedata.com/api/v1/projects/{project}/writeback/sap/endpoints",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "\n\n> **Required capabilities:** `sapWritebackAcl:WRITE`\n\nCreate up to 100 SAP endpoints."
        },
        {
          "info": {
            "name": "Retrieve SAP Endpoints",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{cluster}.cognitedata.com/api/v1/projects/{project}/writeback/sap/endpoints/byids",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "\n\n> **Required capabilities:** `sapWritebackAcl:READ`\n\nRetrieve a list of up to 100 SAP endpoints by their external ID, optionally ignoring unknown IDs."
        },
        {
          "info": {
            "name": "Delete SAP Endpoints",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{cluster}.cognitedata.com/api/v1/projects/{project}/writeback/sap/endpoints/delete",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "\n\n> **Required capabilities:** `sapWritebackAcl:WRITE`\n\nDelete a list of SAP endpoint configurations by their external ID. This operation will fail if any endpoint in the request is associated to a SAP instance configuration."
        },
        {
          "info": {
            "name": "Verify SAP Endpoint",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{cluster}.cognitedata.com/api/v1/projects/{project}/writeback/sap/endpoints/verify",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "\n\n> **Required capabilities:** `sapWritebackAcl:WRITE`\n\nVerify the connectivity between the writeback API, and the SAP endpoint destination."
        }
      ]
    }
  ],
  "bundled": true
}