{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Dynamics 365 Dataverse Web Accounts Contacts API",
    "version": "9.2.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/authorize",
      "accessTokenUrl": "https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Contacts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Dynamics 365 List contacts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{org}.api.crm.dynamics.com/api/data/v9.2/contacts",
            "headers": [
              {
                "name": "Prefer",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to return."
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "OData filter expression to restrict results."
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to sort by, with optional asc or desc."
              },
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "Maximum number of records to return."
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Number of records to skip before returning results."
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of navigation properties to expand."
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include a count of matching records in the response."
              }
            ]
          },
          "docs": "Retrieve a list of contact entity records. Supports OData query options including $select, $filter, $orderby, $top, $skip, and $expand."
        },
        {
          "info": {
            "name": "Microsoft Dynamics 365 Create a contact",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{org}.api.crm.dynamics.com/api/data/v9.2/contacts",
            "headers": [
              {
                "name": "Prefer",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new contact entity record."
        },
        {
          "info": {
            "name": "Microsoft Dynamics 365 Retrieve a contact",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{org}.api.crm.dynamics.com/api/data/v9.2/contacts(:contactid)",
            "params": [
              {
                "name": "contactid",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the contact record (GUID)."
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to return."
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of navigation properties to expand."
              }
            ]
          },
          "docs": "Retrieve a single contact entity record by its unique identifier."
        },
        {
          "info": {
            "name": "Microsoft Dynamics 365 Update a contact",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{org}.api.crm.dynamics.com/api/data/v9.2/contacts(:contactid)",
            "headers": [
              {
                "name": "Prefer",
                "value": ""
              },
              {
                "name": "If-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "contactid",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the contact record (GUID)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an existing contact entity record."
        },
        {
          "info": {
            "name": "Microsoft Dynamics 365 Delete a contact",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{org}.api.crm.dynamics.com/api/data/v9.2/contacts(:contactid)",
            "params": [
              {
                "name": "contactid",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the contact record (GUID)."
              }
            ]
          },
          "docs": "Delete a contact entity record."
        }
      ]
    }
  ],
  "bundled": true
}