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
BatchSizequeryintYesNumber of contacts to retrieve per call.
BatchNumberqueryintYesCall number (1=1st, 2=2nd) this should progress upwards until all contacts have been retrieved.
GetLicenseeContactListResponse Parameters:
NameParameterData TypeRequiredDescription
ContactsformList<ConnectedContactModel>NoList of contacts.
ResponseStatusformResponseStatusNoDetails of the api response. Success/Fail.
ConnectedContactModel Parameters:
NameParameterData TypeRequiredDescription
ContactIdformGuidNoGuid of the contact object within Eros.
SalutationformstringNoThe salutation(preferred name) for the contact. Applies to a person contact type.
TitleformstringNoThe title for the contact. Applies to a person contact type.
FirstNameformstringNoThe first given name for the contact. Applies to a person contact type.
MiddleNameformstringNoAny middle names for the contact. Applies to a person contact type.
SurnameformstringNoThe surname for the contact. Applies to a person contact type.
FullNameformstringNoThe full name for the contact.
LegalNameformstringNoA legal name for the contact. Applies to an organisation contact type.
TradingNameformstringNoA trading name for the contact. Applies to an organisation contact type.
BirthDateformDateTime?NoThe birth date for the contact. Applies to a person contact type.
MaritalStatusIdformGuid?NoGuid of the marital status within Eros.
MaritalStatusNameformstringNoThe contacts marital status if set.
GenderIdformGuid?NoGuid of the gender within Eros.
GenderNameformstringNoThe contacts gender if set.
LanguageformstringNoPreferred language of the contact.
InterpreterRequiredformboolNoIf true, the contact requires an interpreter.
ContactTypeNameformstringNoContact Type name of the contact.
ContactTypeIdformGuidNoGuid of the Contact Type List Item object within Eros.
DescriptionformstringNoDescription of the contact for their external profile.
EmploymentIndustryformstringNoContact 'Profession/Trade/Industry' details for their external profile.
EmploymentRoleformstringNoContact 'Working/Subcontracting for' details for their external profile.
EmploymentGeographicAreaformstringNoContact 'Work Area/Suburbs' detail for their external profile.
AbnformstringNoThe A.B.N for the contact.
AcnformstringNoThe A.C.N for the contact.
ArbnformstringNoThe A.R.B.N for the contact.
TimezoneNameformstringNoTimezone name that applies to the contact.
ContactDetailsformList<ConnectedContactDetailModel>NoA list of the contact details for the contact.
ContactAddressesformList<ConnectedContactAddressModel>NoA list of the contact addresses for the contact
IsContactConnectedformboolNoTrue 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.
ConnectionsformList<ConnectedContactConnectionsModel>NoA list of connections this contact has with the licensee. May be active or a pending request to connect.
ProjectsformList<ContactLinkedCustomerProjectsModel>NoA list of projects this contact is linked to as a customer.
SubscriptionsformList<ConnectedContactSubscriptionsModel>NoA list of integration subscriptions used to link this contact to external records in other licensee owned systems.
ConnectedContactDetailModel Parameters:
NameParameterData TypeRequiredDescription
TypeformstringNoThe type of contact detail this is (email/mobile/fax/website etc)
ContactDetailsformstringNoThe contact detail. e.g (phone number or email address)
ConnectedContactAddressModel Parameters:
NameParameterData TypeRequiredDescription
FullAddressformstringNoA full address string of the address.
IsPrimaryformboolNoIf true, this is the contacts primary address.
IsPostalformboolNoIf true, this is the contacts postal address.
IsRegisteredformboolNoIf true, this is the contacts registered address.
ConnectedContactConnectionsModel Parameters:
NameParameterData TypeRequiredDescription
RoleIdformGuidNoGuid of the role within Eros
RoleformstringNoName of the role this contact is connected to the licensee with.
StatusIdformGuidNoGuid of the role connections status within Eros.
StatusformstringNoConnection status of the role. It maybe active or pending.
ContactLinkedCustomerProjectsModel Parameters:
NameParameterData TypeRequiredDescription
ProjectIdformGuidNoGuid of the project within Eros.
NameformstringNoName of the project.
ConnectedContactSubscriptionsModel Parameters:
NameParameterData TypeRequiredDescription
DatasourceIdformGuidNoGuid of the datasource within Eros.
DatasourceformstringNoName of the datasource that is the external system with a record of this contact.
AlternateKeyformstringNoForeign 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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Contacts: 
	[
		{
			Salutation: String,
			Title: String,
			FirstName: String,
			MiddleName: String,
			Surname: String,
			FullName: String,
			LegalName: String,
			TradingName: String,
			BirthDate: 0001-01-01,
			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
		}
	}
}