GET api/Organisation/GetAddContacts?id={id}&userId={userId}&qbccUserId={qbccUserId}&qbccEmail={qbccEmail}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
|
userId | string |
Required |
|
qbccUserId | string |
Default value is |
|
qbccEmail | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
AddContactResponseModelName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
OrgId | string |
None. |
|
UserId | string |
None. |
|
string |
None. |
||
FirstName | string |
None. |
|
LastName | string |
None. |
|
Position | string |
None. |
|
DOB | string |
None. |
|
Gender | string |
None. |
|
HomePhone | string |
None. |
|
Mobile | string |
None. |
|
OccupationalLicenseNumber | string |
None. |
|
EndorsementsHeld | Pair of string [key] and string [value] |
None. |
|
BackflowPreventionExpiryDate | string |
None. |
|
OccupationalLicenseExpiryDate | string |
None. |
|
GasWorkLicenseNumber | string |
None. |
|
GasWorkLicenseExpiryDate | string |
None. |
|
Result | ResponseResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "OrgId": "sample string 2", "UserId": "sample string 3", "Email": "sample string 4", "FirstName": "sample string 5", "LastName": "sample string 6", "Position": "sample string 7", "DOB": "sample string 8", "Gender": "sample string 9", "HomePhone": "sample string 10", "Mobile": "sample string 11", "OccupationalLicenseNumber": "sample string 12", "EndorsementsHeld": { "Key": "sample string 1", "Value": "sample string 2" }, "BackflowPreventionExpiryDate": "sample string 13", "OccupationalLicenseExpiryDate": "sample string 14", "GasWorkLicenseNumber": "sample string 15", "GasWorkLicenseExpiryDate": "sample string 16", "Result": { "Success": true, "Message": "sample string 2", "Errors": [ { "Message": "sample string 1" }, { "Message": "sample string 1" } ] } }
application/xml, text/xml
Sample:
<AddContactResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Response"> <Result> <Errors> <ErrorMessage> <Message>sample string 1</Message> </ErrorMessage> <ErrorMessage> <Message>sample string 1</Message> </ErrorMessage> </Errors> <Message>sample string 2</Message> <Success>true</Success> </Result> <BackflowPreventionExpiryDate>sample string 13</BackflowPreventionExpiryDate> <DOB>sample string 8</DOB> <Email>sample string 4</Email> <EndorsementsHeld xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic"> <d2p1:key>sample string 1</d2p1:key> <d2p1:value>sample string 2</d2p1:value> </EndorsementsHeld> <FirstName>sample string 5</FirstName> <GasWorkLicenseExpiryDate>sample string 16</GasWorkLicenseExpiryDate> <GasWorkLicenseNumber>sample string 15</GasWorkLicenseNumber> <Gender>sample string 9</Gender> <HomePhone>sample string 10</HomePhone> <Id>sample string 1</Id> <LastName>sample string 6</LastName> <Mobile>sample string 11</Mobile> <OccupationalLicenseExpiryDate>sample string 14</OccupationalLicenseExpiryDate> <OccupationalLicenseNumber>sample string 12</OccupationalLicenseNumber> <OrgId>sample string 2</OrgId> <Position>sample string 7</Position> <UserId>sample string 3</UserId> </AddContactResponseModel>