put https://yourorgsite.com/api/Person/
Updates an instance of Person by id
Log in to see full request history
Response
200The request was successful.
Updates an instance of Person by id
200The request was successful.
xxxxxxxxxx
57const options = {
method: 'PUT',
headers: {accept: 'application/json', 'content-type': 'application/json'},
body: JSON.stringify({
$type: 'Asi.Soa.Membership.DataContracts.PersonData, Asi.Contracts',
Addresses: {
$type: 'Asi.Soa.Membership.DataContracts.FullAddressDataCollection, Asi.Contracts'
},
AlternateIds: {$type: 'Asi.Soa.Core.DataContracts.AlternateIdDataCollection, Asi.Contracts'},
CommunicationTypePreferences: {
$type: 'Asi.Soa.Membership.DataContracts.PartyCommunicationTypePreferenceDataCollection, Asi.Contracts'
},
Emails: {$type: 'Asi.Soa.Membership.DataContracts.EmailDataCollection, Asi.Contracts'},
FinancialInformation: {
$type: 'Asi.Soa.Membership.DataContracts.FinancialInformationData, Asi.Contracts',
CreditLimit: {
$type: 'Asi.Soa.Core.DataContracts.MonetaryAmountData, Asi.Contracts',
Currency: {$type: 'Asi.Soa.Core.DataContracts.CurrencyData, Asi.Contracts'},
IsAmountDefined: false
},
DonorReceiptPreference: 'None',
GiftAidInformation: {
$type: 'Asi.Soa.Membership.DataContracts.GiftAidDeclarationDataCollection, Asi.Contracts'
},
VatInformation: {
$type: 'Asi.Soa.Membership.DataContracts.VatInformationData, Asi.Contracts',
IsExempt: false
}
},
Try It!
to start a request and see the response here!