put https://yourorgsite.com/api/Payment/
Updates an instance of Payment by id
Log in to see full request history
Response
200The request was successful.
Updates an instance of Payment by id
200The request was successful.
xxxxxxxxxx
73UpdateInformation: {$type: 'Asi.Soa.Core.DataContracts.EntityUpdateInformationData, Asi.Contracts'}
const options = {
method: 'PUT',
headers: {accept: 'application/json', 'content-type': 'application/json'},
body: JSON.stringify({
$type: 'Asi.Soa.Commerce.DataContracts.PaymentData, Asi.Contracts',
AdjustedAmount: {
$type: 'Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts',
Currency: {$type: 'Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts'},
IsAmountDefined: false
},
Amount: {
$type: 'Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts',
Currency: {$type: 'Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts'},
IsAmountDefined: false
},
CashFinancialAccount: {
$type: 'Asi.Soa.Commerce.DataContracts.FinancialAccountData, Asi.Contracts',
GLAccount: {
$type: 'Asi.Soa.Commerce.DataContracts.GLAccountData, Asi.Contracts',
FinancialEntity: {
$type: 'Asi.Soa.Commerce.DataContracts.FinancialEntitySummaryData, Asi.Contracts',
InstituteParty: {
$type: 'Asi.Soa.Membership.DataContracts.PartyReferenceData, Asi.Contracts',
IsMarkedForDelete: false,
Status: {
$type: 'Asi.Soa.Membership.DataContracts.PartyStatusData, Asi.Contracts',
ActiveStatus: 'Active'
}
},
Try It!
to start a request and see the response here!