Microsoft Dynamics · Schema

Lead

A lead in Microsoft Dynamics 365 CRM, representing a potential customer who has not yet been qualified.

CRMERPMicrosoft Dynamics

Properties

Name Type Description
leadid string The unique identifier of the lead.
subject string The subject or topic of the lead.
firstname string The first name of the lead.
lastname string The last name of the lead.
fullname string The full name of the lead.
companyname string The company name of the lead.
jobtitle string The job title of the lead.
emailaddress1 string The primary email address.
telephone1 string The primary telephone number.
address1_line1 string The first line of the address.
address1_city string The city of the address.
address1_stateorprovince string The state or province of the address.
address1_postalcode string The postal code of the address.
address1_country string The country of the address.
leadsourcecode integer The source code indicating where the lead originated.
estimatedvalue number The estimated value of the lead.
estimatedclosedate string The estimated close date.
statecode integer The state of the lead (0 = Open, 1 = Qualified, 2 = Disqualified).
statuscode integer The status reason code.
createdon string The date and time the lead was created.
modifiedon string The date and time the lead was last modified.
View JSON Schema on GitHub

JSON Schema

lead.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/microsoft-dynamics/refs/heads/main/json-schema/lead.json",
  "title": "Lead",
  "description": "A lead in Microsoft Dynamics 365 CRM, representing a potential customer who has not yet been qualified.",
  "type": "object",
  "properties": {
    "leadid": {
      "type": "string",
      "format": "uuid",
      "description": "The unique identifier of the lead.",
      "readOnly": true
    },
    "subject": {
      "type": "string",
      "description": "The subject or topic of the lead."
    },
    "firstname": {
      "type": "string",
      "description": "The first name of the lead."
    },
    "lastname": {
      "type": "string",
      "description": "The last name of the lead."
    },
    "fullname": {
      "type": "string",
      "description": "The full name of the lead.",
      "readOnly": true
    },
    "companyname": {
      "type": "string",
      "description": "The company name of the lead."
    },
    "jobtitle": {
      "type": "string",
      "description": "The job title of the lead."
    },
    "emailaddress1": {
      "type": "string",
      "format": "email",
      "description": "The primary email address."
    },
    "telephone1": {
      "type": "string",
      "description": "The primary telephone number."
    },
    "address1_line1": {
      "type": "string",
      "description": "The first line of the address."
    },
    "address1_city": {
      "type": "string",
      "description": "The city of the address."
    },
    "address1_stateorprovince": {
      "type": "string",
      "description": "The state or province of the address."
    },
    "address1_postalcode": {
      "type": "string",
      "description": "The postal code of the address."
    },
    "address1_country": {
      "type": "string",
      "description": "The country of the address."
    },
    "leadsourcecode": {
      "type": "integer",
      "description": "The source code indicating where the lead originated."
    },
    "estimatedvalue": {
      "type": "number",
      "description": "The estimated value of the lead."
    },
    "estimatedclosedate": {
      "type": "string",
      "format": "date",
      "description": "The estimated close date."
    },
    "statecode": {
      "type": "integer",
      "description": "The state of the lead (0 = Open, 1 = Qualified, 2 = Disqualified)."
    },
    "statuscode": {
      "type": "integer",
      "description": "The status reason code."
    },
    "createdon": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the lead was created.",
      "readOnly": true
    },
    "modifiedon": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the lead was last modified.",
      "readOnly": true
    }
  },
  "required": ["lastname"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/lead"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.