-
Notifications
You must be signed in to change notification settings - Fork 0
Create Update Contact
yaroslawww edited this page Jan 26, 2020
·
5 revisions
**Request Url: /apis/contacts?contactId= **
Request Body:
Title=Mr&FirstName=John&LastName=Green&Email=test%40gmail.com&EmailAlt=test1%40gmail.com&EmailAlt1=test2%40gmail.com&Telephone=123456&TelephoneAlt=123456&Mobile=123456&Postcode=1234AA&Address=Address1&StreetName=Address2&TownCity=City&CountyArea=CountyArea&CountryCode=GB&CompanyName=CompanyName&Comments=Comments&TypeId=2&DoNotMail=True&DoNotEmail=True&DoNotPhone=True&OnEmailList=True&Commision=10&Balance=10&Retainer=10&BrandId=1
- Query:
- contactId - ID of updating contact, if you create new contact, contactId must be empty
- Body:
-
TypeId
See https://github.com/ipro-software/api-csharp-client/wiki/Contact-Types - Title
- FirstName
- LastName
- EmailAlt
- EmailAlt1
- Telephone
- TelephoneAlt
- Mobile
- Postcode
- Address
- StreetName
- TownCity
- CountyArea
- CountryCode
- CompanyName
- Comments
- DoNotMail
- DoNotEmail
- DoNotPhone
- OnEmailList
- Commision
- Balance
- Retainer
- BrandId
-
Response:
{
"Success": true,
"ContactId": 4590,
"CompanyId": 4321
}
- Get Started
- Settings
- Contacts
- Properties
- Properties
- Property Detail
- Property Images
- Property Extras
- Property Reference Lookup
- Property Rates
- Push Property Rates
- Property Custom Rates
- Property Availabilities
- Property Day Availabilities
- Property Rooms
- Property Distances
- Property All
- Property Search
- Property Search Lite
- Property Search Lite v2
- Property Enquiries
- Property Welcome Pack
- Push Property
- Properties Last Updated
- Property Day Availability Check
- Property Reviews
- Property Blockouts
- Property Detail Events
- Property Search Events
- Property Management
- Enquries
- Bookings
- Reviews
- Payments
- Offers & Deals
- Reports
- Communications