Microsoft Dynamics 365 · Schema
AccountUpdate
Properties for updating an existing account.
Business ApplicationsCloudCRMEnterpriseERPMicrosoft
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The company or business name. |
| accountnumber | string | ID number or code for the account. |
| description | string | Additional information to describe the account. |
| emailaddress1 | string | Primary email address. |
| telephone1 | string | Main phone number. |
| fax | string | Fax number. |
| websiteurl | string | Website URL. |
| revenue | number | Annual revenue. |
| numberofemployees | integer | Number of employees. |
| sic | string | SIC code. |
| tickersymbol | string | Stock exchange symbol. |
| industrycode | integer | Primary industry code. |
| ownershipcode | integer | Ownership structure code. |
| accountcategorycode | integer | Category code. |
| customertypecode | integer | Relationship type code. |
| preferredcontactmethodcode | integer | Preferred method of contact code. |
| paymenttermscode | integer | Payment terms code. |
| creditlimit | number | Credit limit. |
| creditonhold | boolean | Whether credit is on hold. |
| donotemail | boolean | Whether to allow direct email. |
| donotphone | boolean | Whether to allow phone calls. |
| donotfax | boolean | Whether to allow faxes. |
| donotpostalmail | boolean | Whether to allow direct mail. |
| donotbulkemail | boolean | Whether to allow bulk email. |
| address1_name | string | |
| address1_line1 | string | |
| address1_line2 | string | |
| address1_line3 | string | |
| address1_city | string | |
| address1_stateorprovince | string | |
| address1_postalcode | string | |
| address1_country | string | |
| address1_telephone1 | string | |
| address1_fax | string | |
| address1_latitude | number | |
| address1_longitude | number | |
| address1_addresstypecode | integer | |
| statecode | integer | |
| statuscode | integer | |
| [email protected] | string | Bind reference to a contact record. Format: /contacts(GUID). |
| [email protected] | string | Bind reference to a parent account record. Format: /accounts(GUID). |
| [email protected] | string | Bind reference to a currency record. Format: /transactioncurrencies(GUID). |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/AccountUpdate",
"title": "AccountUpdate",
"type": "object",
"description": "Properties for updating an existing account.",
"properties": {
"name": {
"type": "string",
"maxLength": 160,
"description": "The company or business name."
},
"accountnumber": {
"type": "string",
"maxLength": 20,
"description": "ID number or code for the account."
},
"description": {
"type": "string",
"description": "Additional information to describe the account."
},
"emailaddress1": {
"type": "string",
"format": "email",
"maxLength": 100,
"description": "Primary email address."
},
"telephone1": {
"type": "string",
"maxLength": 50,
"description": "Main phone number."
},
"fax": {
"type": "string",
"maxLength": 50,
"description": "Fax number."
},
"websiteurl": {
"type": "string",
"format": "uri",
"maxLength": 200,
"description": "Website URL."
},
"revenue": {
"type": "number",
"description": "Annual revenue."
},
"numberofemployees": {
"type": "integer",
"description": "Number of employees."
},
"sic": {
"type": "string",
"maxLength": 20,
"description": "SIC code."
},
"tickersymbol": {
"type": "string",
"maxLength": 10,
"description": "Stock exchange symbol."
},
"industrycode": {
"type": "integer",
"description": "Primary industry code."
},
"ownershipcode": {
"type": "integer",
"description": "Ownership structure code."
},
"accountcategorycode": {
"type": "integer",
"description": "Category code."
},
"customertypecode": {
"type": "integer",
"description": "Relationship type code."
},
"preferredcontactmethodcode": {
"type": "integer",
"description": "Preferred method of contact code."
},
"paymenttermscode": {
"type": "integer",
"description": "Payment terms code."
},
"creditlimit": {
"type": "number",
"description": "Credit limit."
},
"creditonhold": {
"type": "boolean",
"description": "Whether credit is on hold."
},
"donotemail": {
"type": "boolean",
"description": "Whether to allow direct email."
},
"donotphone": {
"type": "boolean",
"description": "Whether to allow phone calls."
},
"donotfax": {
"type": "boolean",
"description": "Whether to allow faxes."
},
"donotpostalmail": {
"type": "boolean",
"description": "Whether to allow direct mail."
},
"donotbulkemail": {
"type": "boolean",
"description": "Whether to allow bulk email."
},
"address1_name": {
"type": "string",
"maxLength": 200
},
"address1_line1": {
"type": "string",
"maxLength": 250
},
"address1_line2": {
"type": "string",
"maxLength": 250
},
"address1_line3": {
"type": "string",
"maxLength": 250
},
"address1_city": {
"type": "string",
"maxLength": 80
},
"address1_stateorprovince": {
"type": "string",
"maxLength": 50
},
"address1_postalcode": {
"type": "string",
"maxLength": 20
},
"address1_country": {
"type": "string",
"maxLength": 80
},
"address1_telephone1": {
"type": "string",
"maxLength": 50
},
"address1_fax": {
"type": "string",
"maxLength": 50
},
"address1_latitude": {
"type": "number",
"format": "double"
},
"address1_longitude": {
"type": "number",
"format": "double"
},
"address1_addresstypecode": {
"type": "integer"
},
"statecode": {
"type": "integer"
},
"statuscode": {
"type": "integer"
},
"[email protected]": {
"type": "string",
"description": "Bind reference to a contact record. Format: /contacts(GUID)."
},
"[email protected]": {
"type": "string",
"description": "Bind reference to a parent account record. Format: /accounts(GUID)."
},
"[email protected]": {
"type": "string",
"description": "Bind reference to a currency record. Format: /transactioncurrencies(GUID)."
}
}
}