Platform API

<back to all web services

GetContactsNotManagingOrgProfile

Gets a list of contacts that are not currently managing the userProfileId supplied.

Requires Authentication
The following routes are available for this service:
All Verbs/api/contacts/{UserProfileId}/notmanagingorgprofile
GetContactsNotManagingOrgProfile Parameters:
NameParameterData TypeRequiredDescription
UserProfileIdqueryGuidYesId of the Organisation Profile record being managed.
GetContactsNotManagingOrgProfileResponse Parameters:
NameParameterData TypeRequiredDescription
ContactsNotManagingOrgProfileformList<UserProfileSummaryModel>NoA list of contacts eligible, but not yet managing the passed in Organisation Profile.
TotalContactsNotManagingOrgProfileformintNo
ResponseStatusformResponseStatusNoService Stack Response Status.
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)?

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

HTTP + CSV

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

POST /api/contacts/{UserProfileId}/notmanagingorgprofile HTTP/1.1 
Host: pfapi.pstpf.com.au 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"UserProfileId":"00000000-0000-0000-0000-000000000000"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ContactsNotManagingOrgProfile":[{"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}],"TotalContactsNotManagingOrgProfile":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}