Skip to main content
POST
/
violation
/
public
/
create
Error
A valid request URL is required to generate request examples
{
  "code": 123,
  "message": "<string>",
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "canTow": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
zoneId
string<uuid>
required
plateNumber
string
required
plateType
string
required
violationLocation
string
required
Maximum string length: 2000
latitude
number<double>
required
longitude
number<double>
required
violationType
enum<string>
required
Available options:
NO_TICKET,
TICKET_ENDED,
USER_EXCEED_PARKING_TIME,
WRONG_PARKING,
RESERVED_PARKING,
OBS_CLS_PARKING,
EMRG_PARKING,
ENT_EXT_PARKING,
PROH_PARKING
id
string<uuid>
violationDate
string<date-time>
violationEmpCode
string
insertedUser
string
imageDescription
string
image
file
violationStatus
enum<string>
Available options:
INITIATED,
RM_NATIONAL_ID,
RM_WARNING_SMS,
RM_VIOLATION,
RM_IMAGE,
RM_BILL,
COMPLETED
isSaudi
boolean

Response

200 - application/json

Violation successfully created

code
integer<int32>
message
string
data
object