PUT Agency/{agencyId}/Update/Address

Request Information

URI Parameters

NameDescriptionTypeAdditional information
agencyId

globally unique identifier

Required

Body Parameters

Magnesium.Insurance.Contracts.AgencyAdmin.AgencyAddress
NameDescriptionTypeAdditional information
AgencyId

globally unique identifier

None.

BillingAddress1

string

None.

BillingAddress2

string

None.

BillingProvince

string

None.

BillingCity

string

None.

BillingPostalCode

string

None.

BillingCountry

string

None.

BillingEmail

string

None.

BillingPhone

string

None.

BillingIsEqual

boolean

None.

BusinessAddress1

string

None.

BusinessAddress2

string

None.

BusinessProvince

string

None.

BusinessCity

string

None.

BusinessPostalCode

string

None.

BusinessCountry

string

None.

BusinessEmail

string

None.

BusinessPhone

string

None.

ContactName

string

None.

ContactEmail

string

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "AgencyId": "513522eb-0be2-4fa6-8dd8-64670744ef46",
  "BillingAddress1": "sample string 2",
  "BillingAddress2": "sample string 3",
  "BillingProvince": "sample string 4",
  "BillingCity": "sample string 5",
  "BillingPostalCode": "sample string 6",
  "BillingCountry": "sample string 7",
  "BillingEmail": "sample string 8",
  "BillingPhone": "sample string 9",
  "BillingIsEqual": true,
  "BusinessAddress1": "sample string 10",
  "BusinessAddress2": "sample string 11",
  "BusinessProvince": "sample string 12",
  "BusinessCity": "sample string 13",
  "BusinessPostalCode": "sample string 14",
  "BusinessCountry": "sample string 15",
  "BusinessEmail": "sample string 16",
  "BusinessPhone": "sample string 17",
  "ContactName": "sample string 18",
  "ContactEmail": "sample string 19"
}

Response Information

Resource Description

Magnesium.Insurance.Contracts.AgencyAdmin.Result
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

UserMessage

string

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "Id": "c7ce1f88-293a-4616-aa57-8ac41d40f9e6",
  "UserMessage": "sample string 2",
  "Errors": [
    "sample string 1",
    "sample string 2"
  ]
}