Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Core AccessGroup Picture API
version: core
servers:
- url: https://rstapi-sbx-svc-core.amcsplatform.com/erp/api/integrator/erp
description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Picture
paths:
/integrator/pictures:
post:
tags:
- Picture
summary: Create or update
description: "| Property\t\t\t\t\t\t\t\t| Description | Required\t|\n|---------------------------------------|-----------------------------------------------|-----------|\n| DateTime\t\t\t\t\t\t\t\t| The date and time of the picture.\t\t\t\t| Yes\t\t|\n| Description\t\t\t\t\t\t\t| The description of the picture.\t\t\t\t| No\t\t|\n| RelatedVehicleReg\t\t\t\t\t\t| The related vehicle reg.\t\t\t\t\t\t| No\t\t|\n| Base64Picture\t\t\t\t\t\t\t| The Base64Picture blob hash of the picture.\t| Yes\t\t|\n| RelatedWeighingGuid\t\t\t\t\t| The weighing guid.\t\t\t\t\t\t\t| No\t\t|\n| IsAnpr\t\t\t\t\t\t\t\t| The Anpr picture type.\t\t\t\t\t\t| No\t\t|\n| CompanyOutletGuid\t\t\t\t\t\t| The CompanyOutlet guid.\t\t\t\t\t\t| No\t\t|\n| SubscriberGuid\t\t\t\t\t\t| The Subscriber guid.\t\t\t\t\t\t\t| Yes\t\t|\n\n## Extra validations\n\n| Condition | Error message |\n|-----------|---------------|\n| If RelatedVehicleReg and RelatedWeighingGuid are both null | Either RelatedVehicleReg or RelatedWeighingGuid property must have a value. |\n| If no Weighing is found associated to the ANPR data | Weighing not found for this ANPR data. |\n| If Subscriber isnt subscribed to Outlet | Subscriber isnt subscribed to Outlet. |\n| If no Outlets were found for Subscriber | No Outlets were found for Subscriber. |"
operationId: Picture_Create
consumes:
- application/json
produces:
- application/json
parameters:
- in: body
required: true
schema:
$ref: '#/definitions/ApiResourceId'
responses:
'200':
description: OK
schema:
$ref: '#/definitions/ApiResourceId'
definitions:
ApiResourceErrors:
type: object
properties:
errors:
type: string
ApiResourceStatus:
type: object
properties:
id:
format: int32
type: integer
isSuccess:
type: boolean
ApiResourceId:
type: object
properties:
resource:
format: int32
type: integer
errors:
$ref: '#/definitions/ApiResourceErrors'
status:
$ref: '#/definitions/ApiResourceStatus'