Countries

This entity describes a Country as defined in the Autotask CRM module. The Countries entity is referenced by the Company, Contact, and Sales Order entities and specifies the preferred display name for the associated country as well as the default address format and invoice template to be used by accounts, contacts, and sales orders that reference the Country ID.

NOTE  You can refer to the Online Help to find root and child access URLs of the entity you wish to query. Refer to Finding resource and child access URLs of REST API entities for more information.

Entity details

Entity Name: Countries

Entity Path:

/atservicesrest/v1.0/Countries

Can Create:  
Can Update:
Can Query:
Can Delete:  
Can Have UDFs:  

Conditions and requirements

  • There must always be an active default country.
  • Setting a new default country will automatically set isDefaultCountry to false for the existing default country (providing no validation errors occur).

Special field attributes

Field Conditions and Requirements
purchaseOrderTemplateID If purchaseOrderTemplateID is null in the database, the field will default to the system default purchase order template ID during query.

Field definitions

Field Name Datatype Read-Only Is Required Reference Name Picklist
addressFormatID long    
countryCode string (2)      
displayName string (100)      
id long    
invoiceTemplateID integer     InvoiceTemplates  
isActive boolean        
isDefaultCountry boolean        
name string (50)      

purchaseOrderTemplateID

integer

 

 

 

quoteTemplateID integer     QuoteTemplates  

Additional resources