POST - https://staging.subscribercrmapi.acamh.org/api/newcontact

Adds a new contact to SubscriberCRM.

{
"PersonalDetails": {
"GenderId": -1,
"EthnicityId": -1,
"Title": "Mr",
"FirstName": "Bruce",
"Surname": "Wayne",
"Position": "",
"Department": "",
"Organisation": "",
"RecruitedId": -1,
"ContactTypeId": -1,
"ContactStatusId": -1,
"MembershipClassId": -1,
"MembershipStatusId": -1,
"WhyLeftId": -1
},
"Addresses": [
{
"Id": null,
"ContactId": 0,
"Description": "",
"Position": "",
"Department": "",
"Organisation": "",
"AddressLabel": "",
"AddressLine1": "1 Main Street",
"AddressLine2": "",
"AddressLine3": "",
"Town": "London",
"CountyId": -1,
"Postcode": "AB12 3CD",
"CountryId": -1,
"Phone": "",
"EvePhone": "",
"Mobile": "",
"Email": "",
"Fax": "",
"Website": "",
"AddressTypeId": -1,
"IsBilling": true,
"IsMailing": true,
"IsDelivery": true,
"GridN": "",
"GridE": "",
"Latitude": null,
"Longitude": null,
"CensationCode": "",
"Constituency": "",
"MailReturned_Date": null,
"MailReturned_ReasonId": null,
"StartDate": null,
"EndDate": null,
"UseForEmailing": true,
"Ward": "",
"ElectoralRegion": ""
}
],
"Subscriptions": [
{
"Id": null,
"ContactId": 0,
"SubscriptionClassId": 2,
"SubscriptionStatusId": 1,
"PaymentMethodId": -1,
"Cost": 10.0,
"Total": 10.0,
"DiscountRate": 0.0,
"DiscountAmount": 0.0,
"DiscountUntil": null,
"Quantity": 1,
"IsGiftAid": false,
"StartDate": "2022-09-20T00:00:00+00:00",
"ExpirationDate": null,
"LastDueDate": "2024-09-20T00:00:00+00:00",
"NextDueDate": "2025-09-20T00:00:00+00:00",
"NextDemandDate": "2025-09-20T00:00:00+00:00",
"Individuals": null,
"EndDate": null,
"PoliticalLevyAmount": 0.0,
"Payment": {
"Amount": 10.0,
"TransactionDate": "2024-09-20T00:00:00+00:00",
"Comments": "A comment",
"PaymentMethodId": 1
}
}
],
"DonationPaymentsMade": null,
"Profiles": [
{
"ContactId": 0,
"ProfileSectionTitle": "MyProfileSection",
"ProfileSectionFormat": 1,
"Rows": [
{
"ToDelete": false,
"Data": {
"profilefield1": 123,
"profilefield2": "My value",
"profilefield3": "Another value"
}
}
]
}
],
"GroupMembers": [
{
"Id": null,
"GroupId": 1,
"ContactId": -1,
"DateFrom": "2025-03-20T00:00:00+00:00",
"DateTo": null,
"OfficeId": 2,
"StatusId": 3,
"Reason": ""
}
],
"GiftAidDetails": {
"ContactId": -1,
"DeclarationReceivedByTypeId": 1,
"Limit": 0.0,
"DateDeclarationSentToMember": null,
"DateSigned": "2024-09-20T00:00:00+00:00",
"IsOpen": true,
"ClosedDate": null,
"ThisAndAllFuture": false,
"AllPreviousAndFuture": true,
"OnePaymentOnly": false,
"HigherRateTaxPayer": false,
"NotTaxPayer": false,
"Title": "Mr",
"FirstName": "Bruce",
"Surname": "Wayne"
},
"Consent": {
"ConsentPreferences": [
{
"ContactId": 0,
"ConsentCategoryId": 1,
"Mail": true,
"Email": true,
"Call": false,
"Sms": false,
"PreferredMergeTypeId": null
},
{
"ContactId": 0,
"ConsentCategoryId": 2,
"Mail": false,
"Email": true,
"Call": false,
"Sms": false,
"PreferredMergeTypeId": null
}
],
"ConsentDetails": {
"Date": "2024-09-20T00:00:00+00:00",
"ConsentReceivedById": -1,
"ConsentGivenBy": null,
"Notes": null
}
}
}