Create a profile
POST/profile
Create a profile
Request
- application/json
Body
required
profile object
Possible values: [Active
, Inactive
, On Leave
, Terminated
]
Possible values: [pending
, pass
, fail
]
Default value: false
attributes object
Responses
- 200
- 400
- 500
Expected response to a valid request
- application/json
- Schema
- Example (from schema)
Schema
profile object
The objects ID
Possible values: >= 32 characters
and <= 32 characters
The objects UID
This is the name of the profile.
This is the ID of the profile type the profile belongs to
Possible values: [Active
, Inactive
, On Leave
, Terminated
]
This is the status of the profile
Possible values: [pending
, pass
, fail
]
This is the ID proofing staus of the profile
The date and time the profile was created
The date and time the profile was updated
attributes object
Attributes that belong to this profile.
{
"profile": {
"id": "33f072dd-13b4-41e1-8ea0-16f2a59b57c8",
"uid": "profileUid",
"name": "Profile Name",
"profile_type_id": "33f072dd-13b4-41e1-8ea0-16f2a59b57c8",
"status": "Active",
"id_proofing_status": "pending",
"created_at": "2023-11-21T14:23:54.256-05:00",
"updated_at": "2023-11-21T14:23:54.256-05:00",
"attributes": {
"text_attribute_uid": "static text",
"date_attribute_uid": "01/15/2020",
"profile_select_attribute_uid": "Profile Name",
"multiple_profile_select_attribute_uid": "Profile Name,Second Profile Name,Third Profile Name",
"contributor_select_attribute_uid": "User Name",
"multiple_contributor_select_attribute_uid": "User Name,Second User Name,Third User Name"
}
}
}
Bad Request - unable to complete.
- application/json
- Schema
- Example (from schema)
Schema
- InvalidJson
- ValidationErrors
{}
Internal Server Error - returned on unhandled exceptions.
- application/json
- Schema
- Example (from schema)
Schema
A message describing the error
{
"error": "Sorry something went wrong"
}