Create a synced attribute
POST/profile_types/:profile_type_id/synced_attributes
Create synced attribute
Request
- application/json
Body
required
ne_attribute_id uuid
synced attribute's ID
Responses
- 201
- 400
- 500
Expected response to a valid request
- application/json
- Schema
- Example (from schema)
Schema
synced_attribute object
id uuid
synced attribute's ID
profile_type_id uuid
Profile type ID of synced attribute
ne_attribute_id uuid
Ne attribute ID of synced attribute
{
"synced_attribute": {
"id": "1246d8b3-ac29-4015-8154-dea4434a73fa",
"profile_type_id": "1246d8b3-ac29-4015-8154-dea4434a73fa",
"ne_attribute_id": "1246d8b3-ac29-4015-8154-dea4434a73fa"
}
}
Bad Request - unable to complete.
- application/json
- Schema
- Example (from schema)
Schema
- InvalidJson
- ValidationErrors
oneOf
error
error
errors
{}
Internal Server Error - returned on unhandled exceptions.
- application/json
- Schema
- Example (from schema)
Schema
error
A message describing the error
{
"error": "Sorry something went wrong"
}
Loading...