public static final class ImportExport.ContactAddressService extends Object
Modifier and Type | Method and Description |
---|---|
static RealtorContactDetailsList |
getAll(AbstractClient client)
Calls the GETALL method.
|
static RealtorContactDetails |
getByExternalId(AbstractClient client,
String externalId)
Calls the GETBYID method.
|
static RealtorContactDetails |
getByIs24Id(AbstractClient client,
long is24Id)
Calls the GETBYID method.
|
static Messages |
post(AbstractClient client,
RealtorContactDetails contact)
Calls the POST method.
|
static Messages |
putByExternalId(AbstractClient client,
RealtorContactDetails contact,
String externalId)
Calls the PUTBYID method.
|
static Messages |
putByIs24Id(AbstractClient client,
RealtorContactDetails contact,
long is24Id)
Calls the PUTBYID method.
|
public static RealtorContactDetailsList getAll(AbstractClient client) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static RealtorContactDetails getByExternalId(AbstractClient client, String externalId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- externalId
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static RealtorContactDetails getByIs24Id(AbstractClient client, long is24Id) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- is24Id
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static Messages post(AbstractClient client, RealtorContactDetails contact) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- contact
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static Messages putByExternalId(AbstractClient client, RealtorContactDetails contact, String externalId) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- contact
- externalId
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
public static Messages putByIs24Id(AbstractClient client, RealtorContactDetails contact, long is24Id) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client
- contact
- is24Id
- IOException
oauth.signpost.exception.OAuthException
JAXBException
RequestFailedException
Copyright © 2014 OpenEstate. All rights reserved.