PUT fxo/Compliance/Reference

Request Information

URI Parameters

None.

Body Parameters

SaveReference
NameDescriptionTypeAdditional information
reference

Reference

None.

address

RefAddress

None.

Request Formats

application/json, text/json

Sample:
{
  "reference": {
    "record_id": "sample string 1",
    "entity_id": "sample string 2",
    "name": "sample string 3"
  },
  "address": {
    "id": "sample string 1",
    "city": "sample string 2",
    "province": "sample string 3",
    "other": "sample string 4",
    "value": "sample string 5",
    "postcode": "sample string 6",
    "street_address": "sample string 7",
    "address_type": "sample string 8",
    "country": {
      "value": "sample string 1",
      "id": 2
    }
  }
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SaveReference'.

application/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'application/xml'. Exception message: Cannot access a closed Stream.

text/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'text/xml'. Exception message: Cannot access a closed Stream.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.