mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-06 15:59:59 +08:00
306 lines
16 KiB
JSON
306 lines
16 KiB
JSON
{
|
||
"sections": [
|
||
"title",
|
||
"description",
|
||
"fields",
|
||
"associated_objects",
|
||
"wsdl_segment",
|
||
"field_reference"
|
||
],
|
||
"title": "WarrantyTerm - Data API",
|
||
"description": "Represents warranty terms defining the labor, parts, and expenses covered, along with any exchange options, provided to rectify issues with products. This object is available in API version 50.0 and later.",
|
||
"fields_columns": [
|
||
"type",
|
||
"properties",
|
||
"description"
|
||
],
|
||
"fields": {
|
||
"Code": {
|
||
"type": "string",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "A code or other identifier associated with this warranty term."
|
||
},
|
||
"Description": {
|
||
"type": "textarea",
|
||
"properties": "Create, Nillable, Update",
|
||
"description": "Description of the warranty term."
|
||
},
|
||
"EffectiveStartDate": {
|
||
"type": "picklist",
|
||
"properties": "Create, Filter, Group, Sort, Update",
|
||
"description": "Date on which the warranty term became available for use. Possible values are: InstallDate ManufactureDate PurchaseDate"
|
||
},
|
||
"ExchangeType": {
|
||
"type": "picklist",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "The type of exchange offered. Possible values are: AdvanceExchange Loaner ReturnExchange"
|
||
},
|
||
"Exclusions": {
|
||
"type": "textarea",
|
||
"properties": "Create, Nillable, Update",
|
||
"description": "Description of any exclusions."
|
||
},
|
||
"ExpensesCovered": {
|
||
"type": "percent",
|
||
"properties": "Create, Filter, Nillable, Sort, Update",
|
||
"description": "The percentage of expenses covered."
|
||
},
|
||
"ExpensesCoveredDuration": {
|
||
"type": "int",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "The duration for which expenses are covered."
|
||
},
|
||
"ExpensesCoveredUnitOfTime": {
|
||
"type": "picklist",
|
||
"properties": "Create, Filter, Group, Nillable, Restricted picklist, Sort, Update",
|
||
"description": "The unit in which expenses covered duration is measured. Possible values are: Days Months Weeks Years"
|
||
},
|
||
"IsActive": {
|
||
"type": "boolean",
|
||
"properties": "Create, Defaulted on create, Filter, Group, Sort, Update",
|
||
"description": "Defines whether the warranty term is active."
|
||
},
|
||
"IsTransferable": {
|
||
"type": "boolean",
|
||
"properties": "Create, Defaulted on create, Filter, Group, Sort, Update",
|
||
"description": "Defines whether the warranty can be transferred to a new owner."
|
||
},
|
||
"LaborCovered": {
|
||
"type": "percent",
|
||
"properties": "Create, Filter, Nillable, Sort, Update",
|
||
"description": "The percentage of labor covered."
|
||
},
|
||
"LaborCoveredDuration": {
|
||
"type": "int",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "The duration for which labor is covered."
|
||
},
|
||
"LaborCoveredUnitOfTime": {
|
||
"type": "picklist",
|
||
"properties": "Create, Filter, Group, Nillable, Restricted picklist, Sort, Update",
|
||
"description": "The unit in which labor covered duration is measured. Possible values are: Days Months Weeks Years"
|
||
},
|
||
"LastReferencedDate": {
|
||
"type": "dateTime",
|
||
"properties": "Filter, Nillable, Sort",
|
||
"description": "The date when the warranty term was last modified. Its label in the user interface is Last Modified Date."
|
||
},
|
||
"LastViewedDate": {
|
||
"type": "dateTime",
|
||
"properties": "Filter, Nillable, Sort",
|
||
"description": "The date when the warranty term was last viewed."
|
||
},
|
||
"OwnerId": {
|
||
"type": "reference",
|
||
"properties": "Create, Defaulted on create, Filter, Group, Sort, Update",
|
||
"description": "The warranty term’s assigned owner."
|
||
},
|
||
"PartsCovered": {
|
||
"type": "percent",
|
||
"properties": "Create, Filter, Nillable, Sort, Update",
|
||
"description": "The percentage of parts covered."
|
||
},
|
||
"PartsCoveredDuration": {
|
||
"type": "int",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "The duration for which parts are covered."
|
||
},
|
||
"PartsCoveredUnitOfTime": {
|
||
"type": "picklist",
|
||
"properties": "Create, Filter, Group, Nillable, Restricted picklist, Sort, Update",
|
||
"description": "The unit in which parts covered duration is measured. Possible values are: Days Months Weeks Years"
|
||
},
|
||
"Pricebook2Id": {
|
||
"type": "reference",
|
||
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
||
"description": "The ID of the price book item associated with this warranty term."
|
||
},
|
||
"WarrantyDuration": {
|
||
"type": "int",
|
||
"properties": "Create, Filter, Group, Sort, Update",
|
||
"description": "The duration of the warranty offered by this term."
|
||
},
|
||
"WarrantyTermName": {
|
||
"type": "string",
|
||
"properties": "Create, Filter, Group, idLookup, Sort, Update",
|
||
"description": "The name of the warranty term."
|
||
},
|
||
"WarrantyType": {
|
||
"type": "picklist",
|
||
"properties": "Create, Filter, Group, Sort, Update",
|
||
"description": "The type of warranty. Possible values are: Repair Standard Supplier"
|
||
},
|
||
"WarrantyUnitOfTime": {
|
||
"type": "picklist",
|
||
"properties": "Create, Filter, Group, Restricted picklist, Sort, Update",
|
||
"description": "The unit in which the warranty duration is measured. Possible values are: Days Months Weeks Years"
|
||
}
|
||
},
|
||
"associated_objects": "This object has the following 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- **WarrantyTermChangeEvent**: Change events are available for the object.",
|
||
"wsdl_segment": "```xml\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=\"WarrantyTerm\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\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=\"AssetWarrantyTerms\" 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=\"Code\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"CombinedAttachments\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"ContentDocumentLinks\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\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=\"Description\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"EffectiveStartDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"Emails\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"Events\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"ExchangeType\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"Exclusions\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"ExpensesCovered\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:double\"/>\n <element name=\"ExpensesCoveredDuration\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:int\"/>\n <element name=\"ExpensesCoveredUnitOfTime\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\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=\"IsActive\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"IsDeleted\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"IsTransferable\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"LaborCovered\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:double\"/>\n <element name=\"LaborCoveredDuration\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:int\"/>\n <element name=\"LaborCoveredUnitOfTime\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\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=\"Owner\" nillable=\"true\" minOccurs=\"0\" type=\"ens:sObject\"/>\n <element name=\"OwnerId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"PartsCovered\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:double\"/>\n <element name=\"PartsCoveredDuration\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:int\"/>\n <element name=\"PartsCoveredUnitOfTime\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\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=\"ProductWarrantyTerms\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"Shares\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\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 <element name=\"WarrantyDuration\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:int\"/>\n <element name=\"WarrantyTermName\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"WarrantyType\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"WarrantyUnitOfTime\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n </sequence>\n </extension>\n </complexContent>\n</complexType>\n```",
|
||
"field_reference": {
|
||
"Code": {
|
||
"field_label": "Code",
|
||
"type": "string",
|
||
"length": "255"
|
||
},
|
||
"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"
|
||
},
|
||
"Description": {
|
||
"field_label": "Description",
|
||
"type": "textarea",
|
||
"length": "32000"
|
||
},
|
||
"EffectiveStartDate": {
|
||
"field_label": "Effective Start Date",
|
||
"type": "picklist",
|
||
"length": "40"
|
||
},
|
||
"ExchangeType": {
|
||
"field_label": "Exchange Type",
|
||
"type": "picklist",
|
||
"length": "40"
|
||
},
|
||
"Exclusions": {
|
||
"field_label": "Exclusions",
|
||
"type": "textarea",
|
||
"length": "32000"
|
||
},
|
||
"ExpensesCovered": {
|
||
"field_label": "Expenses Covered",
|
||
"type": "percent",
|
||
"precision": "5",
|
||
"scale": "2"
|
||
},
|
||
"ExpensesCoveredDuration": {
|
||
"field_label": "Expenses Covered Duration",
|
||
"type": "int",
|
||
"digits": "4"
|
||
},
|
||
"ExpensesCoveredUnitOfTime": {
|
||
"field_label": "Expenses Covered Unit of Time",
|
||
"type": "picklist",
|
||
"length": "255"
|
||
},
|
||
"Id": {
|
||
"field_label": "Warranty Term ID",
|
||
"type": "id",
|
||
"length": "18"
|
||
},
|
||
"IsActive": {
|
||
"field_label": "Active",
|
||
"type": "boolean"
|
||
},
|
||
"IsDeleted": {
|
||
"field_label": "Deleted",
|
||
"type": "boolean"
|
||
},
|
||
"IsTransferable": {
|
||
"field_label": "Transferable",
|
||
"type": "boolean"
|
||
},
|
||
"LaborCovered": {
|
||
"field_label": "Labor Covered",
|
||
"type": "percent",
|
||
"precision": "5",
|
||
"scale": "2"
|
||
},
|
||
"LaborCoveredDuration": {
|
||
"field_label": "Labor Covered Duration",
|
||
"type": "int",
|
||
"digits": "4"
|
||
},
|
||
"LaborCoveredUnitOfTime": {
|
||
"field_label": "Labor Covered Unit of Time",
|
||
"type": "picklist",
|
||
"length": "255"
|
||
},
|
||
"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"
|
||
},
|
||
"OwnerId": {
|
||
"field_label": "Owner ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"PartsCovered": {
|
||
"field_label": "Parts Covered",
|
||
"type": "percent",
|
||
"precision": "5",
|
||
"scale": "2"
|
||
},
|
||
"PartsCoveredDuration": {
|
||
"field_label": "Parts Covered Duration",
|
||
"type": "int",
|
||
"digits": "4"
|
||
},
|
||
"PartsCoveredUnitOfTime": {
|
||
"field_label": "Parts Covered Unit of Time",
|
||
"type": "picklist",
|
||
"length": "255"
|
||
},
|
||
"Pricebook2Id": {
|
||
"field_label": "Price Book ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"SystemModstamp": {
|
||
"field_label": "System Modstamp",
|
||
"type": "datetime"
|
||
},
|
||
"WarrantyDuration": {
|
||
"field_label": "Warranty Duration",
|
||
"type": "int",
|
||
"digits": "4"
|
||
},
|
||
"WarrantyTermName": {
|
||
"field_label": "Warranty Term Name",
|
||
"type": "string",
|
||
"length": "255"
|
||
},
|
||
"WarrantyType": {
|
||
"field_label": "Warranty Type",
|
||
"type": "picklist",
|
||
"length": "40"
|
||
},
|
||
"WarrantyUnitOfTime": {
|
||
"field_label": "Warranty Unit Of Time",
|
||
"type": "picklist",
|
||
"length": "255"
|
||
}
|
||
},
|
||
"field_reference_columns": [
|
||
"field_label",
|
||
"type",
|
||
"length",
|
||
"precision",
|
||
"scale",
|
||
"digits"
|
||
]
|
||
} |