IncidentTrust APIs
-
List Trust Relationships
Description: Gets a list of currently fully established trust relationshipsUsage:
GET api/Incidents/Trusts/Established
Returns:
list of currently fully established incident trust relationships
Examples:
//-- Currently no examples for XML --//
-
List Pending Trust Requests
Description: Gets a list of trust relationship requests currently pending approvalUsage:
GET api/Incidents/Trusts/Pending
Returns:
list of incident trust relationship requests currently pending approval
Examples:
//-- Currently no examples for XML --//
-
Request New Trust
Description: Initiates a request for a new Trust RelationshipUsage:
POST api/Incidents/Trusts/Create/{RequestorPhone}/{TrustedPartyPhone}
Parameter Type Source Description RequestorPhone String FromUri The phone number the requestor will receive the confirmation code on TrustedPartyPhone String FromUri The phone number the trusted 3rd party will receive the confirmation code on Returns:
Guid uniquely identifying the trust relationship
Examples:
//-- Currently no examples for XML --//
-
Approve Request Confirmation
Description: Approve the final step of the confirmation processUsage:
PUT api/Incidents/Trusts/Approve/{TrustId}/{ConfirmationCode}
Parameter Type Source Description TrustId String FromUri The Guid that uniquely identifies the trust request ConfirmationCode String FromUri The confirmation code recieved by the intial requestor on the RequestorPhone Returns:
0 on success
Examples:
//-- Currently no examples for XML --//
-
Cancel Trust Request
Description: Cancels a trust requestUsage:
DELETE api/Incidents/Trusts/Cancel/{TrustId}
Parameter Type Source Description TrustId String FromUri The Guid that uniquely identifies the trust request Returns:
0 on success
Examples:
//-- Currently no examples for XML --//
-
Resend Confirmation Code
Description: Re-sends the confirmation code to the trusted 3rd partyUsage:
POST api/Incidents/Trusts/Resend/{TrustId}
Parameter Type Source Description TrustId String FromUri The Guid that uniquely identifies the trust request Returns:
0 on success
Examples:
//-- Currently no examples for XML --//