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
  • This path parameter maps to the following field defined in the Service Requests REST resource:
    1. 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
Request Body - application/json ()
Root Schema : schema
Match All
Show Source
Nested Schema : schema
Type: object
Show Source
  • accessors
    Maps accessor names to query objects specific to corresponding accessors. Query object for each accessor supports query capabilities similar to the base.
  • fields
    Restricts the resource fields. Only the specified fields and mandatory system fields are returned.
  • 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: object
Show Source
Nested Schema : accessors
Type: object
Maps 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: array
Restricts the resource fields. Only the specified fields and mandatory system fields are returned.
Show Source
Nested Schema : subTypes
Type: object
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 : collection
Type: object
Defines query criteria that can be applied on a resource collection.
Show Source
  • The resource collection will be queried using the specified filter condition.
  • 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.
  • Defines the starting position of the resource collection. If offset exceeds the resource count then no resource items are returned.
  • Represents the privilege or action required to check for while serving a request to access a resource.
  • sortBy
    Orders a resource collection based on the specified fields.
Nested Schema : sortBy
Type: array
Orders a resource collection based on the specified fields.
Show Source
Nested Schema : items
Match One Schema
Show Source
  • Name of field based on which sorting will happen. Order is ascending.
  • type
    Object 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.
Nested Schema : type
Type: object
Object 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.
Back to Top

Response

Default Response

An array of items response
Body ()
Root Schema : serviceRequests-contacts
Type: object
Show Source
Nested Schema : Items
Type: array
Title: Items
The items in the collection.
Show Source
Nested Schema : serviceRequests-contacts-item-response
Type: object
Show Source
  • Title: Access Level
    Maximum Length: 30
    The service request access level granted to the contact.
  • Title: Account Name
    Read Only: true
    Maximum Length: 900
    The primary account of the service request contact.
  • Title: Email
    Read Only: true
    Maximum Length: 320
    The email address of the party associated with the contact.
  • Title: Phone
    Read Only: true
    The formatted phone number of the party associated with the contact.
  • Title: Name
    Maximum Length: 360
    The name of a service request contact.
  • Title: Contact Number
    Read Only: true
    Maximum Length: 30
    The public unique identifier of the contact associated with the service request.
  • Title: Preferred Contact Method
    Read Only: true
    Maximum Length: 30
    The preferred contact method of the party associated with the contact.
  • Title: Contact Type
    Maximum Length: 30
    The service request contact type such as Customer or Partner.
  • Title: Unique Name
    Maximum Length: 900
    The unique party name associated with the contact.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the record.
  • Title: Creation Date
    Read Only: true
    The date and time when the record was created.
  • Title: Can Delete
    Read Only: true
    Indicates if the contact has been deleted.
  • Title: Do Not Contact
    Read Only: true
    Maximum Length: 1
    Indicates whether the contact of the service request does not want to be contacted. The default value is false.
  • Title: Formatted Address
    Read Only: true
    The formatted address of the service request contact.
  • Title: Job Title
    Read Only: true
    Maximum Length: 100
    The job title of the service request contact.
  • Title: Last Updated Date
    Read Only: true
    The date and time when the record was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The user who last updated the record.
  • Title: Last Update Login
    Read Only: true
    Maximum Length: 32
    The application login id of the user who last updated the contacts object associated with the service request.
  • Links
  • Title: Member ID
    The unique identifier of the contact.
  • Title: Party ID
    The unique party identifier of the contact.
  • Title: Person ID
    The unique identification of a person that is a contact on a service request.This is only used for human resource help desk service request.
  • Title: Primary
    Indicates 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.
  • Title: Relationship Type Code
    Maximum Length: 30
    The code indicating the type of relationship with the contact in context of the service request. For example, Alternate, Follower, Third_Party, and so on.
  • Title: Service Request ID
    The unique identifier of the associated service request.
  • Title: Service Request Number
    Maximum Length: 30
    The public unique number of the a service request.
  • Title: Can Update
    Read Only: true
    Indicates if the contact has been updated.
Back to Top