Get all payment instrument assignments
/fscmRestApi/resources/11.13.18.05/instrumentAssignments
Request
-
expand: string
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).
-
fields: string
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 -
finder: string
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:- PaymentInstrumentAttributes: Finds the payment instrument assignments that match specified search parameters.
Finder Variables:- Intent; string.
- PaymentFlow; string; The payment flow of the payment instrument assignment.
- PaymentInstrumentAssignmentId; integer; The identifier of a payment instrument assignment.
- PaymentInstrumentId; integer; The identifier of the payment instrument, which is a component of a payment instrument assignment.
- PaymentInstrumentType; string; The type of payment instrument, which is a component of a payment instrument assignment.
- PaymentPartyId; integer; The identifier of the payee or payer who is a component of the payment instrument assignment.
- PrimaryIndicator; string; The primary indicator of the payment instrument assignment.
- PrimaryKey: Finds the payment instrument assignment with the specified primary key.
Finder Variables:- PaymentInstrumentAssignmentId; integer; The identifier of a payment instrument assignment.
- PaymentInstrumentAttributes: Finds the payment instrument assignments that match specified search parameters.
-
limit: integer
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.
-
links: string
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 -
offset: integer
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.
-
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
-
orderBy: string
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
-
q: string
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:- EndDate; string; Date when the relationship between the payment instrument and the payer or payee becomes inactive within a payment instrument assignment.
- MaskedBankAccountNumber; string; Bank account number, as a component of a payment instrument assignment, that returns masked values for display purposes.
- MaskedCreditCardNumber; string; Credit card number, as a component of a payment instrument assignment, that returns masked values for display purposes.
- PaymentFlow; string; Payment flow of funds capture or disbursement transactions within a payment instrument assignment. Values are from the IBY_PAYMENT_FLOW lookup.
- PaymentInstrumentAssignmentId; integer; Identifier of the payment instrument assignment.
- PaymentInstrumentId; integer; Identifier of the bank account or credit card payment instrument, which is a component of a payment instrument assignment.
- PaymentInstrumentType; string; Type of payment instrument, which is a component of a payment instrument assignment. Values from the IBY_INSTRUMENT_TYPES lookup include BANKACCOUNT, CREDITCARD, and DEBITCARD.
- PaymentPartyId; integer; Identifier of the external payer or external payee who is the party component of the payment instrument assignment.
- PersonId; integer; Person identifier when the external payee is an employee.
- PrimaryIndicator; string; Indicates whether the payment instrument, as a component of a payment instrument assignment, is the primary payment instrument for the payer or payee. A primary payment instrument automatically populates the transactions.
- StartDate; string; Date when the relationship between the payment instrument and the payer or payee becomes active within a payment instrument assignment.
- VendorId; integer; Vendor identifier when the account owner party is a supplier.
-
totalResults: boolean
The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
-
Metadata-Context:
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".
-
REST-Framework-Version:
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 TopResponse
- application/json
Default Response
-
Metadata-Context:
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".
-
REST-Framework-Version:
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.
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:
Items
The items in the collection. -
limit(required): integer
The actual paging size used by the server.
-
links(required): array
Links
Title:
Links
The 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.
array
Links
object
-
EndDate: string
(date)
Date when the relationship between the payment instrument and the payer or payee becomes inactive within a payment instrument assignment.
-
Intent: string
Purpose of the payment instrument assignment. The value is based on the payment function of the external payee or the external payer. The following are the expected values: PAYABLES_DISB - Supplier, EMPLOYEE_EXP - Person, EMPLOYEE_EXP - Employee, AR_CUSTOMER_REFUNDS - Refund, CUSTOMER_PAYMENT - Customer, ONETIME_PAYMENT - Onetime, and ADHOC_PAYMENT - Adhoc.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
MaskedBankAccountNumber: string
Title:
Number
Read Only:true
Maximum Length:100
Bank account number, as a component of a payment instrument assignment, that returns masked values for display purposes. -
MaskedCreditCardNumber: string
Title:
Number
Read Only:true
Maximum Length:30
Credit card number, as a component of a payment instrument assignment, that returns masked values for display purposes. -
PaymentFlow: string
Title:
Payment Flow
Maximum Length:30
Payment flow of funds capture or disbursement transactions within a payment instrument assignment. Values are from the IBY_PAYMENT_FLOW lookup. -
PaymentInstrumentAssignmentId: integer
(int64)
Identifier of the payment instrument assignment.
-
PaymentInstrumentId: integer
(int64)
Identifier of the bank account or credit card payment instrument, which is a component of a payment instrument assignment.
-
PaymentInstrumentType: string
Title:
Instrument Type
Maximum Length:30
Type of payment instrument, which is a component of a payment instrument assignment. Values from the IBY_INSTRUMENT_TYPES lookup include BANKACCOUNT, CREDITCARD, and DEBITCARD. -
PaymentPartyId: integer
(int64)
Identifier of the external payer or external payee who is the party component of the payment instrument assignment.
-
PersonId: integer
Person identifier when the external payee is an employee.
-
PrimaryIndicator: string
Title:
Primary
Maximum Length:30
Indicates whether the payment instrument, as a component of a payment instrument assignment, is the primary payment instrument for the payer or payee. A primary payment instrument automatically populates the transactions. -
StartDate: string
(date)
Title:
From Assignment Date
Date when the relationship between the payment instrument and the payer or payee becomes active within a payment instrument assignment. -
VendorId: integer
(int64)
Read Only:
true
Vendor identifier when the account owner party is a supplier.
array
Links
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]
The name of the relation to the resource instance. Example: self.
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Examples
Example 1
The following example shows how to retrieve all the payment instrument assignments by submitting a GET request on the REST resource using cURL.
curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourcecollection+json" -X GET https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments?finder=PaymentInstrumentAttributes;PaymentPartyId=503,Intent=Supplier
Example Response Body
The following example shows the contents of the response body in JSON format:
{ "items": [ { "PaymentInstrumentAssignmentId": 759, "PaymentPartyId": 503, "PaymentInstrumentId": 271, "PaymentFlow": "DISBURSEMENTS", ... "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/759", "name": "instrumentAssignments", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78" } }, { "rel": "canonical", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/759", "name": "instrumentAssignments", "kind": "item" } ] }, ... ], "count": 4, "hasMore": false, "limit": 25, "offset": 0, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments", "name": "instrumentAssignments", "kind": "collection" } ] }
Example 2
The following example shows how to retrieve all the payment instrument assignments for a supplier site by submitting a GET request on the REST resource using cURL.
curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourcecollection+json" -X GET https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments?finder=PaymentInstrumentAttributes;Intent=Supplier,PaymentPartyId=300100180882048
Example Response Body
The following example shows the contents of the response body in JSON format:
{ "items": [ { "PaymentInstrumentAssignmentId": 300100181652558, "PaymentPartyId": 300100180882048, "PaymentInstrumentId": 300100181126859, "PaymentFlow": "DISBURSEMENTS", "PaymentInstrumentType": "BANKACCOUNT", "PrimaryIndicator": "Y", "StartDate": "2019-11-06", "EndDate": "2021-12-31", "MaskedBankAccountNumber": "XXXX9655", "MaskedCreditCardNumber": null, "VendorId": 999992000331527, "PersonId": null, "Intent": null, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100181652558", "name": "instrumentAssignments", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78" } }, { "rel": "canonical", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100181652558", "name": "instrumentAssignments", "kind": "item" }, { "rel": "lov", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100181652558/lov/PersonPVA", "name": "PersonPVA", "kind": "collection" } ] } ], "count": 1, "hasMore": false, "limit": 25, "offset": 0, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments", "name": "instrumentAssignments", "kind": "collection" } ] }
Example 3
The following example shows how to retrieve all the payment instrument assignments for a customer site for customer payments by submitting a GET request on the REST resource using cURL.
curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourcecollection+json" -X GET https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments?finder=PaymentInstrumentAttributes;Intent=Customer,PaymentPartyId=1424
Example Response Body
The following example shows the contents of the response body in JSON format:
{ "items": [ { "PaymentInstrumentAssignmentId": 122174, "PaymentPartyId": 1424, "PaymentInstrumentId": 64944, "PaymentFlow": "FUNDS_CAPTURE", "PaymentInstrumentType": "CREDITCARD", "PrimaryIndicator": "Y", "StartDate": "2019-10-24", "EndDate": "4712-12-31", "MaskedBankAccountNumber": null, "MaskedCreditCardNumber": "XXXXXXXXXXXX1111", "VendorId": null, "PersonId": null, "Intent": null, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/122174", "name": "instrumentAssignments", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78" } }, { "rel": "canonical", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/122174", "name": "instrumentAssignments", "kind": "item" }, { "rel": "lov", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/122174/lov/PersonPVA", "name": "PersonPVA", "kind": "collection" } ] }, { "PaymentInstrumentAssignmentId": 300100180984151, "PaymentPartyId": 1424, "PaymentInstrumentId": 300100180984149, "PaymentFlow": "FUNDS_CAPTURE", "PaymentInstrumentType": "BANKACCOUNT", "PrimaryIndicator": "Y", "StartDate": "2019-10-17", "EndDate": "4712-12-31", "MaskedBankAccountNumber": "XXXXXAL78", "MaskedCreditCardNumber": null, "VendorId": null, "PersonId": null, "Intent": null, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100180984151", "name": "instrumentAssignments", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78" } }, { "rel": "canonical", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100180984151", "name": "instrumentAssignments", "kind": "item" }, { "rel": "lov", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100180984151/lov/PersonPVA", "name": "PersonPVA", "kind": "collection" } ] }, { "PaymentInstrumentAssignmentId": 300100181652559, "PaymentPartyId": 1424, "PaymentInstrumentId": 300100181126923, "PaymentFlow": "FUNDS_CAPTURE", "PaymentInstrumentType": "BANKACCOUNT", "PrimaryIndicator": "N", "StartDate": "2019-11-06", "EndDate": "2021-12-31", "MaskedBankAccountNumber": "XXXXX6588", "MaskedCreditCardNumber": null, "VendorId": null, "PersonId": null, "Intent": null, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100181652559", "name": "instrumentAssignments", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78" } }, { "rel": "canonical", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100181652559", "name": "instrumentAssignments", "kind": "item" }, { "rel": "lov", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100181652559/lov/PersonPVA", "name": "PersonPVA", "kind": "collection" } ] } ], "count": 3, "hasMore": false, "limit": 25, "offset": 0, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments", "name": "instrumentAssignments", "kind": "collection" } ] }
Example 4
The following example shows how to retrieve all the payment instrument assignments for customer refunds by submitting a GET request on the REST resource using cURL.
curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourcecollection+json" -X GET https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments?finder=PaymentInstrumentAttributes;Intent=Customer,PaymentPartyId=300100180898002
Example Response Body
The following example shows the contents of the response body in JSON format:
{ "items": [ { "PaymentInstrumentAssignmentId": 300100181652562, "PaymentPartyId": 300100180898002, "PaymentInstrumentId": 300100181652560, "PaymentFlow": "DISBURSEMENTS", "PaymentInstrumentType": "BANKACCOUNT", "PrimaryIndicator": "Y", "StartDate": "2019-11-06", "EndDate": "2021-12-31", "MaskedBankAccountNumber": "XXXX8777", "MaskedCreditCardNumber": null, "VendorId": null, "PersonId": null, "Intent": null, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100181652562", "name": "instrumentAssignments", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78" } }, { "rel": "canonical", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100181652562", "name": "instrumentAssignments", "kind": "item" }, { "rel": "lov", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100181652562/lov/PersonPVA", "name": "PersonPVA", "kind": "collection" } ] } ], "count": 1, "hasMore": false, "limit": 25, "offset": 0, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments", "name": "instrumentAssignments", "kind": "collection" } ] }
Example 5
The following example shows how to retrieve all the payment instrument assignments for a bank account to be used in Payroll by submitting a GET request on the REST resource using cURL.
curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourcecollection+json" -X GET https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments?finder=PaymentInstrumentAttributes;Intent=Person
Example Response Body
The following example shows the contents of the response body in JSON format:
{ "PaymentInstrumentAssignmentId": 300100177498435, "PaymentPartyId": 300100177406393, "PaymentInstrumentId": 300100177498426, "PaymentFlow": "DISBURSEMENTS", "PaymentInstrumentType": "BANKACCOUNT", "PrimaryIndicator": "Y", "StartDate": "2019-04-02", "EndDate": "4712-12-31", "MaskedBankAccountNumber": "XXXXX3801", "MaskedCreditCardNumber": null, "VendorId": null, "PersonId": null, "Intent": "Person", "OwnerPersonId": null, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100177498435", "name": "instrumentAssignments", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100177498435", "name": "instrumentAssignments", "kind": "item" }, { "rel": "lov", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100177498435/lov/PersonPVA", "name": "PersonPVA", "kind": "collection" } ] }
Example 6
The following example shows how to retrieve all the payment instrument assignments for a bank account to be used in Expenses by submitting a GET request on the REST resource using cURL.
curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourcecollection+json" -X GET https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments?finder=PaymentInstrumentAttributes;Intent=Employee,PaymentPartyId=300100180898209
Example Response Body
The following example shows the contents of the response body in JSON format:
{ "items": [ { "PaymentInstrumentAssignmentId": 300100181652563, "PaymentPartyId": 300100180898209, "PaymentInstrumentId": 300100181126921, "PaymentFlow": "DISBURSEMENTS", "PaymentInstrumentType": "BANKACCOUNT", "PrimaryIndicator": "Y", "StartDate": "2019-11-06", "EndDate": "2021-12-31", "MaskedBankAccountNumber": "XXXX9658", "MaskedCreditCardNumber": null, "VendorId": null, "PersonId": null, "Intent": null, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100181652563", "name": "instrumentAssignments", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78" } }, { "rel": "canonical", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100181652563", "name": "instrumentAssignments", "kind": "item" }, { "rel": "lov", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100181652563/lov/PersonPVA", "name": "PersonPVA", "kind": "collection" } ] } ], "count": 1, "hasMore": false, "limit": 25, "offset": 0, "links": [ { "rel": "self", "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments", "name": "instrumentAssignments", "kind": "collection" } ] }
Example 8
The following example shows how to retrieve all the payment instrument assignments for a one-time payee by submitting a GET request on the REST resource using cURL.
curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourcecollection+json" -X GET https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments?finder=PaymentInstrumentAttributes;Intent=Onetime,PaymentPartyId=300100180582391
Example Response Body
The following example shows the contents of the response body in JSON format:
{ "items": [ { "PaymentInstrumentAssignmentId": 300100181538390, "PaymentPartyId": 300100180582389, "PaymentInstrumentId": 300100181135401, "PaymentFlow": "DISBURSEMENTS", "PaymentInstrumentType": "BANKACCOUNT", "PrimaryIndicator": "Y", "StartDate": "2019-11-06", "EndDate": "2021-12-31", "MaskedBankAccountNumber": "XXXX9644", "MaskedCreditCardNumber": null, "VendorId": null, "PersonId": null, "Intent": null, "links": [ { "rel": "self", "href": "http://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100181538390", "name": "instrumentAssignments", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78" } }, { "rel": "canonical", "href": "http://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100181538390", "name": "instrumentAssignments", "kind": "item" }, { "rel": "lov", "href": "http://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100181538390/lov/PersonPVA", "name": "PersonPVA", "kind": "collection" } ] } ], "count": 1, "hasMore": false, "limit": 25, "offset": 0, "links": [ { "rel": "self", "href": "http://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments", "name": "instrumentAssignments", "kind": "collection" } ] }
Example 7
The following example shows how to retrieve all the payment instrument assignments for an ad-hoc payee by submitting a GET request on the REST resource using cURL.
curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourcecollection+json" -X GET https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments?finder=PaymentInstrumentAttributes;Intent=Adhoc,PaymentPartyId=300100180582389
Example Response Body
The following example shows the contents of the response body in JSON format:
{ "items": [ { "PaymentInstrumentAssignmentId": 300100181538391, "PaymentPartyId": 300100180582391, "PaymentInstrumentId": 249304, "PaymentFlow": "DISBURSEMENTS", "PaymentInstrumentType": "BANKACCOUNT", "PrimaryIndicator": "Y", "StartDate": "2019-11-06", "EndDate": "2021-12-31", "MaskedBankAccountNumber": "XXXXXXXXXX1047", "MaskedCreditCardNumber": null, "VendorId": null, "PersonId": null, "Intent": null, "links": [ { "rel": "self", "href": "http://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100181538391", "name": "instrumentAssignments", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78" } }, { "rel": "canonical", "href": "http://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100181538391", "name": "instrumentAssignments", "kind": "item" }, { "rel": "lov", "href": "http://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments/300100181538391/lov/PersonPVA", "name": "PersonPVA", "kind": "collection" } ] } ], "count": 1, "hasMore": false, "limit": 25, "offset": 0, "links": [ { "rel": "self", "href": "http://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/instrumentAssignments", "name": "instrumentAssignments", "kind": "collection" } ] }