Professional Documents
Culture Documents
In this example, we have took an existing external bank account that was created for supplier level. See
note below if you need new bank account at supplier.
Note: there is no option to create an external bank account at site level directly. First it have to be
created at supplier (create +owner) and after that at site is assigned with Instrument Api.
How To Create/update External Bank Account using REST API? (Doc ID 2550936.1)
A. Using bellow queries to identify data for Instrument assignment Rest Api.
Ext_payee_id = 300100027626399
Api: https://<Enviromentname>//fscmRestApi/resources/11.13.18.05/instrumentAssignments
Payload Used:
"PaymentPartyId": 300100027626399,
"PaymentInstrumentId": 1,
"PaymentFlow": "DISBURSEMENTS",
"PaymentInstrumentType": "BANKACCOUNT",
"Intent": "Supplier",
"StartDate": "2020-10-29"
}
Where
PaymentPartyId = Ext_payee_id for supplier site.
{
"PaymentInstrumentAssignmentId": 300100234993900,
"PaymentPartyId": 300100027626399,
"PaymentInstrumentId": 1,
"PaymentFlow": "DISBURSEMENTS",
"PaymentInstrumentType": "BANKACCOUNT",
"PrimaryIndicator": "Y",
"StartDate": "2020-10-29",
"EndDate": "4712-12-31",
"MaskedBankAccountNumber": "XXXX4147",
"MaskedCreditCardNumber": null,
"VendorId": null,
"PersonId": null,
"Intent": "Supplier",