GET Agency/{id}

This method will return a single agency object. It queries by the examiner credentials used and the agency id passed in.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Agency object

Agency
NameDescriptionTypeAdditional information
AgencyID

The id of the Agency in SMM's system. This property may be ommitted if this number is unknown or otherwise unavailable.

integer

None.

AgencyFullName

The full name of the agency.

string

None.

AddressLine1

string

None.

Suite

string

None.

City

string

None.

State

string

None.

Zip

string

None.

PhoneNumber

The main contact phone number for the agency.

string

None.

Extension

string

None.

EmailAddress

A contact method for the agency.

string

None.

CreateDate

The date the agency was created in SMM's system. If placing a new order, this property should be ommitted.

date

None.

IsActive

Whether or not the agency is active in SMM's system. If placing a new order, this property should be ommitted.

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "AgencyID": 1,
  "AgencyFullName": "sample string 2",
  "AddressLine1": "sample string 3",
  "Suite": "sample string 4",
  "City": "sample string 5",
  "State": "sample string 6",
  "Zip": "sample string 7",
  "PhoneNumber": "sample string 8",
  "Extension": "sample string 9",
  "EmailAddress": "sample string 10",
  "CreateDate": "2024-11-22T21:21:00.2099639-06:00",
  "IsActive": true
}

application/xml, text/xml

Sample:
<Agency xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <AgencyID>1</AgencyID>
  <AgencyFullName>sample string 2</AgencyFullName>
  <AddressLine1>sample string 3</AddressLine1>
  <Suite>sample string 4</Suite>
  <City>sample string 5</City>
  <State>sample string 6</State>
  <Zip>sample string 7</Zip>
  <PhoneNumber>sample string 8</PhoneNumber>
  <Extension>sample string 9</Extension>
  <EmailAddress>sample string 10</EmailAddress>
  <CreateDate>2024-11-22T21:21:00.2099639-06:00</CreateDate>
  <IsActive>true</IsActive>
</Agency>