post https://yourorgsite.com/api/Organization
Creates an instance of Organization
Log in to see full request history
Responses
200The request was successful.
201The resource was successfully created.
202The resource was asynchronously created.
Creates an instance of Organization
200The request was successful.
201The resource was successfully created.
202The resource was asynchronously created.
xxxxxxxxxx
54const options = {
method: 'POST',
headers: {accept: 'application/json', 'content-type': 'application/json'},
body: JSON.stringify({
$type: 'Asi.Soa.Membership.DataContracts.OrganizationData, 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!