{
  "openapi": "3.0.2",
  "info": {
    "description": "Generated on 12-05-2026",
    "title": "CAMP 365 FarPay API computerCamp/farpay/v1.0",
    "version": "28.0.0.0"
  },
  "servers": [
    {
      "url": "https://api.businesscentral.dynamics.com/v2.0/sandbox/api/computerCamp/farpay/v1.0"
    },
    {
      "url": "https://api.businesscentral.dynamics.com/v2.0/production/api/computerCamp/farpay/v1.0"
    }
  ],
  "tags": [
    {
      "name": "collectionAgreements"
    },
    {
      "name": "collectionPayments"
    },
    {
      "name": "eventPayments"
    }
  ],
  "security": [
    {
      "oAuth2ClientCredentials": [
        "https://api.businesscentral.dynamics.com/.default"
      ]
    },
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/collectionAgreements": {
      "get": {
        "description": "A link to change payment method/agreement of the member specified<br>This is a two step procedure starting with calling FarPay to get a link to the new agreement<br><br>Permissions: Read<br>Returns: A link to change the agreement<br>Conditions: A member is required<br><br>Examples:<br>GET:<br>The link for the given member: {environment}/api/computerCamp/farpay/v1.0/companies({company})/collectionAgreements?$filter=memberNo eq '{memberNo}'",
        "summary": "Get entities from collectionAgreements",
        "tags": [
          "collectionAgreements"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "$ref": "#/components/parameters/top"
          },
          {
            "$ref": "#/components/parameters/skip"
          },
          {
            "$ref": "#/components/parameters/search"
          },
          {
            "name": "$filter",
            "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/count"
          },
          {
            "name": "$orderby",
            "description": "Order items by property values, see [Sorting](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionorderby)",
            "in": "query",
            "explode": false,
            "schema": {
              "type": "array",
              "uniqueItems": true,
              "items": {
                "type": "string",
                "enum": [
                  "memberNo",
                  "memberNo desc",
                  "farpayURL",
                  "farpayURL desc"
                ]
              }
            }
          },
          {
            "name": "$select",
            "description": "Select properties to be returned, see [Select](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionselect)",
            "in": "query",
            "explode": false,
            "schema": {
              "type": "array",
              "uniqueItems": true,
              "items": {
                "type": "string",
                "enum": [
                  "memberNo",
                  "farpayURL"
                ]
              }
            }
          },
          {
            "name": "$expand",
            "description": "Select navigation properties to be returned, see [Expand](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionexpand)",
            "in": "query",
            "explode": false,
            "schema": {
              "type": "array",
              "uniqueItems": true,
              "items": {
                "type": "string",
                "enum": [
                  null
                ]
              }
            }
          }
        ],
        "responses": {
          "4XX": {
            "$ref": "#/components/responses/error"
          },
          "200": {
            "description": "Retrieved entities",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Collection of collectionAgreement",
                  "properties": {
                    "@odata.count": {
                      "$ref": "#/components/schemas/count"
                    },
                    "value": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Microsoft.NAV.collectionAgreement"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/collectionAgreements('{memberNo}')": {
      "parameters": [
        {
          "$ref": "#/components/parameters/company"
        },
        {
          "description": "key: memberNo",
          "in": "path",
          "name": "memberNo",
          "required": true,
          "schema": {
            "type": "string",
            "maxLength": 20
          }
        }
      ],
      "get": {
        "summary": "Get entity from collectionAgreements by key",
        "tags": [
          "collectionAgreements"
        ],
        "parameters": [
          {
            "name": "$select",
            "description": "Select properties to be returned, see [Select](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionselect)",
            "in": "query",
            "explode": false,
            "schema": {
              "type": "array",
              "uniqueItems": true,
              "items": {
                "type": "string",
                "enum": [
                  "memberNo",
                  "farpayURL"
                ]
              }
            }
          },
          {
            "name": "$expand",
            "description": "Select navigation properties to be returned, see [Expand](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionexpand)",
            "in": "query",
            "explode": false,
            "schema": {
              "type": "array",
              "uniqueItems": true,
              "items": {
                "type": "string",
                "enum": [
                  null
                ]
              }
            }
          }
        ],
        "responses": {
          "4XX": {
            "$ref": "#/components/responses/error"
          },
          "200": {
            "description": "Retrieved entity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.NAV.collectionAgreement"
                }
              }
            }
          }
        }
      }
    },
    "/collectionPayments": {
      "get": {
        "description": "A list collections for the member specified<br>This is a two step procedure starting with calling FarPay for each unpaid invoice to get a token<br>This token is then added to the payment link returned<br>Note: FarPay payment type also contains BC payment type, if the type is payroll<br>OR<br>Information about a single invoice from invoice number<br><br>Permissions: Read<br>Returns: A list of collections<br>Conditions: A member is required<br><br>Examples:<br>GET:<br>All invoices for a given member: {environment}/api/computerCamp/farpay/v1.0/companies({company})/collectionPayments?$filter=memberNo eq '{memberNo}'<br>A specific invoice: {environment}/api/computerCamp/farpay/v1.0/companies({company})/collectionPayments?$filter=invoiceNo eq '{invoiceNo}'",
        "summary": "Get entities from collectionPayments",
        "tags": [
          "collectionPayments"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "$ref": "#/components/parameters/top"
          },
          {
            "$ref": "#/components/parameters/skip"
          },
          {
            "$ref": "#/components/parameters/search"
          },
          {
            "name": "$filter",
            "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/count"
          },
          {
            "name": "$orderby",
            "description": "Order items by property values, see [Sorting](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionorderby)",
            "in": "query",
            "explode": false,
            "schema": {
              "type": "array",
              "uniqueItems": true,
              "items": {
                "type": "string",
                "enum": [
                  "no",
                  "no desc",
                  "memberNo",
                  "memberNo desc",
                  "invoiceNo",
                  "invoiceNo desc",
                  "description",
                  "description desc",
                  "invoiceDate",
                  "invoiceDate desc",
                  "dueDate",
                  "dueDate desc",
                  "amount",
                  "amount desc",
                  "farpayURL",
                  "farpayURL desc",
                  "paymentStatusFarpay",
                  "paymentStatusFarpay desc",
                  "paymentType",
                  "paymentType desc"
                ]
              }
            }
          },
          {
            "name": "$select",
            "description": "Select properties to be returned, see [Select](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionselect)",
            "in": "query",
            "explode": false,
            "schema": {
              "type": "array",
              "uniqueItems": true,
              "items": {
                "type": "string",
                "enum": [
                  "no",
                  "memberNo",
                  "invoiceNo",
                  "description",
                  "invoiceDate",
                  "dueDate",
                  "amount",
                  "farpayURL",
                  "paymentStatusFarpay",
                  "paymentType"
                ]
              }
            }
          },
          {
            "name": "$expand",
            "description": "Select navigation properties to be returned, see [Expand](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionexpand)",
            "in": "query",
            "explode": false,
            "schema": {
              "type": "array",
              "uniqueItems": true,
              "items": {
                "type": "string",
                "enum": [
                  null
                ]
              }
            }
          }
        ],
        "responses": {
          "4XX": {
            "$ref": "#/components/responses/error"
          },
          "200": {
            "description": "Retrieved entities",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Collection of collectionPayment",
                  "properties": {
                    "@odata.count": {
                      "$ref": "#/components/schemas/count"
                    },
                    "value": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Microsoft.NAV.collectionPayment"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/collectionPayments({no})": {
      "parameters": [
        {
          "$ref": "#/components/parameters/company"
        },
        {
          "description": "key: no",
          "in": "path",
          "name": "no",
          "required": true,
          "schema": {
            "format": "int64",
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "example": "42"
          }
        }
      ],
      "get": {
        "summary": "Get entity from collectionPayments by key",
        "tags": [
          "collectionPayments"
        ],
        "parameters": [
          {
            "name": "$select",
            "description": "Select properties to be returned, see [Select](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionselect)",
            "in": "query",
            "explode": false,
            "schema": {
              "type": "array",
              "uniqueItems": true,
              "items": {
                "type": "string",
                "enum": [
                  "no",
                  "memberNo",
                  "invoiceNo",
                  "description",
                  "invoiceDate",
                  "dueDate",
                  "amount",
                  "farpayURL",
                  "paymentStatusFarpay",
                  "paymentType"
                ]
              }
            }
          },
          {
            "name": "$expand",
            "description": "Select navigation properties to be returned, see [Expand](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionexpand)",
            "in": "query",
            "explode": false,
            "schema": {
              "type": "array",
              "uniqueItems": true,
              "items": {
                "type": "string",
                "enum": [
                  null
                ]
              }
            }
          }
        ],
        "responses": {
          "4XX": {
            "$ref": "#/components/responses/error"
          },
          "200": {
            "description": "Retrieved entity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.NAV.collectionPayment"
                }
              }
            }
          }
        }
      }
    },
    "/eventPayments": {
      "get": {
        "description": "A list event payments for the member specified<br>This is a two step procedure starting with calling FarPay for each unpaid event invoice to get a token<br>This token is then added to the payment link returned<br>OR<br>Information about a single event invoice from invoice number<br><br>Permissions: Read<br>Returns: A list of event invoices<br>Conditions: A member is required<br><br>Examples:<br>GET:<br>All invoices for a given member: {environment}/api/computerCamp/farpay/v1.0/companies({company})/eventPayments?$filter=memberNo eq '{memberNo}'<br>A specific invoice: {environment}/api/computerCamp/farpay/v1.0/companies({company})/eventPayments?$filter=invoiceNo eq '{invoiceNo}'",
        "summary": "Get entities from eventPayments",
        "tags": [
          "eventPayments"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/company"
          },
          {
            "$ref": "#/components/parameters/top"
          },
          {
            "$ref": "#/components/parameters/skip"
          },
          {
            "$ref": "#/components/parameters/search"
          },
          {
            "name": "$filter",
            "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/count"
          },
          {
            "name": "$orderby",
            "description": "Order items by property values, see [Sorting](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionorderby)",
            "in": "query",
            "explode": false,
            "schema": {
              "type": "array",
              "uniqueItems": true,
              "items": {
                "type": "string",
                "enum": [
                  "no",
                  "no desc",
                  "memberNo",
                  "memberNo desc",
                  "invoiceNo",
                  "invoiceNo desc",
                  "description",
                  "description desc",
                  "invoiceDate",
                  "invoiceDate desc",
                  "dueDate",
                  "dueDate desc",
                  "amount",
                  "amount desc",
                  "farpayURL",
                  "farpayURL desc",
                  "paymentStatusFarpay",
                  "paymentStatusFarpay desc",
                  "paymentType",
                  "paymentType desc"
                ]
              }
            }
          },
          {
            "name": "$select",
            "description": "Select properties to be returned, see [Select](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionselect)",
            "in": "query",
            "explode": false,
            "schema": {
              "type": "array",
              "uniqueItems": true,
              "items": {
                "type": "string",
                "enum": [
                  "no",
                  "memberNo",
                  "invoiceNo",
                  "description",
                  "invoiceDate",
                  "dueDate",
                  "amount",
                  "farpayURL",
                  "paymentStatusFarpay",
                  "paymentType"
                ]
              }
            }
          },
          {
            "name": "$expand",
            "description": "Select navigation properties to be returned, see [Expand](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionexpand)",
            "in": "query",
            "explode": false,
            "schema": {
              "type": "array",
              "uniqueItems": true,
              "items": {
                "type": "string",
                "enum": [
                  null
                ]
              }
            }
          }
        ],
        "responses": {
          "4XX": {
            "$ref": "#/components/responses/error"
          },
          "200": {
            "description": "Retrieved entities",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Collection of eventPayment",
                  "properties": {
                    "@odata.count": {
                      "$ref": "#/components/schemas/count"
                    },
                    "value": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Microsoft.NAV.eventPayment"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/eventPayments({no})": {
      "parameters": [
        {
          "$ref": "#/components/parameters/company"
        },
        {
          "description": "key: no",
          "in": "path",
          "name": "no",
          "required": true,
          "schema": {
            "format": "int64",
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "example": "42"
          }
        }
      ],
      "get": {
        "summary": "Get entity from eventPayments by key",
        "tags": [
          "eventPayments"
        ],
        "parameters": [
          {
            "name": "$select",
            "description": "Select properties to be returned, see [Select](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionselect)",
            "in": "query",
            "explode": false,
            "schema": {
              "type": "array",
              "uniqueItems": true,
              "items": {
                "type": "string",
                "enum": [
                  "no",
                  "memberNo",
                  "invoiceNo",
                  "description",
                  "invoiceDate",
                  "dueDate",
                  "amount",
                  "farpayURL",
                  "paymentStatusFarpay",
                  "paymentType"
                ]
              }
            }
          },
          {
            "name": "$expand",
            "description": "Select navigation properties to be returned, see [Expand](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionexpand)",
            "in": "query",
            "explode": false,
            "schema": {
              "type": "array",
              "uniqueItems": true,
              "items": {
                "type": "string",
                "enum": [
                  null
                ]
              }
            }
          }
        ],
        "responses": {
          "4XX": {
            "$ref": "#/components/responses/error"
          },
          "200": {
            "description": "Retrieved entity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.NAV.eventPayment"
                }
              }
            }
          }
        }
      }
    },
    "/$batch": {
      "post": {
        "summary": "Send a group of requests",
        "description": "Group multiple requests into a single request payload, see [Batch Requests](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_BatchRequests).\n\n*Please note that \"Try it out\" is not supported for this request.*",
        "tags": [
          "Batch Requests"
        ],
        "requestBody": {
          "required": true,
          "description": "Batch request",
          "content": {
            "multipart/mixed;boundary=request-separator": {
              "example": "--request-separator\nContent-Type: application/http\nContent-Transfer-Encoding: binary\n\nGET educations HTTP/1.1\nAccept: application/json\n\n\n--request-separator--",
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "responses": {
          "4XX": {
            "$ref": "#/components/responses/error"
          },
          "200": {
            "description": "Batch response",
            "content": {
              "multipart/mixed": {
                "example": "--response-separator\nContent-Type: application/http\n\nHTTP/1.1 200 OK\nContent-Type: application/json\n\n{...}\n--response-separator--",
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Microsoft.NAV.collectionAgreement": {
        "title": "collectionAgreement",
        "type": "object",
        "properties": {
          "memberNo": {
            "description": "The member who is to pay the invoice",
            "type": "string",
            "maxLength": 20
          },
          "farpayURL": {
            "description": "The payment URL in FarPay",
            "type": "string",
            "maxLength": 250,
            "nullable": true
          }
        }
      },
      "Microsoft.NAV.collectionPayment": {
        "title": "collectionPayment",
        "type": "object",
        "properties": {
          "no": {
            "description": "The unique key of the record",
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "format": "int64",
            "example": "42"
          },
          "memberNo": {
            "description": "The member who is to pay the invoice",
            "type": "string",
            "maxLength": 20,
            "nullable": true
          },
          "invoiceNo": {
            "description": "Invoice number for the unpaid invoices",
            "type": "string",
            "maxLength": 20,
            "nullable": true
          },
          "description": {
            "description": "Collection period",
            "type": "string",
            "maxLength": 100,
            "nullable": true
          },
          "invoiceDate": {
            "description": "The invoice date of the invoice",
            "type": "string",
            "format": "date",
            "example": "2017-04-13",
            "nullable": true
          },
          "dueDate": {
            "description": "The due date of the invoice",
            "type": "string",
            "format": "date",
            "example": "2017-04-13",
            "nullable": true
          },
          "amount": {
            "description": "The amount on the invoice",
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "format": "decimal",
            "example": 0,
            "nullable": true
          },
          "farpayURL": {
            "description": "The payment URL in FarPay",
            "type": "string",
            "maxLength": 150,
            "nullable": true
          },
          "paymentStatusFarpay": {
            "description": "The payment status of the invoice in Farpay",
            "type": "string",
            "maxLength": 20,
            "nullable": true
          },
          "paymentType": {
            "description": "The payment type of the invoice",
            "type": "string",
            "maxLength": 50,
            "nullable": true
          }
        }
      },
      "Microsoft.NAV.eventPayment": {
        "title": "eventPayment",
        "type": "object",
        "properties": {
          "no": {
            "description": "The unique key of the record",
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "format": "int64",
            "example": "42"
          },
          "memberNo": {
            "description": "The member who is to pay the event invoice",
            "type": "string",
            "maxLength": 20,
            "nullable": true
          },
          "invoiceNo": {
            "description": "Invoice number for the unpaid event invoice",
            "type": "string",
            "maxLength": 20,
            "nullable": true
          },
          "description": {
            "description": "The event on the event invoice",
            "type": "string",
            "maxLength": 100,
            "nullable": true
          },
          "invoiceDate": {
            "description": "The invoice date of the event invoice",
            "type": "string",
            "format": "date",
            "example": "2017-04-13",
            "nullable": true
          },
          "dueDate": {
            "description": "The due date of the event invoice",
            "type": "string",
            "format": "date",
            "example": "2017-04-13",
            "nullable": true
          },
          "amount": {
            "description": "The amount on the event invoice",
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "format": "decimal",
            "example": 0,
            "nullable": true
          },
          "farpayURL": {
            "description": "The payment URL in FarPay",
            "type": "string",
            "maxLength": 150,
            "nullable": true
          },
          "paymentStatusFarpay": {
            "description": "The payment status of the invoice in Farpay",
            "type": "string",
            "maxLength": 20,
            "nullable": true
          },
          "paymentType": {
            "description": "The payment type of the invoice",
            "type": "string",
            "maxLength": 50,
            "nullable": true
          }
        }
      },
      "count": {
        "anyOf": [
          {
            "minimum": 0,
            "type": "integer"
          },
          {
            "type": "string"
          }
        ],
        "description": "The number of entities in the collection. Available when using the [$count](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptioncount) query option."
      },
      "error": {
        "type": "object",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "object",
            "required": [
              "code",
              "message"
            ],
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "target": {
                "type": "string"
              },
              "details": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "target": {
                      "type": "string"
                    }
                  }
                }
              },
              "innererror": {
                "type": "object",
                "description": "The structure of this object is service-specific"
              }
            }
          }
        }
      }
    },
    "parameters": {
      "company": {
        "in": "query",
        "schema": {
          "type": "string"
        },
        "required": true,
        "name": "company",
        "description": "Kan findes i Business Central ved at &aring;bne siden regnskabsoversigt, v&aelig;lg derefter det &oslash;nskede regnskab. &Aring;bn inspectoren ved at trykke ctrl+alt+F1. Marker v&aelig;rdien i feltet &quot;id&quot; ved at triple-klikke og kopier v&aelig;rdien."
      },
      "top": {
        "name": "$top",
        "in": "query",
        "description": "Show only the first n items, see [Paging - Top](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptiontop)",
        "schema": {
          "type": "integer",
          "minimum": 0
        },
        "example": 50
      },
      "skip": {
        "name": "$skip",
        "in": "query",
        "description": "Skip the first n items, see [Paging - Skip](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionskip)",
        "schema": {
          "type": "integer",
          "minimum": 0
        }
      },
      "count": {
        "name": "$count",
        "in": "query",
        "description": "Include count of items, see [Count](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptioncount)",
        "schema": {
          "type": "boolean"
        }
      },
      "search": {
        "name": "$search",
        "in": "query",
        "description": "Search items by search phrases, see [Searching](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionsearch)",
        "schema": {
          "type": "string"
        }
      }
    },
    "responses": {
      "error": {
        "description": "Error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/error"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "oAuth2ClientCredentials": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://login.microsoftonline.com/camp1.onmicrosoft.com/oauth2/v2.0/token",
            "scopes": {
              "https://api.businesscentral.dynamics.com/.default": "Default permissions"
            }
          }
        },
        "description": "<h5><i>HUSK at inds&aelig;tte dit tenant id eller dom&aelig;ne.</i></h5>"
      },
      "bearerAuth": {
        "description": "<h5><i>Hvis du vil teste i Swagger UI, skal du anvende denne.</i></h5>",
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JwT"
      }
    }
  }
}
