Skip to main content
POST
Create CoworkerAccessControlAudit
A CoworkerAccessControlAudit records any issue encountered when connecting to an access control system, granting permissions to a customer, or updating their profile in those systems. Entries with IsProblem = true indicate that the operation failed or produced an error. Use Description to understand what went wrong.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the CoworkerAccessControlAudit-Create role.

Request Body

Required Fields

integer
required
ID of the customer affected by the access control operation.

Optional Fields

string
Human-readable description of the issue encountered in the access control system.
boolean
Whether this entry represents a failed or problematic operation in the access control system.

Code Examples

Response

200

integer
HTTP status code. 200 on success.
string
A human-readable message confirming the creation.
object
Contains the Id of the newly created record.
boolean
true if the coworkeraccesscontrolaudit was created successfully.
array
null on success.
Example Response

400

string
A summary of the validation error(s), in the format PropertyName: error message.
any
null on validation failure.
object[]
Array of validation errors.
boolean
false when the request fails validation.
Example Response