_get

Finds an Address based on a given ID value and returns the data of that Address.

Parameters

id

The ID of the Address you wish to gather data of.

Example

FM_api('Address_get',[
  'id'=>'30151'
]);

Results

On Success

{
    "id":"30151",
    "obj_id":"682883",
    "obj_type":"0",
    "postcode":"",
    "county":"tEst county",
    "country":"IRL",
    "cdate":"1693920425759",
    "meta":"{
            \"city\": \"nOnesuch city\",
            \"latitude\": \"0\",
            \"longitude\": \"0\", 
            \"state\": \"Nostate\", 
            \"street_address1\": \"TestAddress\", 
            \"street_address2\": \"street address 2\", 
            \"town\": \"Test town\"
          }"
    }

On Failure

If the "id" parameter is not set:

{"error":"missing or invalid parameter: id"}

If the "id" parameter does not match the ID of an existing Address:

false

Last updated