Platform Subscription API

<back to all web services

GetLicenseeContactList

Returns a list of contacts a licensee is linked to. Contacts are returned in batches.

Requires Authentication
The following routes are available for this service:
GET/api/licensee/contacts
GetLicenseeContactList Parameters:
NameParameterData TypeRequiredDescription
BatchSizebodyintYesNumber of contacts to retrieve per call.
BatchNumberbodyintYesCall number (1=1st, 2=2nd) this should progress upwards until all contacts have been retrieved.
ContactRolebodyGuidNoAn optional role that a contact must have in order to be returned.
GetLicenseeContactListResponse Parameters:
NameParameterData TypeRequiredDescription
ContactsbodyList<ConnectedContactModel>NoList of contacts.
ResponseStatusbodyResponseStatusNoDetails of the api response. Success/Fail.
ConnectedContactModel Parameters:
NameParameterData TypeRequiredDescription
ContactIdbodyGuidNoGuid of the contact object within Eros.
SalutationbodystringNoThe salutation(preferred name) for the contact. Applies to a person contact type.
TitlebodystringNoThe title for the contact. Applies to a person contact type.
FirstNamebodystringNoThe first given name for the contact. Applies to a person contact type.
MiddleNamebodystringNoAny middle names for the contact. Applies to a person contact type.
SurnamebodystringNoThe surname for the contact. Applies to a person contact type.
FullNamebodystringNoThe full name for the contact.
LegalNamebodystringNoA legal name for the contact. Applies to an organisation contact type.
TradingNamebodystringNoA trading name for the contact. Applies to an organisation contact type.
BirthDatebodyDateTime?NoThe birth date for the contact. Applies to a person contact type.
MaritalStatusIdbodyGuid?NoGuid of the marital status within Eros.
MaritalStatusNamebodystringNoThe contacts marital status if set.
GenderIdbodyGuid?NoGuid of the gender within Eros.
GenderNamebodystringNoThe contacts gender if set.
LanguagebodystringNoPreferred language of the contact.
InterpreterRequiredbodyboolNoIf true, the contact requires an interpreter.
ContactTypeNamebodystringNoContact Type name of the contact.
ContactTypeIdbodyGuidNoGuid of the Contact Type List Item object within Eros.
DescriptionbodystringNoDescription of the contact for their external profile.
EmploymentIndustrybodystringNoContact 'Profession/Trade/Industry' details for their external profile.
EmploymentRolebodystringNoContact 'Working/Subcontracting for' details for their external profile.
EmploymentGeographicAreabodystringNoContact 'Work Area/Suburbs' detail for their external profile.
AbnbodystringNoThe A.B.N for the contact.
AcnbodystringNoThe A.C.N for the contact.
ArbnbodystringNoThe A.R.B.N for the contact.
TimezoneNamebodystringNoTimezone name that applies to the contact.
ContactDetailsbodyList<ConnectedContactDetailModel>NoA list of the contact details for the contact.
ContactAddressesbodyList<ConnectedContactAddressModel>NoA list of the contact addresses for the contact
IsContactConnectedbodyboolNoTrue if this contact has at least 1 active connection to the licensee. Without an active connection only public profile information for the contact is returned.
ConnectionsbodyList<ConnectedContactConnectionsModel>NoA list of connections this contact has with the licensee. May be active or a pending request to connect.
ProjectsbodyList<ContactLinkedCustomerProjectsModel>NoA list of projects this contact is linked to as a customer.
SubscriptionsbodyList<ConnectedContactSubscriptionsModel>NoA list of integration subscriptions used to link this contact to external records in other licensee owned systems.
ConnectedContactDetailModel Parameters:
NameParameterData TypeRequiredDescription
TypebodystringNoThe type of contact detail this is (email/mobile/fax/website etc)
ContactDetailsbodystringNoThe contact detail. e.g (phone number or email address)
ConnectedContactAddressModel Parameters:
NameParameterData TypeRequiredDescription
FullAddressbodystringNoA full address string of the address.
IsPrimarybodyboolNoIf true, this is the contacts primary address.
IsPostalbodyboolNoIf true, this is the contacts postal address.
IsRegisteredbodyboolNoIf true, this is the contacts registered address.
ConnectedContactConnectionsModel Parameters:
NameParameterData TypeRequiredDescription
RoleIdbodyGuidNoGuid of the role within Eros
RolebodystringNoName of the role this contact is connected to the licensee with.
StatusIdbodyGuidNoGuid of the role connections status within Eros.
StatusbodystringNoConnection status of the role. It maybe active or pending.
ContactLinkedCustomerProjectsModel Parameters:
NameParameterData TypeRequiredDescription
ProjectIdbodyGuidNoGuid of the project within Eros.
NamebodystringNoName of the project.
ConnectedContactSubscriptionsModel Parameters:
NameParameterData TypeRequiredDescription
DatasourceIdbodyGuidNoGuid of the datasource within Eros.
DatasourcebodystringNoName of the datasource that is the external system with a record of this contact.
AlternateKeybodystringNoForeign Key lookup of this contact in the external system the datasource represents.

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /api/licensee/contacts HTTP/1.1 
Host: production-eros-platform-apisubscription.azurewebsites.net 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Contacts":[{"Salutation":"String","Title":"String","FirstName":"String","MiddleName":"String","Surname":"String","FullName":"String","LegalName":"String","TradingName":"String","BirthDate":"0001-01-01T00:00:00.0000000","MaritalStatusId":"00000000-0000-0000-0000-000000000000","MaritalStatusName":"String","GenderId":"00000000-0000-0000-0000-000000000000","GenderName":"String","Language":"String","InterpreterRequired":false,"ContactTypeName":"String","Description":"String","EmploymentIndustry":"String","EmploymentRole":"String","EmploymentGeographicArea":"String","Abn":"String","Acn":"String","Arbn":"String","TimezoneName":"String","ContactDetails":[{"Type":"String","ContactDetails":"String"}],"ContactAddresses":[{"FullAddress":"String","IsPrimary":false,"IsPostal":false,"IsRegistered":false}],"IsContactConnected":false,"Connections":[{"Role":"String","Status":"String"}],"Projects":[{"Name":"String"}],"Subscriptions":[{"Datasource":"String","AlternateKey":"String"}]}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}