Get a service lookup code relation using advanced query
post
/api/boss/data/objects/ora/cxServiceCore/common/v1/serviceLookupTypeRelations/{serviceLookupTypeRelations_id}/lookupCodeRelations/{serviceLookupTypeRelations-lookupCodeRelations_id}/$query
Request
Path Parameters
-
serviceLookupTypeRelations-lookupCodeRelations_id(required): string
This path parameter maps to a composite key that consists of the following fields defined in the Service Lookup Type Relations/Service Lookup Code Relations REST resource:
- relationCode: The lookup relation code.
- serviceParentLookupCode: The lookup code of the parent lookup, such as ORA_SVC_NEW, ORA_SVC_RESOLVED, ORA_SVC_SRRES_LEGACY.
- serviceChildLookupCode: The lookup code of the child lookup, such as ORA_SVC_NEW, ORA_SVC_RESOLVED, ORA_SVC_WAITING.
-
serviceLookupTypeRelations_id(required): string
This path parameter maps to the following field defined in the Service Lookup Type Relations REST resource:
- relationCode: The lookup relation code.
Query Parameters
-
$effectiveDate: string(date)
Effective date value in the ISO 8601 date format 'YYYY-MM-DD'. This date is required by business logic to search for effective-dated business objects.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
accessors: object
accessors
Maps accessor names to query objects specific to corresponding accessors. Query object for each accessor supports query capabilities similar to the base.
-
fields: array
fields
Restricts the resource fields. Only the specified fields and mandatory system fields are returned.
-
subTypes: object
subTypes
Maps discriminator values (as defined in subtypes) to query objects specific to corresponding subtypes. Subtype-specific query objects support a subset(fields,accessors,filter) of the query capabilities when compared to the base.
Nested Schema : accessors
Type:
objectMaps accessor names to query objects specific to corresponding accessors. Query object for each accessor supports query capabilities similar to the base.
Nested Schema : fields
Type:
arrayRestricts the resource fields. Only the specified fields and mandatory system fields are returned.
Show Source
Nested Schema : subTypes
Type:
objectMaps discriminator values (as defined in subtypes) to query objects specific to corresponding subtypes. Subtype-specific query objects support a subset(fields,accessors,filter) of the query capabilities when compared to the base.
Response
Default Response
A single item response
Nested Schema : oraCxServiceCoreCommon.ServiceLookupCodeRelation_item
Match All
The service lookup code relation resource is used to get details about the relationship between parent and child lookups.
Show Source
-
object
oraCxServiceCoreCommon.ServiceLookupCodeRelation_item-fields
-
object
Service Lookup Code Relation
Title:
Service Lookup Code RelationThe service lookup code relation resource is used to get details about the relationship between parent and child lookups.
Nested Schema : oraCxServiceCoreCommon.ServiceLookupCodeRelation_item-fields
Type:
Show Source
object-
childLookupCode:
childLookupCode
-
createdBy: string
Title:
Created ByRead Only:trueThe user who created the record. -
lookupTypeRelation:
lookupTypeRelation
-
parentLookupCode:
parentLookupCode
-
relationCode: string
Title:
Relation CodeThe lookup relation code. -
serviceChildLookupCode: string
Title:
Child CodeThe lookup code of the child lookup, such as ORA_SVC_NEW, ORA_SVC_RESOLVED, ORA_SVC_WAITING. -
serviceParentLookupCode: string
Title:
Parent CodeThe lookup code of the parent lookup, such as ORA_SVC_NEW, ORA_SVC_RESOLVED, ORA_SVC_SRRES_LEGACY. -
timeCreated: string
(date-time)
Title:
Creation DateRead Only:trueThe date and time when the record was created. -
timeUpdated: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date and time when the record was last updated. -
updatedBy: string
Title:
Last Updated ByRead Only:trueThe user who last updated the record.
Nested Schema : Service Lookup Code Relation
Type:
objectTitle:
Service Lookup Code RelationThe service lookup code relation resource is used to get details about the relationship between parent and child lookups.
Nested Schema : childLookupCode
Match All
The lookup code of the child lookup, such as ORA_SVC_NEW, ORA_SVC_RESOLVED, ORA_SVC_WAITING.
Show Source
-
allOf
oraCommonAppsInfraObjects.StandardLookupCode_item-fields
-
object
__busObj_context
-
object
Child Code
Title:
Child CodeThe lookup code of the child lookup, such as ORA_SVC_NEW, ORA_SVC_RESOLVED, ORA_SVC_WAITING.
Nested Schema : lookupTypeRelation
Match All
The lookup relation code.
Show Source
-
object
oraCxServiceCoreCommon.ServiceLookupTypeRelation_item-fields
-
object
__busObj_context
-
object
Relation Code
Title:
Relation CodeThe lookup relation code.
Nested Schema : parentLookupCode
Match All
The lookup code of the parent lookup, such as ORA_SVC_NEW, ORA_SVC_RESOLVED, ORA_SVC_SRRES_LEGACY.
Show Source
-
allOf
oraCommonAppsInfraObjects.StandardLookupCode_item-fields
-
object
__busObj_context
-
object
Parent Code
Title:
Parent CodeThe lookup code of the parent lookup, such as ORA_SVC_NEW, ORA_SVC_RESOLVED, ORA_SVC_SRRES_LEGACY.
Nested Schema : oraCommonAppsInfraObjects.StandardLookupCode_abstract-item-allOf[0]
Type:
Show Source
objectNested Schema : oraCommonAppsInfraObjects.LookupCode_abstract-item
Type:
Show Source
object-
$sourceLang: string
Read Only:
true -
createdBy: string
Read Only:
true -
description: string
Read Only:
true -
displaySequence: string
(big-integer)
Read Only:
true -
enabledFlag: boolean
Read Only:
true -
endDateActive: string
(date)
Read Only:
true -
lookupCategoryId: string
(big-integer)
Read Only:
true -
lookupCode: string
Read Only:
true -
lookupType: string
Read Only:
true -
meaning: string
Read Only:
true -
startDateActive: string
(date)
Read Only:
true -
tag: string
Read Only:
true -
timeCreated: string
(date-time)
Read Only:
true -
timeUpdated: string
(date-time)
Read Only:
true -
updatedBy: string
Read Only:
true
Nested Schema : oraCommonAppsInfraObjects.StandardLookupCode_item-fields-allOf[1]
Type:
Show Source
object-
$sourceLang: string
Title:
Source LanguageThe language in which the values of the translatable columns were created, updated, or copied from. -
createdBy: string
Title:
Created ByThe user who created the record. -
description: string
Title:
Lookup Code DescriptionThe translated description of the Lookup Code. -
displaySequence: string
Title:
Display SequenceThe display sequence of the Lookup Code. -
enabledFlag: boolean
Title:
Lookup Code EnabledThe enabled flag of the Lookup Code. -
endDateActive: string
Title:
End Date ActiveThe active end date of the Lookup Code. -
lookupCategoryId: string
Title:
Lookup CategoryThe lookup category of the Lookup Code. -
lookupCode: string
Title:
Lookup Code IDThe unique identifier of the Lookup Code. -
lookupType: string
Title:
Lookup Type IDThe unique identifier of the Lookup Type. -
meaning: string
Title:
Lookup Code MeaningThe translated meaning of the Lookup Code. -
startDateActive: string
Title:
Start Date ActiveThe active start date of the Lookup Code. -
tag: string
Title:
Lookup TagThe tag value of the Lookup Code. -
timeCreated: string
Title:
Created OnThe date and time when the record was created. -
timeUpdated: string
Title:
Last Updated DateThe date and time when the record was last updated. -
updatedBy: string
Title:
Last Updated ByThe user who last updated the record.
Nested Schema : Child Code
Type:
objectTitle:
Child CodeThe lookup code of the child lookup, such as ORA_SVC_NEW, ORA_SVC_RESOLVED, ORA_SVC_WAITING.
Nested Schema : owningType
Match All
The standard lookup types list of values resource is used to query the list of standard lookup types.
Show Source
-
allOf
oraCommonAppsInfraObjects.StandardLookupType_item-fields
-
object
__busObj_context
-
object
Standard Lookup Type
Title:
Standard Lookup TypeThe standard lookup types list of values resource is used to query the list of standard lookup types.
Nested Schema : oraCommonAppsInfraObjects.LookupType_abstract-item
Type:
Show Source
object-
$sourceLang: string
Read Only:
true -
configurationLevel:
configurationLevel
-
createdBy: string
Read Only:
true -
description: string
Read Only:
true -
lookupCategoryId: string
(big-integer)
Read Only:
true -
lookupType: string
Read Only:
true -
meaning: string
Read Only:
true -
restAccessSecured:
restAccessSecured
-
taxonomyNode:
taxonomyNode
-
timeCreated: string
(date-time)
Read Only:
true -
timeUpdated: string
(date-time)
Read Only:
true -
updatedBy: string
Read Only:
true
Nested Schema : oraCommonAppsInfraObjects.StandardLookupType_item-fields-allOf[1]
Type:
Show Source
object-
$sourceLang: string
Title:
Source LanguageThe language in which the values of the translatable columns were created, updated, or copied from. -
configurationLevel: string
Title:
Configuration LevelThe configuration level of the Lookup Type. -
createdBy: string
Title:
Created ByThe user who created the record. -
description: string
Title:
Lookup Type DescriptionThe translated description of the Lookup Type. -
lookupCategoryId: string
Title:
Lookup CategoryThe lookup category of the Lookup Code. -
lookupType: string
Title:
Lookup Type IDThe unique identifier of the Lookup Type. -
meaning: string
Title:
Lookup Type MeaningThe translated meaning of the Lookup Type. -
restAccessSecured: string
Title:
REST Access SecuredThe rest access secured value of the Lookup Type. -
timeCreated: string
Title:
Created OnThe date and time when the record was created. -
timeUpdated: string
Title:
Last Updated DateThe date and time when the record was last updated. -
updatedBy: string
Title:
Last Updated ByThe user who last updated the record.
Nested Schema : Standard Lookup Type
Type:
objectTitle:
Standard Lookup TypeThe standard lookup types list of values resource is used to query the list of standard lookup types.
Nested Schema : taxonomyNode
Match All
The taxonomy node list of values resource is used to query the taxonomy nodes.
Show Source
-
allOf
oraCommonAppsInfraObjects.TaxonomyNode_item-fields
-
object
__busObj_context
-
object
Taxonomy Node
Title:
Taxonomy NodeThe taxonomy node list of values resource is used to query the taxonomy nodes.
Nested Schema : oraCommonAppsInfraObjects.TaxonomyNode_abstract-item
Type:
Show Source
object-
$sourceLang: string
Read Only:
true -
alternativeId: string
(big-integer)
Read Only:
true -
createdBy: string
Read Only:
true -
description: string
Read Only:
true -
hierarchySource:
hierarchySource
-
moduleGUID: string
Read Only:
true -
moduleKey: string
Read Only:
true -
moduleName: string
Read Only:
true -
moduleType:
moduleType
-
productLine: string
(big-integer)
Read Only:
true -
seedDataAllowedFlag: boolean
Read Only:
trueDefault Value:false -
timeCreated: string
(date-time)
Read Only:
true -
timeUpdated: string
(date-time)
Read Only:
true -
updatedBy: string
Read Only:
true -
usageType: string
Read Only:
trueMaximum Length:30 -
userModuleName: string
Read Only:
true
Nested Schema : oraCommonAppsInfraObjects.TaxonomyNode_item-fields-allOf[1]
Type:
Show Source
object-
$sourceLang: string
Title:
Source LanguageThe language in which the values of the translatable columns were created, updated, or copied from. -
alternativeId: string
Title:
Alternative IDThe alternative identifier of the taxonomy node. -
createdBy: string
Title:
Created ByThe user who created the record. -
description: string
Title:
Module DescriptionThe translated description of the taxonomy node. -
moduleGUID: string
Title:
Module GUIDThe unique identifier of the taxonomy node. -
moduleKey: string
Title:
Module KeyThe unique identifier of the module. -
moduleName: string
Title:
Module NameThe descriptive name of the taxonomy node. -
moduleType: string
Title:
Module TypeThe type of the taxonomy node. -
productLine: string
Title:
Product LineThe product line of the taxonomy node. -
seedDataAllowedFlag: boolean
Title:
Seed Data Allowed FlagIndicates if seed data is allowed or not. -
timeCreated: string
Title:
Created OnThe date and time when the record was created. -
timeUpdated: string
Title:
Last Updated DateThe date and time when the record was last updated. -
updatedBy: string
Title:
Last Updated ByThe user who last updated the record. -
usageType: string
Title:
Usage TypeThe usage type of the taxonomy node. -
userModuleName: string
Title:
User Module NameThe translated visible name of the taxonomy node.
Nested Schema : Taxonomy Node
Type:
objectTitle:
Taxonomy NodeThe taxonomy node list of values resource is used to query the taxonomy nodes.
Nested Schema : hierarchySource
Match All
The taxonomy hierarchy represents relationships between taxonomy nodes.
Show Source
-
object
oraCommonAppsInfraObjects.TaxonomyHierarchy_item-fields
-
object
__busObj_context
-
object
Taxonomy Hierarchy
Title:
Taxonomy HierarchyThe taxonomy hierarchy represents relationships between taxonomy nodes.
Nested Schema : oraCommonAppsInfraObjects.TaxonomyHierarchy_item-fields
Type:
Show Source
object-
createdBy: string
Title:
Created ByRead Only:trueThe user who created the record. -
sourceModuleGUID: string
Title:
Source Module GUIDRead Only:trueThe unique identifier of the source taxonomy node. -
sourceNode:
sourceNode
-
targetModuleGUID: string
Title:
Target Module GUIDRead Only:trueThe unique identifier of the target taxonomy node. -
targetNode:
targetNode
-
timeCreated: string
(date-time)
Title:
Created OnRead Only:trueThe date and time when the record was created. -
timeUpdated: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date and time when the record was last updated. -
updatedBy: string
Title:
Last Updated ByRead Only:trueThe user who last updated the record.
Nested Schema : Taxonomy Hierarchy
Type:
objectTitle:
Taxonomy HierarchyThe taxonomy hierarchy represents relationships between taxonomy nodes.
Nested Schema : sourceNode
Match All
The taxonomy node list of values resource is used to query the taxonomy nodes.
Show Source
-
allOf
oraCommonAppsInfraObjects.TaxonomyNode_item-fields
-
object
__busObj_context
-
object
Taxonomy Node
Title:
Taxonomy NodeThe taxonomy node list of values resource is used to query the taxonomy nodes.
Nested Schema : targetNode
Match All
The taxonomy node list of values resource is used to query the taxonomy nodes.
Show Source
-
allOf
oraCommonAppsInfraObjects.TaxonomyNode_item-fields
-
object
__busObj_context
-
object
Taxonomy Node
Title:
Taxonomy NodeThe taxonomy node list of values resource is used to query the taxonomy nodes.
Nested Schema : Taxonomy Node
Type:
objectTitle:
Taxonomy NodeThe taxonomy node list of values resource is used to query the taxonomy nodes.
Nested Schema : Taxonomy Node
Type:
objectTitle:
Taxonomy NodeThe taxonomy node list of values resource is used to query the taxonomy nodes.
Nested Schema : oraCxServiceCoreCommon.ServiceLookupTypeRelation_item-fields
Type:
Show Source
object-
childLookupType:
childLookupType
-
createdBy: string
Title:
Created ByRead Only:trueThe user who created the record. -
parentLookupType:
parentLookupType
-
relationCode: string
Title:
Relation CodeRead Only:trueThe lookup relation code. -
timeCreated: string
(date-time)
Title:
Creation DateRead Only:trueThe date and time when the record was created. -
timeUpdated: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date and time when the record was last updated. -
updatedBy: string
Title:
Last Updated ByRead Only:trueThe user who last updated the record.
Nested Schema : Relation Code
Type:
objectTitle:
Relation CodeThe lookup relation code.
Nested Schema : childLookupType
Match All
The lookup type of the child lookup, such as ORA_SVC_SR_STATUS_CD.
Show Source
-
allOf
oraCommonAppsInfraObjects.StandardLookupType_item-fields
-
object
__busObj_context
-
object
Child Type
Title:
Child TypeThe lookup type of the child lookup, such as ORA_SVC_SR_STATUS_CD.
Nested Schema : parentLookupType
Match All
The lookup type of the parent lookup, such as ORA_SVC_SR_STATUS_TYPE_CD.
Show Source
-
allOf
oraCommonAppsInfraObjects.StandardLookupType_item-fields
-
object
__busObj_context
-
object
Parent Type
Title:
Parent TypeThe lookup type of the parent lookup, such as ORA_SVC_SR_STATUS_TYPE_CD.
Nested Schema : Child Type
Type:
objectTitle:
Child TypeThe lookup type of the child lookup, such as ORA_SVC_SR_STATUS_CD.
Nested Schema : Parent Type
Type:
objectTitle:
Parent TypeThe lookup type of the parent lookup, such as ORA_SVC_SR_STATUS_TYPE_CD.
Nested Schema : Parent Code
Type:
objectTitle:
Parent CodeThe lookup code of the parent lookup, such as ORA_SVC_NEW, ORA_SVC_RESOLVED, ORA_SVC_SRRES_LEGACY.
Links
- $self
-
Parameters:
- serviceLookupTypeRelations-lookupCodeRelations_id:
$request.path.serviceLookupTypeRelations-lookupCodeRelations_id - serviceLookupTypeRelations_id:
$request.path.serviceLookupTypeRelations_id
- serviceLookupTypeRelations-lookupCodeRelations_id:
- childLookupCode
-
Parameters:
- standardLookupCodes_id:
$response.body#/childLookupCode/$id
The lookup code of the child lookup, such as ORA_SVC_NEW, ORA_SVC_RESOLVED, ORA_SVC_WAITING. - standardLookupCodes_id:
- lookupTypeRelation
-
Parameters:
- serviceLookupTypeRelations_id:
$response.body#/lookupTypeRelation/$id
The lookup relation code. - serviceLookupTypeRelations_id:
- parentLookupCode
-
Parameters:
- standardLookupCodes_id:
$response.body#/parentLookupCode/$id
The lookup code of the parent lookup, such as ORA_SVC_NEW, ORA_SVC_RESOLVED, ORA_SVC_SRRES_LEGACY. - standardLookupCodes_id:
Examples
The following example shows how to create a service lookup code relation using advanced query by submitting a POST request on the REST resource using cURL.
cURL Command
curl -X POST --location 'https://servername.fa.us2.oraclecloud.com/api/boss/data/objects/ora/cxServiceCore/common/v1/$en-US/serviceLookupTypeRelations/<relation_code>/lookupCodeRelations/<lookup_code_relation_id>/$query' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>'
Example of Request Body
The following shows the contents of the request body in JSON format.
{
"fields": [
"relationCode",
"serviceParentLookupCode",
"serviceChildLookupCode"
],
"accessors": {
"parentLookupCode": {
"fields": [
"lookupType",
"lookupCode",
"meaning"
]
},
"childLookupCode": {
"fields": [
"lookupType",
"lookupCode",
"meaning"
]
}
}
}
Example of Response Body
The following shows the contents of the response body in JSON format.
{
"relationCode": "ORA_SVC_STATUS_TYPE_STATUS",
"serviceParentLookupCode": "ORA_SVC_CLOSED",
"serviceChildLookupCode": "ORA_SVC_CLOSED",
"$id": "ORA_SVC_STATUS_TYPE_STATUS,ORA_SVC_CLOSED,ORA_SVC_CLOSED",
"$context": {
"etag": "1",
"links": {
"$self": {
"href": "https://servername.fa.us2.oraclecloud.com/api/boss/data/objects/ora/cxServiceCore/common/v1/$en-US/serviceLookupTypeRelations/ORA_SVC_STATUS_TYPE_STATUS/lookupCodeRelations/ORA_SVC_STATUS_TYPE_STATUS%2CORA_SVC_CLOSED%2CORA_SVC_CLOSED"
}
}
},
"parentLookupCode": {
"lookupType": "ORA_SVC_CASE_STATUS_CD",
"lookupCode": "ORA_SVC_CLOSED",
"meaning": "Closed",
"$id": "ORA_SVC_CASE_STATUS_CD,ORA_SVC_CLOSED",
"$context": {
"links": {
"$self": {
"href": "https://servername.fa.us2.oraclecloud.com/api/boss/data/objects/ora/commonAppsInfra/objects/v1/$en-US/standardLookupCodes/ORA_SVC_CASE_STATUS_CD%2CORA_SVC_CLOSED"
}
}
}
},
"childLookupCode": {
"lookupType": "ORA_SVC_CASE_STATUS_CD",
"lookupCode": "ORA_SVC_CLOSED",
"meaning": "Closed",
"$id": "ORA_SVC_CASE_STATUS_CD,ORA_SVC_CLOSED",
"$context": {
"links": {
"$self": {
"href": "https://servername.fa.us2.oraclecloud.com/api/boss/data/objects/ora/commonAppsInfra/objects/v1/$en-US/standardLookupCodes/ORA_SVC_CASE_STATUS_CD%2CORA_SVC_CLOSED"
}
}
}
}
}