{
  "actions": [
    {
      "name": "getAttachmentMetadataById",
      "protocol": "REST",
      "method": "GET",
      "entitypath": "{base_path}/{version}/now/attachment/{pathv1}?{query}",
      "requestSchema": "schema.json",
      "responseSchema": "schema.json",
      "timeout": 0,
      "sendEmpty": false,
      "sendGetBody": false,
      "requestDatatype": "JSON",
      "responseDatatype": "JSON",
      "headers": {},
      "responseObjects": [
        {
          "type": "default",
          "key": "result",
          "mockFile": "mockdatafiles/getAttachmentMetadataById-default.json"
        }
      ]
    },
    {
      "name": "getAttachmentBinaryById",
      "protocol": "REST",
      "method": "GET",
      "entitypath": "{base_path}/{version}/now/attachment/{pathv1}/file?{query}",
      "requestSchema": "schema.json",
      "responseSchema": "schema.json",
      "timeout": 0,
      "sendEmpty": false,
      "sendGetBody": false,
      "requestDatatype": "JSON",
      "responseDatatype": "PLAIN",
      "headers": {},
      "responseObjects": [
        {
          "type": "default",
          "key": "",
          "mockFile": "mockdatafiles/getAttachmentBinaryById-default.json"
        }
      ]
    },
    {
      "name": "getAttachmentsMetadata",
      "protocol": "REST",
      "method": "GET",
      "entitypath": "{base_path}/{version}/now/attachment?{query}",
      "requestSchema": "schema.json",
      "responseSchema": "schema.json",
      "timeout": 0,
      "sendEmpty": false,
      "sendGetBody": false,
      "requestDatatype": "JSON",
      "responseDatatype": "JSON",
      "headers": {},
      "responseObjects": [
        {
          "type": "default",
          "key": "result",
          "mockFile": "mockdatafiles/getAttachmentsMetadata-default.json"
        }
      ]
    },
    {
      "name": "uploadAttachment",
      "protocol": "REST",
      "method": "POST",
      "entitypath": "{base_path}/{version}/now/attachment/file?{query}",
      "requestSchema": "schema.json",
      "responseSchema": "schema.json",
      "timeout": 0,
      "sendEmpty": false,
      "sendGetBody": false,
      "requestDatatype": "PLAIN",
      "responseDatatype": "JSON",
      "headers": {},
      "responseObjects": [
        {
          "type": "default",
          "key": "result",
          "mockFile": "mockdatafiles/uploadAttachment-default.json"
        }
      ]
    },
    {
      "name": "uploadMultipartAttachment",
      "protocol": "REST",
      "method": "POST",
      "entitypath": "{base_path}/{version}/now/attachment/upload?{query}",
      "requestSchema": "schema.json",
      "responseSchema": "schema.json",
      "timeout": 0,
      "sendEmpty": false,
      "sendGetBody": false,
      "requestDatatype": "JSON",
      "responseDatatype": "JSON",
      "headers": {},
      "responseObjects": [
        {
          "type": "default",
          "key": "result",
          "mockFile": ""
        }
      ]
    },
    {
      "name": "deleteAttachmentById",
      "protocol": "REST",
      "method": "DELETE",
      "entitypath": "{base_path}/{version}/now/attachment/{pathv1}?{query}",
      "requestSchema": "schema.json",
      "responseSchema": "schema.json",
      "timeout": 0,
      "sendEmpty": false,
      "sendGetBody": false,
      "requestDatatype": "JSON",
      "responseDatatype": "JSON",
      "headers": {},
      "responseObjects": [
        {
          "type": "default",
          "key": "",
          "mockFile": "mockdatafiles/deleteAttachmentById-default.json"
        }
      ]
    }
  ]
}