Get all source system references

get

/crmRestApi/resources/11.13.18.05/hubSourceSystemReferences

Request

Query Parameters
  • When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
  • This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.

    Format: ?fields=Attribute1,Attribute2

    Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2
  • Used as a predefined finder to search the collection.

    Format: ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>

    The following are the available finder names and corresponding finder variables:

    • PrimaryKey: Finds a source system reference assignment by using the assignment record's primary key.
      Finder Variables:
      • SourceSystemReferenceId; integer; The unique identifier of the source system reference assignment.
    • SSRById: Finds a source system reference assignment by using the assignment record's identifier.
      Finder Variables:
      • SourceSystemReferenceId; integer; The unique identifier of the source system reference assignment.
    • SSRByOsOsrOwnerEntityObject: Finds a source system reference assignment by using the source system reference and trading community object name.
      Finder Variables:
      • OwnerEntityObject; string; The TCA entity that holds the fusion identifier, for which new source system, source system reference are associated. Valid values are lookup-code of lookup type ORA_ZCH_OWNER_ENTITY_OBJECT.
      • SourceSystem; string; The name of the source system.
      • SourceSystemReferenceValue; string; The source system id for the source system logical entity.
    • SSRByOsOsrOwnerEntityObjectId: Finds a source system reference assignment by using the source system reference and trading community object record identifier values.
      Finder Variables:
      • OwnerEntityId; integer; The fusion identifier for a record in owner entity object for which new source system, or source system reference are associated. It can be provided in case of insert.
      • OwnerEntityObject; string; The TCA entity that holds the fusion identifier, for which new source system, source system reference are associated. Valid values are lookup-code of lookup type ORA_ZCH_OWNER_ENTITY_OBJECT.
      • SourceSystem; string; The name of the source system.
      • SourceSystemReferenceValue; string; The source system id for the source system logical entity.
    • SourceSystemReferenceAltKey: Finds a source system reference assignment by using the assignment record's alternate key source system, source system reference value, or owner entity object.
      Finder Variables:
      • OwnerEntityObject; string.
      • SourceSystem; string.
      • SourceSystemReferenceValue; string.
  • This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
  • This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>

    Example:
    self,canonical
  • Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
  • This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
  • This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY

    Format: ?q=expression1;expression2

    You can use these queryable attributes to filter this collection resource using the q query parameter:
    • Attribute1; string; Stores the value in the column for the flexfield mapped to character column 1.
    • Attribute10; string; Stores the value in the column for the flexfield mapped to character column 10.
    • Attribute11; string; Stores the value in the column for the flexfield mapped to character column 11.
    • Attribute12; string; Stores the value in the column for the flexfield mapped to character column 12.
    • Attribute13; string; Stores the value in the column for the flexfield mapped to character column 13.
    • Attribute14; string; Stores the value in the column for the flexfield mapped to character column 14.
    • Attribute15; string; Stores the value in the column for the flexfield mapped to character column 15.
    • Attribute16; string; Stores the value in the column for the flexfield mapped to character column 16.
    • Attribute17; string; Stores the value in the column for the flexfield mapped to character column 17.
    • Attribute18; string; Stores the value in the column for the flexfield mapped to character column 18.
    • Attribute19; string; Stores the value in the column for the flexfield mapped to character column 19.
    • Attribute2; string; Stores the value in the column for the flexfield mapped to character column 2.
    • Attribute20; string; Stores the value in the column for the flexfield mapped to character column 20.
    • Attribute21; string; Stores the value in the column for the flexfield mapped to character column 21.
    • Attribute22; string; Stores the value in the column for the flexfield mapped to character column 22.
    • Attribute23; string; Stores the value in the column for the flexfield mapped to character column 23.
    • Attribute24; string; Stores the value in the column for the flexfield mapped to character column 24.
    • Attribute25; string; Stores the value in the column for the flexfield mapped to character column 25.
    • Attribute26; string; Stores the value in the column for the flexfield mapped to character column 26.
    • Attribute27; string; Stores the value in the column for the flexfield mapped to character column 27.
    • Attribute28; string; Stores the value in the column for the flexfield mapped to character column 28.
    • Attribute29; string; Stores the value in the column for the flexfield mapped to character column 29.
    • Attribute3; string; Stores the value in the column for the flexfield mapped to character column 3.
    • Attribute30; string; Stores the value in the column for the flexfield mapped to character column 30.
    • Attribute4; string; Stores the value in the column for the flexfield mapped to character column 4.
    • Attribute5; string; Stores the value in the column for the flexfield mapped to character column 5.
    • Attribute6; string; Stores the value in the column for the flexfield mapped to character column 6.
    • Attribute7; string; Stores the value in the column for the flexfield mapped to character column 7.
    • Attribute8; string; Stores the value in the column for the flexfield mapped to character column 8.
    • Attribute9; string; Stores the value in the column for the flexfield mapped to character column 9.
    • AttributeCategory; string; The attribute stores the category value for a group of flexfields.
    • AttributeDate1; string; Stores the value in the column for the flexfield mapped to date column 1.
    • AttributeDate10; string; Stores the value in the column for the flexfield mapped to date column 10.
    • AttributeDate11; string; Stores the value in the column for the flexfield mapped to date column 11.
    • AttributeDate12; string; Stores the value in the column for the flexfield mapped to date column 12.
    • AttributeDate2; string; Stores the value in the column for the flexfield mapped to date column 2.
    • AttributeDate3; string; Stores the value in the column for the flexfield mapped to date column 3.
    • AttributeDate4; string; Stores the value in the column for the flexfield mapped to date column 4.
    • AttributeDate5; string; Stores the value in the column for the flexfield mapped to date column 5.
    • AttributeDate6; string; Stores the value in the column for the flexfield mapped to date column 6.
    • AttributeDate7; string; Stores the value in the column for the flexfield mapped to date column 7.
    • AttributeDate8; string; Stores the value in the column for the flexfield mapped to date column 8.
    • AttributeDate9; string; Stores the value in the column for the flexfield mapped to date column 9.
    • AttributeNumber1; number; Stores the value in the column for the flexfield mapped to number column 1.
    • AttributeNumber10; number; Stores the value in the column for the flexfield mapped to number column 10.
    • AttributeNumber11; number; Stores the value in the column for the flexfield mapped to number column 11.
    • AttributeNumber12; number; Stores the value in the column for the flexfield mapped to number column 12.
    • AttributeNumber2; number; Stores the value in the column for the flexfield mapped to number column 2.
    • AttributeNumber3; number; Stores the value in the column for the flexfield mapped to number column 3.
    • AttributeNumber4; number; Stores the value in the column for the flexfield mapped to number column 4.
    • AttributeNumber5; number; Stores the value in the column for the flexfield mapped to number column 5.
    • AttributeNumber6; number; Stores the value in the column for the flexfield mapped to number column 6.
    • AttributeNumber7; number; Stores the value in the column for the flexfield mapped to number column 7.
    • AttributeNumber8; number; Stores the value in the column for the flexfield mapped to number column 8.
    • AttributeNumber9; number; Stores the value in the column for the flexfield mapped to number column 9.
    • CreatedBy; string; The user who created the row.
    • CreatedByModule; string; The module that created the source system reference.
    • CreationDate; string; The date and time when the row was created.
    • EndDateActive; string; The end date of the source system reference. This cannot be a past date.
    • LastUpdateDate; string; The date and time when the row was last updated.
    • LastUpdateLogin; string; The login of the user who last updated the row.
    • LastUpdatedBy; string; The user who last updated the row.
    • OwnerEntityId; integer; The fusion identifier for a record in owner entity object for which new source system, source system reference are associated. It can be provided in case of insert.
    • OwnerEntityObject; string; The TCA entity that holds the fusion identifier, for which new source system, source system reference are associated. Valid values are lookup-code of lookup type ORA_ZCH_OWNER_ENTITY_OBJECT.
    • ReasonCode; string; This is validated against the MOSR_REASON lookup type.
    • SourceSystem; string; The source system name. Provide it in case of insert.
    • SourceSystemReferenceId; integer; The sequentially generated primary key.
    • SourceSystemReferenceValue; string; The source system id for the source system logical entity. Provide it in case of insert.
    • StartDateActive; string; The start date of the source system reference. This cannot be a future date.
    • Status; string; The status of the source system reference. Valid values are Active - 'A' and Inactive - 'I'.
  • The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : hubSourceSystemReferences
