Get all service request with contacts using advanced query
post
/api/boss/data/objects/ora/cxServiceCore/srMgmt/v1/serviceRequests/{serviceRequests_id}/contacts/$query
Request
Path Parameters
-
serviceRequests_id(required): string
This path parameter maps to the following field defined in the Service Requests REST resource:
- number: The unique number that's used to identify a service request. You can edit the service request number to a format that's best suitable to your organizational requirements.
Supported Media Types
- application/json
Nested 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 : type
Type:
Show Source
object-
collection: object
collection
Defines query criteria that can be applied on a resource collection.
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.
Nested Schema : collection
Type:
objectDefines query criteria that can be applied on a resource collection.
Show Source
-
filter: string
The resource collection will be queried using the specified filter condition.
-
limit: integer
Restricts the number of resource items returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resource items.
-
offset: integer
Defines the starting position of the resource collection. If offset exceeds the resource count then no resource items are returned.
-
privilege: string
Represents the privilege or action required to check for while serving a request to access a resource.
-
sortBy: array
sortBy
Orders a resource collection based on the specified fields.
Nested Schema : sortBy
Type:
arrayOrders a resource collection based on the specified fields.
Show Source
Nested Schema : type
Type:
objectObject with single entry. Key must be name of field based on which sorting will happen. Value must be either asc or desc to decide the sort order.
Response
Default Response
An array of items response
Root Schema : serviceRequests-contacts
Type:
Show Source
object-
count(required): integer
The number of resource instances returned in the current range.
-
hasMore(required): boolean
Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false.
-
items: array
Items
Title:
ItemsThe items in the collection. -
limit(required): integer
The actual paging size used by the server.
-
links(required): array
Links
Title:
LinksThe link relations associated with the resource instance. -
offset(required): integer
The offset value used in the current page.
-
totalResults: integer
The estimated row count when "?totalResults=true", otherwise the count is not included.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : serviceRequests-contacts-item-response
Type:
Show Source
object-
AccessLevelCd: string
Title:
Access LevelMaximum Length:30The service request access level granted to the contact. -
AccountName: string
Title:
Account NameRead Only:trueMaximum Length:900The primary account of the service request contact. -
ContactEmailAddress: string
Title:
EmailRead Only:trueMaximum Length:320The email address of the party associated with the contact. -
ContactFormattedPhoneNumber: string
Title:
PhoneRead Only:trueThe formatted phone number of the party associated with the contact. -
ContactPartyName: string
Title:
NameMaximum Length:360The name of a service request contact. -
ContactPartyNumber: string
Title:
Contact NumberRead Only:trueMaximum Length:30The public unique identifier of the contact associated with the service request. -
ContactPreferredContactMethod: string
Title:
Preferred Contact MethodRead Only:trueMaximum Length:30The preferred contact method of the party associated with the contact. -
ContactTypeCd: string
Title:
Contact TypeMaximum Length:30The service request contact type such as Customer or Partner. -
ContactUniqueName: string
Title:
Unique NameMaximum Length:900The unique party name associated with the contact. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the record. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date and time when the record was created. -
DeleteFlag: boolean
Title:
Can DeleteRead Only:trueIndicates if the contact has been deleted. -
DoNotContactFlag: boolean
Title:
Do Not ContactRead Only:trueMaximum Length:1Indicates whether the contact of the service request does not want to be contacted. The default value is false. -
FormattedAddress: string
Title:
Formatted AddressRead Only:trueThe formatted address of the service request contact. -
JobTitle: string
Title:
Job TitleRead Only:trueMaximum Length:100The job title of the service request contact. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date and time when the record was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the record. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32The application login id of the user who last updated the contacts object associated with the service request. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MemberId: integer
(int64)
Title:
Member IDThe unique identifier of the contact. -
PartyId: integer
(int64)
Title:
Party IDThe unique party identifier of the contact. -
PersonId: integer
(int64)
Title:
Person IDThe unique identification of a person that is a contact on a service request.This is only used for human resource help desk service request. -
PrimaryContactFlag: boolean
Title:
PrimaryIndicates if the contact is the primary contact for the service request. If yes, the value is True, else the value is False. The default value is false. -
RelationTypeCd: string
Title:
Relationship Type CodeMaximum Length:30The code indicating the type of relationship with the contact in context of the service request. For example, Alternate, Follower, Third_Party, and so on. -
SrId: integer
(int64)
Title:
Service Request IDThe unique identifier of the associated service request. -
SrNumber: string
Title:
Service Request NumberMaximum Length:30The public unique number of the a service request. -
UpdateFlag: boolean
Title:
Can UpdateRead Only:trueIndicates if the contact has been updated.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.