Create new consumer point address link.
  • 17 Jan 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Create new consumer point address link.

  • Dark
    Light
  • PDF

Article summary

Post
/consumer-points/linked-addresses/
Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters

Consumer point address link data to be saved.

object

Consumer point link address object. Flat version for patch and post

Apartment_data_id
integer Required

Apartment ID

Consumer_point_id
integer Required

Consumer point ID

id
integer

Primary key

Responses
201

Consumer point address link created successfully.

object

Consumer point link address object. Flat version for patch and post

Apartment_data_id
integer

Apartment ID

Consumer_point_id
integer

Consumer point ID

id
integer

Primary key

400

There was an error in request. Usually field validation failed but can also be non field errors.

{
  "Apartment_data_id": [
    "This field is required."
  ],
  "Consumer_point_id": [
    "This field is required."
  ],
  "non_field_errors": [
    "The fields Consumerpoint_id, ApartmentData_id must make a unique set."
  ]
}

Fields which failed validation

401

Authentication credentials are missing or invalid

{
  "details": "Authentication credentials were not provided"
}
object
details
string

Detailed description of error


Was this article helpful?