Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel
borderColor#ccc
bgColor#FCFCFC
titleColor#FFFFFF
titleBGColor#a0a0a0
borderStylesolid
titleContact Info for Unit API

The Contact Info for Unit (appointment position/unit ID) API will return as much contact info related to the unit as possible and will comb up the org tree to include any other types of addresses, phones, and emails that may not be included on the specific unit/position.


URL
https://base.url.org/mvc/api/unit/[unit ID]/recursive-contacts


Parameters

Parameter Name

Required

Description

Default

unit IDrequiredthe six digit numeric ID of the position/unit



Responses

200 OK

Results were found that match the request and are included in the response body

401 UnauthorizedThe current account in the request header does not have access to the API

403 Forbidden

The current account in the request header does not have access to the territory requested in the request URL

404 Not Found

Returned if NO results were found that match the specified criteria

500 Internal Server ErrorOne or more request string parameters are invalid or an error was encountered by the server while processing the request



...