mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-06 15:59:59 +08:00
624 lines
34 KiB
JSON
624 lines
34 KiB
JSON
{
|
||
"sections": [
|
||
"title",
|
||
"description",
|
||
"fields",
|
||
"usage",
|
||
"associated_objects",
|
||
"wsdl_segment",
|
||
"field_reference"
|
||
],
|
||
"title": "Contract - Data API",
|
||
"description": "Represents a contract (a business agreement) associated with an Account.",
|
||
"fields_columns": [
|
||
"type",
|
||
"properties",
|
||
"description",
|
||
"relationship_name",
|
||
"relationship_type",
|
||
"refers_to"
|
||
],
|
||
"fields": {
|
||
"AccountId": {
|
||
"type": "reference",
|
||
"properties": "Create, Filter, Group, Sort,Update",
|
||
"description": "ID of the Account associated with this contract. This field is a relationship field.",
|
||
"relationship_name": "Account",
|
||
"relationship_type": "Lookup",
|
||
"refers_to": "Account",
|
||
"required": true
|
||
},
|
||
"ActivatedById": {
|
||
"type": "reference",
|
||
"properties": "Filter, Group, Nillable, Sort,Update",
|
||
"description": "ID of the User who activated this contract. This field is a relationship field.",
|
||
"relationship_name": "ActivatedBy",
|
||
"relationship_type": "Lookup",
|
||
"refers_to": "User"
|
||
},
|
||
"ActivatedDate": {
|
||
"type": "dateTime",
|
||
"properties": "Filter, Nillable, Sort, Update",
|
||
"description": "Date and time when this contract was activated."
|
||
},
|
||
"ActivityMetricId": {
|
||
"type": "reference",
|
||
"properties": "Filter, Group, Nillable, Sort",
|
||
"description": "When Einstein Activity Capture with Activity Metrics is enabled, the ID of the related activity metric. This field is a relationship field.",
|
||
"relationship_name": "ActivityMetric",
|
||
"refers_to": "ActivityMetric"
|
||
},
|
||
"ActivityMetricRollupId": {
|
||
"type": "reference",
|
||
"properties": "Filter, Group, Nillable, Sort",
|
||
"description": "When Einstein Activity Capture with Activity Metrics is enabled, the ID of the related activity metric rollup. This field is a relationship field.",
|
||
"relationship_name": "ActivityMetricRollup",
|
||
"refers_to": "ActivityMetricRollup"
|
||
},
|
||
"AggregationStrategy": {
|
||
"type": "picklist",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "The aggregation strategy when creating a pricing contract. Valid value is Cumulative. This field is available with Revenue Cloud in API version 64.0 and later."
|
||
},
|
||
"BillingAddress": {
|
||
"type": "address",
|
||
"properties": "Filter, Nillable",
|
||
"description": "The compound form of the billing address. Read-only. See Address Compound Fields for details on compound address fields."
|
||
},
|
||
"BillingCity": {
|
||
"type": "string",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "Details for the billing address. The maximum size is 40 characters."
|
||
},
|
||
"BillingCountry": {
|
||
"type": "string",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "Details for the billing address of this account. The maximum size is 80 characters."
|
||
},
|
||
"BillingCountryCode": {
|
||
"type": "picklist",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "The ISO country code for the contract's billing address."
|
||
},
|
||
"BillingGeocodeAccuracy": {
|
||
"type": "picklist",
|
||
"properties": "Create, Filter, Group, Nillable, Restricted picklist, Sort, Update",
|
||
"description": "The accuracy of the geocode for the billing address. Possible values are: Address Block City County ExtendedZip NearAddress Neighborhood State Street Unknown Zip"
|
||
},
|
||
"BillingLatitude": {
|
||
"type": "double",
|
||
"properties": "Create, Filter, Nillable, Sort, Update",
|
||
"description": "Used with BillingLongitude to specify the precise geolocation of a billing address. Acceptable values are numbers between –90 and 90 with up to 15 decimal places."
|
||
},
|
||
"BillingLongitude": {
|
||
"type": "double",
|
||
"properties": "Create, Filter, Nillable, Sort, Update",
|
||
"description": "Used with BillingLatitude to specify the precise geolocation of a billing address. Acceptable values are numbers between –180 and 180 with up to 15 decimal places."
|
||
},
|
||
"BillingPostalCode": {
|
||
"type": "string",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "Details for the billing address of this account. The maximum size is 20 characters."
|
||
},
|
||
"BillingState": {
|
||
"type": "string",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "Details for the billing address. The maximum size is 80 characters."
|
||
},
|
||
"BillingStateCode": {
|
||
"type": "picklist",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "The ISO state code for the contract's billing address."
|
||
},
|
||
"BillingStreet": {
|
||
"type": "textarea",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "Street address for the billing address."
|
||
},
|
||
"CompanySignedDate": {
|
||
"type": "date",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "The date your organization signed the contract."
|
||
},
|
||
"CompanySignedId": {
|
||
"type": "reference",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "ID of the user who signed the contract. This field is a relationship field.",
|
||
"relationship_name": "CompanySigned",
|
||
"relationship_type": "Lookup",
|
||
"refers_to": "User"
|
||
},
|
||
"ContractNumber": {
|
||
"type": "string",
|
||
"properties": "Autonumber, Defaulted on create, Filter, idLookup, Sort",
|
||
"description": "Number of the contract."
|
||
},
|
||
"ContractTerm": {
|
||
"type": "int",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "Number of months that the contract is valid."
|
||
},
|
||
"CustomerSignedDate": {
|
||
"type": "date",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "The date when the customer signed the contract."
|
||
},
|
||
"CustomerSignedId": {
|
||
"type": "reference",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "ID of the Contact who signed this contract. This field is a relationship field.",
|
||
"relationship_name": "CustomerSigned",
|
||
"relationship_type": "Lookup",
|
||
"refers_to": "Contact"
|
||
},
|
||
"CustomerSignedTitle": {
|
||
"type": "string",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "Title of the customer who signed the contract."
|
||
},
|
||
"Description": {
|
||
"type": "textarea",
|
||
"properties": "Create, Nillable, Update",
|
||
"description": "Description of the contract."
|
||
},
|
||
"EndDate": {
|
||
"type": "date",
|
||
"properties": "Filter, Group, Nillable, Sort,",
|
||
"description": "Read-only. Calculated end date of the contract. This value is calculated by adding the ContractTerm to the StartDate. If the Auto-calculate Contract End Date setting is disabled, the contract end date is editable."
|
||
},
|
||
"HasContractCotermination": {
|
||
"type": "boolean",
|
||
"properties": "Create, Defaulted on create, Filter, Group, Sort, Update",
|
||
"description": "Indicates whether the contract can be coterminated (true) or not (false). The default value is false. This field is available with Revenue Cloud in API version 65.0 and later."
|
||
},
|
||
"IsPricingContract": {
|
||
"type": "boolean",
|
||
"properties": "Defaulted on create, Filter, Group, Sort",
|
||
"description": "Indicates whether the contract has related contract item prices (true) or if there are no contract item prices for the contract (false). This field is available with Revenue Cloud in API version 63.0 and later."
|
||
},
|
||
"IsDeleted": {
|
||
"type": "boolean",
|
||
"properties": "Defaulted on create or filter",
|
||
"description": "Indicates whether the object has been moved to the Recycle Bin (true) or not (false). The label is Deleted."
|
||
},
|
||
"LastActivityDate": {
|
||
"type": "date",
|
||
"properties": "Filter, Group, Nillable, Sort",
|
||
"description": "Value is the most recent: The due date of the most recent event is logged against the record. The due date of the most recently closed task associated with the record."
|
||
},
|
||
"LastApprovedDate": {
|
||
"type": "dateTime",
|
||
"properties": "Filter, Nillable, Sort",
|
||
"description": "Last date the contract was approved."
|
||
},
|
||
"LastReferencedDate": {
|
||
"type": "datetime",
|
||
"properties": "Filter, Nillable, Sort",
|
||
"description": "The timestamp when the current user last accessed this record, a record related to this record, or a list view."
|
||
},
|
||
"LastViewedDate": {
|
||
"type": "datetime",
|
||
"properties": "Filter, Nillable, Sort",
|
||
"description": "The timestamp when the current user last viewed this record or list view. If this value is null, it’s possible that the user only accessed this record or list view (LastReferencedDate) but didn’t view it."
|
||
},
|
||
"OwnerExpirationNotice": {
|
||
"type": "picklist",
|
||
"properties": "Create, Filter, Group, Nillable, Restricted picklist, Sort, Update",
|
||
"description": "Number of days ahead of the contract end date (15, 30, 45, 60, 90, and 120). Used to notify the owner in advance that the contract is ending."
|
||
},
|
||
"OwnerId": {
|
||
"type": "reference",
|
||
"properties": "Create, Defaulted on create, Filter, Group, Sort, Update",
|
||
"description": "ID of the user who owns the contract. This field is a relationship field.",
|
||
"relationship_name": "Owner",
|
||
"relationship_type": "Lookup",
|
||
"refers_to": "User"
|
||
},
|
||
"Pricebook2Id": {
|
||
"type": "reference",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "ID of the pricebook, if any, associated with this contract."
|
||
},
|
||
"PricingSource": {
|
||
"type": "picklist",
|
||
"properties": "Create, Filter, Group, Nillable, Restricted picklist, Sort, Update",
|
||
"description": "Source of the pricing for the contract. Valid values are: LastTransaction PriceBookListPrice—Price Book or List Price Available in API version 60.0 and later."
|
||
},
|
||
"RecordTypeId": {
|
||
"type": "reference",
|
||
"properties": "Create, Filter, Nillable, Update",
|
||
"description": "ID of the record type assigned to this object."
|
||
},
|
||
"RenewalTerm2": {
|
||
"type": "double",
|
||
"properties": "Create, Filter, Nillable, Sort, Update",
|
||
"description": "The default subscription term for renewals. For example, if the Renewal Term Unit is months and you want a 6-month term, set the Renewal Term to 6. Available in API version 60.0 and later."
|
||
},
|
||
"RenewalTermUnit": {
|
||
"type": "picklist",
|
||
"properties": "Create, Filter, Group, Nillable, Restricted picklist, Sort, Update",
|
||
"description": "The unit of time for a subscription term. Valid values are: Annual—UI label is Years Months Quarterly—Available in API version 61.0 and later. Semi-Annual—Available in API version 61.0 and later. Available in API version 60.0 and later."
|
||
},
|
||
"ShippingAddress": {
|
||
"type": "address",
|
||
"properties": "Filter, Nillable",
|
||
"description": "The compound form of the shipping address. Read-only. See Address Compound Fields for details on compound address fields."
|
||
},
|
||
"ShippingCity": {
|
||
"type": "string",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "Details of the shipping address. City maximum size is 40 characters."
|
||
},
|
||
"ShippingCountry": {
|
||
"type": "string",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "Details of the shipping address. Country maximum size is 80 characters."
|
||
},
|
||
"ShippingCountryCode": {
|
||
"type": "picklist",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "The ISO country code for the contract's shipping address."
|
||
},
|
||
"ShippingGeocodeAccuracy": {
|
||
"type": "picklist",
|
||
"properties": "Create, Filter, Group, Nillable, Restricted picklist, Sort, Update",
|
||
"description": "The accuracy of the geocode for the shipping address. Valid values are: Address Block City County ExtendedZip NearAddress Neighborhood State Street Unknown Zip Available in API version 60.0 and later."
|
||
},
|
||
"ShippingLatitude": {
|
||
"type": "double",
|
||
"properties": "Create, Filter, Nillable, Sort, Update",
|
||
"description": "Used with ShippingLongitude to specify the precise geolocation of a shipping address. Acceptable values are numbers between –90 and 90 with up to 15 decimal places."
|
||
},
|
||
"ShippingLongitude": {
|
||
"type": "double",
|
||
"properties": "Create, Filter, Nillable, Sort, Update",
|
||
"description": "Used with ShippingLatitude to specify the precise geolocation of an address. Acceptable values are numbers between –180 and 180 with up to 15 decimal places."
|
||
},
|
||
"ShippingPostalCode": {
|
||
"type": "string",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "Details of the shipping address. The postal code maximum size is 20 characters."
|
||
},
|
||
"ShippingState": {
|
||
"type": "string",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "Details of the shipping address. The maximum size for the state is 80 characters."
|
||
},
|
||
"ShippingStateCode": {
|
||
"type": "picklist",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "The ISO state code for the contract's shipping address."
|
||
},
|
||
"ShippingStreet": {
|
||
"type": "textarea",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "The street address of the shipping address. The maximum size is 255 characters."
|
||
},
|
||
"SourceQuoteId": {
|
||
"type": "reference",
|
||
"properties": "Create, Filter, Group, Sort,Update",
|
||
"description": "ID of the source quote associated with this contract. This field is available with Revenue Cloud in API version 64.0 and later. This field is a relationship field.",
|
||
"relationship_name": "Contract",
|
||
"relationship_type": "Lookup",
|
||
"refers_to": "Quote"
|
||
},
|
||
"SpecialTerms": {
|
||
"type": "textarea",
|
||
"properties": "Create, Filter, Nillable, Sort, Update",
|
||
"description": "Special terms that apply to the contract."
|
||
},
|
||
"StartDate": {
|
||
"type": "date",
|
||
"properties": "Create, Filter, Group, Nillable, Sort,Update",
|
||
"description": "Start date for this contract. The label is Contract Start Date."
|
||
},
|
||
"Status": {
|
||
"type": "picklist",
|
||
"properties": "Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update",
|
||
"description": "The picklist of values that indicate order status. Each value is within one of two status categories defined in StatusCode. For example, the status picklist may contain: Ready to Ship, Shipped, Received as values within the Activated StatusCode. Valid values are: Activated Draft In Approval Process Available in API version 60.0 and later."
|
||
},
|
||
"StatusCode": {
|
||
"type": "picklist",
|
||
"properties": "Filter, Group, Restricted picklist, Sort",
|
||
"description": "The status category for the contract. A contract can be Draft, InApproval, or Activated. Label is Status Category. Valid values are: Activated Draft InApproval Available in API version 60.0 and later."
|
||
},
|
||
"UnitPriceUplift": {
|
||
"type": "percent",
|
||
"properties": "Create, Filter, Nillable, Sort, Update",
|
||
"description": "Indicates the percentage increase of a line item’s unit price. This field is available with Revenue Cloud in API version 64.0 and later."
|
||
}
|
||
},
|
||
"usage": "The Contract object represents a business agreement. The Status field specifies the current state of a contract. Status strings (defined in the ContractStatus object) represent its current state (Draft, InApproval, or Activated). Client applications must initially create a Contract in a non-Activated state. Client applications can subsequently activate a Contract by updating it and setting the value in its Status field to Activated; however, the Status field is the only field you can update when activating the Contract. After a Contract has been activated, your client application can't change its status; however, before activation, your client application can change the status value from Draft to InApproval via the API. Also, your client application can delete contracts whose status is Draft or InApproval but not when a contract status is Activated. Client applications can use the API to create, update, delete, and query any Attachment associated with a contract.\n\nThe Contract object represents a business agreement.\n\nThe Status field specifies the current state of a contract. Status strings (defined in the ContractStatus object) represent its current state (Draft, InApproval, or Activated).\n\nClient applications must initially create a Contract in a non-Activated state. Client applications can subsequently activate a Contract by updating it and setting the value in its Status field to Activated; however, the Status field is the only field you can update when activating the Contract.\n\nAfter a Contract has been activated, your client application can't change its status; however, before activation, your client application can change the status value from Draft to InApproval via the API. Also, your client application can delete contracts whose status is Draft or InApproval but not when a contract status is Activated.\n\nClient applications can use the API to create, update, delete, and query any Attachment associated with a contract.",
|
||
"associated_objects": "This object has these associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.\n\n- **AccountChangeEvent (API version 46.0)**: Change events are available for the object.\n- **ContractFeed (API version 18.0)**: Feed tracking is available for the object.\n- **ContractHistory**: History is available for tracked fields of the object.",
|
||
"wsdl_segment": "```xml\n<complexType name=\"Contract\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"Account\" nillable=\"true\" minOccurs=\"0\" type=\"ens:Account\"/>\n <element name=\"AccountId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"ActivatedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"ActivatedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"ActivatedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"ActivityHistories\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"ApprovalSubmissions\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"ApprovalWorkItems\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"AttachedContentDocuments\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"Attachments\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"BillingAddress\" nillable=\"true\" minOccurs=\"0\" type=\"tns:address\"/>\n <element name=\"BillingCity\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"BillingCountry\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"BillingGeocodeAccuracy\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"BillingLatitude\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:double\"/>\n <element name=\"BillingLongitude\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:double\"/>\n <element name=\"BillingPostalCode\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"BillingState\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"BillingStreet\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"CombinedAttachments\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"CompanySigned\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"CompanySignedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:date\"/>\n <element name=\"CompanySignedId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"ContentDocumentLinks\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"ContractContactRoles\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"ContractNumber\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"ContractTerm\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:int\"/>\n <element name=\"CreatedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"CreatedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"CreatedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"CustomerSigned\" nillable=\"true\" minOccurs=\"0\" type=\"ens:Contact\"/>\n <element name=\"CustomerSignedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:date\"/>\n <element name=\"CustomerSignedId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"CustomerSignedTitle\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"Description\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"Emails\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"EndDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:date\"/>\n <element name=\"Events\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"FeedSubscriptionsForEntity\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"Feeds\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"FlowOrchestrationWorkItems\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"Histories\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"IsDeleted\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"LastActivityDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:date\"/>\n <element name=\"LastApprovedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"LastModifiedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"LastModifiedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"LastModifiedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"LastReferencedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"LastViewedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"LookedUpFromActivities\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"Notes\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"NotesAndAttachments\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"OpenActivities\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"Opportunities\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"Orders\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"Owner\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"OwnerExpirationNotice\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"OwnerId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"Pricebook2\" nillable=\"true\" minOccurs=\"0\" type=\"ens:Pricebook2\"/>\n <element name=\"Pricebook2Id\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"ProcessInstances\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"ProcessSteps\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"RecordActionHistories\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"RecordActions\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"RecordAssociatedGroups\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"SpecialTerms\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"StartDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:date\"/>\n <element name=\"Status\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"StatusCode\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"SystemModstamp\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"Tasks\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"TopicAssignments\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"UserRecordAccess\" nillable=\"true\" minOccurs=\"0\" type=\"ens:UserRecordAccess\"/>\n </sequence>\n </extension>\n </complexContent>\n</complexType>\n<simpleType name=\"ID\">\n <restriction base=\"xsd:string\">\n <length value=\"18\"/>\n <pattern value=\"[a-zA-Z0-9]{18}\"/>\n </restriction>\n</simpleType>\n<simpleType name=\"QueryLocator\">\n <restriction base=\"xsd:string\"/>\n</simpleType>\n<complexType name=\"QueryResult\">\n <sequence>\n <element name=\"done\" type=\"xsd:boolean\"/>\n <element name=\"queryLocator\" type=\"tns:QueryLocator\" nillable=\"true\"/>\n <element name=\"records\" type=\"ens:sObject\" nillable=\"true\" minOccurs=\"0\" maxOccurs=\"unbounded\"/>\n <element name=\"size\" type=\"xsd:int\"/>\n </sequence>\n</complexType>\n<complexType name=\"address\">\n <complexContent>\n <extension base=\"tns:location\">\n <sequence>\n <element name=\"city\" type=\"xsd:string\" nillable=\"true\"/>\n <element name=\"country\" type=\"xsd:string\" nillable=\"true\"/>\n <element name=\"countryCode\" type=\"xsd:string\" nillable=\"true\"/>\n <element name=\"geocodeAccuracy\" type=\"xsd:string\" nillable=\"true\"/>\n <element name=\"postalCode\" type=\"xsd:string\" nillable=\"true\"/>\n <element name=\"state\" type=\"xsd:string\" nillable=\"true\"/>\n <element name=\"stateCode\" type=\"xsd:string\" nillable=\"true\"/>\n <element name=\"street\" type=\"xsd:string\" nillable=\"true\"/>\n </sequence>\n </extension>\n </complexContent>\n</complexType>\n<complexType name=\"location\">\n <sequence>\n <element name=\"latitude\" type=\"xsd:double\" nillable=\"true\"/>\n <element name=\"longitude\" type=\"xsd:double\" nillable=\"true\"/>\n </sequence>\n</complexType>\n```",
|
||
"field_reference": {
|
||
"AccountId": {
|
||
"field_label": "Account ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"ActivatedById": {
|
||
"field_label": "Activated By ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"ActivatedDate": {
|
||
"field_label": "Activated Date",
|
||
"type": "datetime"
|
||
},
|
||
"ActivityMetricId": {
|
||
"field_label": "Activity Metric ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"ActivityMetricRollupId": {
|
||
"field_label": "Activity Metric Rollup ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"BillingAddress": {
|
||
"field_label": "Billing Address",
|
||
"type": "address"
|
||
},
|
||
"BillingCity": {
|
||
"field_label": "Billing City",
|
||
"type": "string",
|
||
"length": "40"
|
||
},
|
||
"BillingCountry": {
|
||
"field_label": "Billing Country",
|
||
"type": "string",
|
||
"length": "80"
|
||
},
|
||
"BillingGeocodeAccuracy": {
|
||
"field_label": "Billing Geocode Accuracy",
|
||
"type": "picklist",
|
||
"length": "40"
|
||
},
|
||
"BillingLatitude": {
|
||
"field_label": "Billing Latitude",
|
||
"type": "double",
|
||
"precision": "18",
|
||
"scale": "15"
|
||
},
|
||
"BillingLongitude": {
|
||
"field_label": "Billing Longitude",
|
||
"type": "double",
|
||
"precision": "18",
|
||
"scale": "15"
|
||
},
|
||
"BillingPostalCode": {
|
||
"field_label": "Billing Zip/Postal Code",
|
||
"type": "string",
|
||
"length": "20"
|
||
},
|
||
"BillingState": {
|
||
"field_label": "Billing State/Province",
|
||
"type": "string",
|
||
"length": "80"
|
||
},
|
||
"BillingStreet": {
|
||
"field_label": "Billing Street",
|
||
"type": "textarea",
|
||
"length": "255"
|
||
},
|
||
"CompanySignedDate": {
|
||
"field_label": "Company Signed Date",
|
||
"type": "date"
|
||
},
|
||
"CompanySignedId": {
|
||
"field_label": "Company Signed By ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"ContractNumber": {
|
||
"field_label": "Contract Number",
|
||
"type": "string",
|
||
"length": "30"
|
||
},
|
||
"ContractTerm": {
|
||
"field_label": "Contract Term",
|
||
"type": "int",
|
||
"digits": "4"
|
||
},
|
||
"CreatedById": {
|
||
"field_label": "Created By ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"CreatedDate": {
|
||
"field_label": "Created Date",
|
||
"type": "datetime"
|
||
},
|
||
"CurrencyIsoCode": {
|
||
"field_label": "Currency ISO Code",
|
||
"type": "picklist",
|
||
"length": "3"
|
||
},
|
||
"CustomerSignedDate": {
|
||
"field_label": "Customer Signed Date",
|
||
"type": "date"
|
||
},
|
||
"CustomerSignedId": {
|
||
"field_label": "Customer Signed By ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"CustomerSignedTitle": {
|
||
"field_label": "Customer Signed Title",
|
||
"type": "string",
|
||
"length": "40"
|
||
},
|
||
"Description": {
|
||
"field_label": "Description",
|
||
"type": "textarea",
|
||
"length": "32000"
|
||
},
|
||
"EndDate": {
|
||
"field_label": "Contract End Date",
|
||
"type": "date"
|
||
},
|
||
"Id": {
|
||
"field_label": "Contract ID",
|
||
"type": "id",
|
||
"length": "18"
|
||
},
|
||
"IsDeleted": {
|
||
"field_label": "Deleted",
|
||
"type": "boolean"
|
||
},
|
||
"IsPricingContract": {
|
||
"field_label": "Is Pricing Contract",
|
||
"type": "boolean"
|
||
},
|
||
"LastActivityDate": {
|
||
"field_label": "Last Activity",
|
||
"type": "date"
|
||
},
|
||
"LastApprovedDate": {
|
||
"field_label": "Last Approved Date",
|
||
"type": "datetime"
|
||
},
|
||
"LastModifiedById": {
|
||
"field_label": "Last Modified By ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"LastModifiedDate": {
|
||
"field_label": "Last Modified Date",
|
||
"type": "datetime"
|
||
},
|
||
"LastReferencedDate": {
|
||
"field_label": "Last Referenced Date",
|
||
"type": "datetime"
|
||
},
|
||
"LastViewedDate": {
|
||
"field_label": "Last Viewed Date",
|
||
"type": "datetime"
|
||
},
|
||
"Name": {
|
||
"field_label": "Contract Name",
|
||
"type": "string",
|
||
"length": "80"
|
||
},
|
||
"OwnerExpirationNotice": {
|
||
"field_label": "Owner Expiration Notice",
|
||
"type": "picklist",
|
||
"length": "40"
|
||
},
|
||
"OwnerId": {
|
||
"field_label": "Owner ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"Pricebook2Id": {
|
||
"field_label": "Price Book ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"PricingSource": {
|
||
"field_label": "Pricing Source",
|
||
"type": "picklist",
|
||
"length": "40"
|
||
},
|
||
"RenewalTerm2": {
|
||
"field_label": "Renewal Term",
|
||
"type": "double",
|
||
"precision": "18",
|
||
"scale": "2"
|
||
},
|
||
"RenewalTermUnit": {
|
||
"field_label": "Renewal Term Unit",
|
||
"type": "picklist",
|
||
"length": "40"
|
||
},
|
||
"ShippingAddress": {
|
||
"field_label": "Shipping Address",
|
||
"type": "address"
|
||
},
|
||
"ShippingCity": {
|
||
"field_label": "Shipping City",
|
||
"type": "string",
|
||
"length": "40"
|
||
},
|
||
"ShippingCountry": {
|
||
"field_label": "Shipping Country",
|
||
"type": "string",
|
||
"length": "80"
|
||
},
|
||
"ShippingGeocodeAccuracy": {
|
||
"field_label": "Shipping Geocode Accuracy",
|
||
"type": "picklist",
|
||
"length": "40"
|
||
},
|
||
"ShippingLatitude": {
|
||
"field_label": "Shipping Latitude",
|
||
"type": "double",
|
||
"precision": "18",
|
||
"scale": "15"
|
||
},
|
||
"ShippingLongitude": {
|
||
"field_label": "Shipping Longitude",
|
||
"type": "double",
|
||
"precision": "18",
|
||
"scale": "15"
|
||
},
|
||
"ShippingPostalCode": {
|
||
"field_label": "Shipping Zip/Postal Code",
|
||
"type": "string",
|
||
"length": "20"
|
||
},
|
||
"ShippingState": {
|
||
"field_label": "Shipping State/Province",
|
||
"type": "string",
|
||
"length": "80"
|
||
},
|
||
"ShippingStreet": {
|
||
"field_label": "Shipping Street",
|
||
"type": "textarea",
|
||
"length": "255"
|
||
},
|
||
"SourceOpportunityId": {
|
||
"field_label": "Opportunity ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"SpecialTerms": {
|
||
"field_label": "Special Terms",
|
||
"type": "textarea",
|
||
"length": "4000"
|
||
},
|
||
"StartDate": {
|
||
"field_label": "Contract Start Date",
|
||
"type": "date"
|
||
},
|
||
"Status": {
|
||
"field_label": "Status",
|
||
"type": "picklist",
|
||
"length": "100"
|
||
},
|
||
"StatusCode": {
|
||
"field_label": "Status Category",
|
||
"type": "picklist",
|
||
"length": "40"
|
||
},
|
||
"SystemModstamp": {
|
||
"field_label": "System Modstamp",
|
||
"type": "datetime"
|
||
},
|
||
"UnitPriceUplift": {
|
||
"field_label": "Unit Price Uplift",
|
||
"type": "percent",
|
||
"precision": "5",
|
||
"scale": "2"
|
||
}
|
||
},
|
||
"field_reference_columns": [
|
||
"field_label",
|
||
"type",
|
||
"length",
|
||
"precision",
|
||
"scale",
|
||
"digits"
|
||
]
|
||
} |