Create multiple profiles
POST/profiles
Create multiple profiles
Request
- application/json
Body
required
Array [
]
profiles
object[]
The profile name.
The profile type id.
Possible values: [Active
, Inactive
, On Leave
, Terminated
]
The profile status.
Possible values: [pending
, pass
, fail
]
The id proofing status of the profile.
Describes whether the profile is archived or not.
attributes
object
The attributes associated with the profile.
Responses
- 200
- 400
- 500
Expected response to a valid request
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
profiles
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.
{
"profiles": [
{
"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",
"profile_search_attribute_uid": "Profile Name",
"multiple_profile_search_attribute_uid": "Profile Name,Second Profile Name,Third Profile Name",
"multiple_profile_select_attribute_uid": "Profile Name,Second Profile Name,Third Profile Name",
"contributor_select_attribute_uid": "User Name ([email protected])",
"contributor_search_attribute_uid": "User Name ([email protected])",
"multiple_contributor_search_attribute_uid": "User Name ([email protected]),Second User Name ([email protected]),Third User Name ([email protected])",
"owner_select_attribute_uid": "User Name ([email protected])",
"owner_search_attribute_uid": "User Name ([email protected])",
"dropdown_attribute_uid": "yes, no",
"tags_attribute_uid": "yes, no",
"checkbox_attribute_uid": "yes, no",
"text_area_uid": "static text",
"radio_attribute_uid": "yes, no"
}
}
]
}
Bad Request - unable to complete.
- application/json
- Schema
- Example (from schema)
Schema
- InvalidJson
- ValidationErrors
oneOf
{}
Internal Server Error - returned on unhandled exceptions.
- application/json
- Schema
- Example (from schema)
Schema
A message describing the error
{
"error": "Sorry something went wrong"
}