POST api/InsuranceAgencyLocation/Insert

Insert/Update insurance agency location.

Request Information

URI Parameters

None.

Body Parameters

AgencyLocation
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

AddressLine1

string

Required

AddressLine2

string

None.

City

string

Required

StateAbbrevation

string

None.

ZipCode

string

Required

Type

InsuranceAgencyAddressType

Required

Active

boolean

None.

LocationName

string

Required

Phone

string

None.

ContactPerson

string

None.

Email

string

None.

Fax

string

None.

Description

string

None.

LocationBusinessName

string

None.

LicenseNumber

string

None.

URL

string

None.

CellPhone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "databaseId": "26082ed0-86f2-42ec-82f2-a65bfb18e758",
  "addressLine1": "sample string 2",
  "addressLine2": "sample string 3",
  "city": "sample string 4",
  "stateAbbrevation": "sample string 5",
  "zipCode": "sample string 6",
  "type": 0,
  "active": true,
  "locationName": "sample string 8",
  "phone": "sample string 9",
  "contactPerson": "sample string 10",
  "email": "sample string 11",
  "fax": "sample string 12",
  "description": "sample string 13",
  "locationBusinessName": "sample string 14",
  "licenseNumber": "sample string 15",
  "url": "sample string 16",
  "cellPhone": "sample string 17"
}

application/xml, text/xml

Sample:
<AgencyLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Active>true</Active>
  <AddressLine1>sample string 2</AddressLine1>
  <AddressLine2>sample string 3</AddressLine2>
  <CellPhone>sample string 17</CellPhone>
  <City>sample string 4</City>
  <ContactPerson>sample string 10</ContactPerson>
  <DatabaseId>26082ed0-86f2-42ec-82f2-a65bfb18e758</DatabaseId>
  <Description>sample string 13</Description>
  <Email>sample string 11</Email>
  <Fax>sample string 12</Fax>
  <LicenseNumber>sample string 15</LicenseNumber>
  <LocationBusinessName>sample string 14</LocationBusinessName>
  <LocationName>sample string 8</LocationName>
  <Phone>sample string 9</Phone>
  <StateAbbrevation>sample string 5</StateAbbrevation>
  <Type>Office</Type>
  <URL>sample string 16</URL>
  <ZipCode>sample string 6</ZipCode>
</AgencyLocation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NowCertsApiResultWithDatabaseId
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

Status

ApiStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "databaseId": "83f96731-1a0b-4c2c-9cc2-82f16319885d",
  "status": 0,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<NowCertsApiResultWithDatabaseId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Message>sample string 2</Message>
  <Status>Error</Status>
  <DatabaseId>83f96731-1a0b-4c2c-9cc2-82f16319885d</DatabaseId>
</NowCertsApiResultWithDatabaseId>