afv-library/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/PromotionMarketSegment.json

129 lines
3.9 KiB
JSON
Raw Normal View History

{
"sections": [
"title",
"description",
"fields",
"special_access_rules",
"field_reference"
],
"title": "PromotionMarketSegment - Data API",
"description": "Represents a market segment within B2B Commerce that promotions can be assigned to. This object is available in API version 52.0 and later.",
"fields_columns": [
"type",
"properties",
"description",
"relationship_name",
"relationship_type",
"refers_to"
],
"fields": {
"CurrencyIsoCode": {
"type": "picklist",
"properties": "Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update",
"description": "Available only for orgs with the multicurrency feature enabled. Contains the ISO code for any currency allowed by the organization."
},
"LastReferencedDate": {
"type": "dateTime",
"properties": "Filter, Nillable, Sort",
"description": "The timestamp for when the current user last viewed a record related to this record."
},
"LastViewedDate": {
"type": "dateTime",
"properties": "Filter, Nillable, Sort",
"description": "The timestamp for when the current user last viewed this record. If this value is null, its possible that this record was referenced (LastReferencedDate) and not viewed."
},
"Name": {
"type": "string",
"properties": "Autonumber, Defaulted on create, Filter, idLookup, Sort",
"description": "The name of the promotion segment."
},
"PromotionId": {
"type": "reference",
"properties": "Create, Filter, Group, Sort",
"description": "The ID of the promotion that you want to associate with your promotion segment. This is a relationship field.",
"relationship_name": "Promotion",
"relationship_type": "Lookup",
"refers_to": "Promotion"
},
"PromotionSegmentId": {
"type": "reference",
"properties": "Create, Filter, Group, Nillable, Sort, Update",
"description": "The ID of the promotion segment that you want to associate with. This is a relationship field.",
"relationship_name": "PromotionSegment",
"relationship_type": "Lookup",
"refers_to": "PromotionSegment"
}
},
"special_access_rules": "The PromotionMarketSegment object is available only if the B2B Commerce license is enabled.",
"field_reference": {
"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"
},
"Id": {
"field_label": "Promotion Market Segment ID",
"type": "id",
"length": "18"
},
"IsDeleted": {
"field_label": "Deleted",
"type": "boolean"
},
"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"
},
"MarketSegmentId": {
"field_label": "Market Segment ID",
"type": "reference",
"length": "18"
},
"Name": {
"field_label": "Name",
"type": "string",
"length": "255"
},
"PromotionId": {
"field_label": "Promotion ID",
"type": "reference",
"length": "18"
},
"PromotionSegmentId": {
"field_label": "Promotion Segment ID",
"type": "reference",
"length": "18"
},
"SystemModstamp": {
"field_label": "System Modstamp",
"type": "datetime"
}
},
"field_reference_columns": [
"field_label",
"type",
"length"
]
}