POST fxo/Compliance/IndividualProfile

Request Information

URI Parameters

None.

Body Parameters

CreateIndividualProfile
NameDescriptionTypeAdditional information
individual_profile

Individual_Profile

Required

address

Profile_Address

None.

Request Formats

application/json, text/json

Sample:
{
  "individual_profile": {
    "entity_id": 1,
    "employer_name": "sample string 2",
    "employee_since": "sample string 3",
    "position": "sample string 4",
    "occupation": "sample string 5",
    "date_of_birth": "sample string 6",
    "is_face_to_face": true,
    "acquisition_method_id": {
      "value": "sample string 1",
      "id": 2
    },
    "acquisition_details": "sample string 8",
    "nature_of_relationship": {
      "value": "sample string 1",
      "id": 2
    },
    "purpose_of_relationship": {
      "value": "sample string 1",
      "id": 2
    },
    "is_third_party": true
  },
  "address": {
    "id": 1,
    "city": "sample string 2",
    "province": "sample string 3",
    "other": "sample string 4",
    "country": {
      "value": "sample string 1",
      "id": 2
    },
    "value": "sample string 5",
    "post_code": "sample string 6",
    "street_address": "sample string 7",
    "address_type": 8
  }
}

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 'CreateIndividualProfile'.

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

DSOutput
NameDescriptionTypeAdditional information
status

boolean

None.

data

Object

None.

code

integer

None.

message

string

None.

error

Error

None.

paging

Paging

None.

additional_codes

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "data": {},
  "code": 0,
  "message": "sample string 3",
  "error": {
    "code": 0,
    "message": "sample string 1",
    "target": "sample string 2",
    "details": [
      {
        "code": 0,
        "target": "sample string 1",
        "message": "sample string 2"
      },
      {
        "code": 0,
        "target": "sample string 1",
        "message": "sample string 2"
      }
    ]
  },
  "paging": {
    "page_number": 1,
    "page_size": 2,
    "page_from": 3,
    "page_to": 4,
    "record_count": 5
  },
  "additional_codes": "sample string 4"
}

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.