Platform API

<back to all web services

GetContactGroup

Get details of the specified contact group

Requires Authentication
The following routes are available for this service:
All Verbs/api/contactgroup/{ContactGroupId}
GetContactGroup Parameters:
NameParameterData TypeRequiredDescription
ContactGroupIdpathGuidNoGet details of the specified contact group including details of contacts in the group
ContactGroupRoleIdqueryGuidNoThe type of ContactGroup to get.
IncludeProjectsqueryboolNoInclude projects linked to the contact group?
GetContactGroupResponse Parameters:
NameParameterData TypeRequiredDescription
ContactGroupformContactGroupModelNo
ResponseStatusformResponseStatusNo
ContactGroupModel Parameters:
NameParameterData TypeRequiredDescription
ContactGroupIdformGuidNoContact Group Id
NameformstringNoContact Group Name
ReferenceformstringNoContact Group Reference
GroupRoleIdformGuidNoGroup Role Id for e.g. Customer
PrimaryContactNameformstringNoPrimary contact in the group
PrimaryContactIdformGuidNoContact Id of the primary contact in the group
PrimaryContactPhotoUrlformstringNoProfile photo url of the primary contact in the group
PrimaryContactThumbnailUrlformstringNoProfile photo thumbnail url of the primary contact in the group
NumberOfContactsformintNoNumber of contacts in the group
RecordStatusformstringNoRecord Status of contact group
ContactsformListNoDetails of contact in the contact group
ProjectsformListNoDetails of projects for the contact group
ContactGroupConnectionModel Parameters:
NameParameterData TypeRequiredDescription
ContactGroupIdformGuidNoContact Group Id
ContactGroupConnectionIdformstringNoConnection id of the contact in the group
ConnectionRoleIdformstringNoThe Id of the Role this contact is connected to the group with.
IndexformintNoOrder of contacts within a group, the primary contact will have an index of 1.
ContactRolesformstringNoList of roles that the contact in the contact group has across appliances for e.g. Platform Customer, Nexus customer etc.
UserProfileSummaryModel Parameters:
NameParameterData TypeRequiredDescription
UserProfileIdformGuidNoUser Profile Id
UserIdformGuidNoUser linked to the profile
ContactIdformGuidNoContact linked to the profile
UserNameformstringNoUser linked to the profile
ProfileNameformstringNoUser Profile Name
ContactFullNameformstringNoFull name of the contact linked to the profile
EmailAddressformstringNoEmail Address of the contact linked to the profile
EmailSignatureformstringNoEmail signature of the contact linked to the profile
MobileNumberformstringNoMobile number of the contact linked to the profile
PhoneNumberformstringNoPhone number of the contact linked to the profile
ContactTypeIdformstringNoType of contact (person, organisation etc.) linked to the profile
ContactTypeNameformstringNoType of contact (person, organisation etc.) linked to the profile
FirstNameformstringNoFirst name of the contact linked to the profile
SurnameformstringNoSurname of the contact linked to the profile
TitleformstringNoTitle of contact linked to the profile
LegalNameformstringNoLegal name of contact linked to the profile
TradingNameformstringNoTrading name of contact linked to the profile
AbnquerystringNoAustralian Business Number
AcnquerystringNoAustralian Company Number
ArbnquerystringNoAustralian Registered Body Number
GstRegisteredqueryboolNoIndicates if the Contact is registered for GST.
ESLqueryboolNoTrue if english is a secondary language for the contact.
LanguagequerystringNoLanguage that is the primary language for the contact.
InterpreterRequiredqueryboolNoTrue if an interpreter is required.
LicenseeNotesquerystringNoLicensee specific notes about the contact.
ProfilePhotoUrlformstringNoProfile photo of contact linked to the profile
ProfilePhotoThumbnailUrlformstringNoThumbnail photo of contact linked to the profile
ProfileImageIdformGuidNoProfile photo id of contact linked to the profile
DescriptionformstringNoProfile description
EmploymentIndustryformstringNoEmployment Industry
EmploymentRoleformstringNoEmployment Role
EmploymentGeographicAreaformstringNoAreas of Work
TimezonequeryGuidNoThe contacts timezone.
TimezoneNamequerystringNoTimezone Name
PrimaryAddressquerystringNoThe primary address of the contact
IsActiveContactformboolNoIs this an active contact? Or an inactive contact (deleted account)?
RoleModel Parameters:
NameParameterData TypeRequiredDescription
RoleIdformGuidYesRole Id
RoleNameformstringNoRole Name
IsLicenseeRoleformboolNoIs the role a licensee role?
IsManageContactsformboolNoIs manage contacts role?
IsPlatformRoleformboolNoIs the role a Platform role?
IsServiceRoleformboolNoIs the role a services role?
IsCustomerRoleformboolNoIs the role a customer role?
IsFunctionalRoleformboolNoIs the role a functional role?
IsRequestAutoAcceptedformboolNoIs the role an auto-accept role?
SuiteIdformGuidNoSuite that the role belongs to
SuiteNameformstringNoSuite that the role belongs to
RecordStatusformstringNo'A' (Active) or 'I' (Inactive)
ObjectConnectionIdformGuidNoObject Connection Id, which is populated when the roles are returned based on those that are connected to an object.
CustomerProjectModel Parameters:
NameParameterData TypeRequiredDescription
ProjectIdformGuidNo
NameformstringNo
ProjectAddressformstringNo
ManagerContactIdformGuid?No
ManagerContactNameformstringNo
ManagerProfilePhotoUrlformstringNo
ManagerProfilePhotoThumbnailUrlformstringNo
SupervisorContactIdformGuid?No
SupervisorContactNameformstringNo
SupervisorProfilePhotoUrlformstringNo
SupervisorProfilePhotoThumbnailUrlformstringNo
CustomerServiceContactIdformGuid?No
CustomerServiceContactNameformstringNo
CustomerServiceProfilePhotoUrlformstringNo
CustomerServiceProfilePhotoThumbnailformstringNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /api/contactgroup/{ContactGroupId} HTTP/1.1 
Host: pfapi.pstpf.com.au 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"ContactGroupId":"00000000-0000-0000-0000-000000000000","ContactGroupRoleId":"00000000-0000-0000-0000-000000000000","IncludeProjects":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ContactGroup":{"ContactGroupId":"00000000-0000-0000-0000-000000000000","Name":"String","Reference":"String","GroupRoleId":"00000000-0000-0000-0000-000000000000","PrimaryContactName":"String","PrimaryContactId":"00000000-0000-0000-0000-000000000000","PrimaryContactPhotoUrl":"String","PrimaryContactThumbnailUrl":"String","NumberOfContacts":0,"RecordStatus":"String","Contacts":[{"ContactGroupId":"00000000-0000-0000-0000-000000000000","ContactGroupConnectionId":"00000000-0000-0000-0000-000000000000","ConnectionRoleId":"00000000-0000-0000-0000-000000000000","Index":0,"ContactRoles":[{"RoleId":"00000000-0000-0000-0000-000000000000","RoleName":"String","IsLicenseeRole":false,"IsManageContacts":false,"IsPlatformRole":false,"IsServiceRole":false,"IsCustomerRole":false,"IsFunctionalRole":false,"IsRequestAutoAccepted":false,"SuiteId":"00000000-0000-0000-0000-000000000000","SuiteName":"String","RecordStatus":"String","ObjectConnectionId":"00000000-0000-0000-0000-000000000000"}],"UserProfileId":"00000000-0000-0000-0000-000000000000","UserId":"00000000-0000-0000-0000-000000000000","ContactId":"00000000-0000-0000-0000-000000000000","UserName":"String","ProfileName":"String","ContactFullName":"String","EmailAddress":"String","EmailSignature":"String","MobileNumber":"String","PhoneNumber":"String","ContactTypeId":"00000000-0000-0000-0000-000000000000","ContactTypeName":"String","FirstName":"String","Surname":"String","Title":"String","LegalName":"String","TradingName":"String","Abn":"String","Acn":"String","Arbn":"String","GstRegistered":false,"ESL":false,"Language":"String","InterpreterRequired":false,"LicenseeNotes":"String","ProfilePhotoUrl":"String","ProfilePhotoThumbnailUrl":"String","ProfileImageId":"00000000-0000-0000-0000-000000000000","Description":"String","EmploymentIndustry":"String","EmploymentRole":"String","EmploymentGeographicArea":"String","Timezone":"00000000-0000-0000-0000-000000000000","TimezoneName":"String","PrimaryAddress":"String","IsActiveContact":false}],"Projects":[{"ProjectId":"00000000-0000-0000-0000-000000000000","Name":"String","ProjectAddress":"String","ManagerContactId":"00000000000000000000000000000000","ManagerContactName":"String","ManagerProfilePhotoUrl":"String","ManagerProfilePhotoThumbnailUrl":"String","SupervisorContactId":"00000000000000000000000000000000","SupervisorContactName":"String","SupervisorProfilePhotoUrl":"String","SupervisorProfilePhotoThumbnailUrl":"String","CustomerServiceContactId":"00000000000000000000000000000000","CustomerServiceContactName":"String","CustomerServiceProfilePhotoUrl":"String","CustomerServiceProfilePhotoThumbnail":"String"}]},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}