Type: object
Show Source
Nested Schema : Items
Type: array
Title: Items
The items in the collection.
Show Source
Nested Schema : hubSourceSystemReferences-item-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to get all source system references by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL

curl -user sales_cloud_user -X GET  https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/hubSourceSystemReferences

Example of Response Body

The following example shows the contents of the response body in JSON format:

{
    "items": [
        {
            "SourceSystemReferenceId": 10766,
            "SourceSystem": "Pinnacle_Data",
            "SourceSystemReferenceValue": "1393",
            "OwnerEntityObject": "ORA_CUST_ACCT_SITES_ALL",
            "OwnerEntityId": 1394,
            "ExistingSourceSystem": null,
            "ExistingSourceSystemReferenceValue": null,
            "StartDateActive": "2004-02-23",
            "EndDateActive": "4712-12-31",
            "Status": "A",
            "ReasonCode": null,
            "CreatedBy": "2045",
            "CreationDate": "1999-10-06T03:54:14+00:00",
            "LastUpdatedBy": "2045",
            "LastUpdateDate": "1999-10-06T03:54:14+00:00",
            "LastUpdateLogin": "357171",
            "CreatedByModule": "TCA",
            "AttributeCategory": null,
            "Attribute1": null,
            ...
            "AttributeDate1": null,
            "AttributeDate2": null,
            "AttributeDate3": null,
            "AttributeDate4": null,
            "AttributeDate5": null,
            "AttributeDate6": null,
            "AttributeDate7": null,
            "AttributeDate8": null,
            "AttributeDate9": null,
            "AttributeDate10": null,
            "AttributeDate11": null,
            "AttributeDate12": null,
            "links": [
                {
                    "rel": "self",
                    "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/hubSourceSystemReferences/10766",
                    "name": "hubSourceSystemReferences",
                    "kind": "item",
                    "properties": {
                        "changeIndicator": "ACED0005737200136A61766176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                    }
                },
                {
                    "rel": "canonical",
                    "href": "https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/hubSourceSystemReferences/10766",
                    "name": "hubSourceSystemReferences",
                    "kind": "item"
                }
            ]
        },
...
}
Back to Top