Skip to main content
POST
Create a record

Authorizations

__Host-argus-session
string
cookie
required

The opaque session cookie set by Discord sign-in. Named argus-session outside production. HttpOnly, so scripts cannot read it; same-origin requests send it automatically. Requests other than GET must also carry an Origin header equal to the application's own origin.

Body

application/json
civilianId
string
required

Argus record identifier.

Required string length: 1 - 64
Pattern: ^[a-zA-Z0-9_-]+$
type
enum<string>
required
Available options:
ARREST,
CONVICTION,
CITATION,
WARNING,
FINE,
REPORT,
LICENCE_OFFENCE,
VEHICLE_OFFENCE
title
string
required
Required string length: 3 - 150
description
string
required
Required string length: 3 - 4000
location
string | null
Required string length: 2 - 200
occurredAt
string<date-time>

ISO-8601 with a zone; must not be in the future. Defaults to now.

fineAmount
integer | null

Whole pounds.

Required range: 0 <= x <= 1000000
points
integer | null
Required range: 0 <= x <= 12
visibleToSubject
boolean

Whether the character's owner can read the record. Defaults to true, except for REPORT.

vehicleId
string | null

Argus record identifier.

Required string length: 1 - 64
Pattern: ^[a-zA-Z0-9_-]+$
endorseLicence
boolean

Also add points to the licence. Needs pnc.licences.manage.

Response

Created.

data
object
required