Proofs
Proofs_upload_create
AuthorizationBearer <token>
In: header
filestring
location_osm_id?integer | null
Format
int64
Range
0 <= value <= 9223372036854776000
location_osm_type?LocationOsmTypeEnum | BlankEnum | NullEnum
typeTypeEbbEnum
PRICE_TAG
- PRICE_TAGRECEIPT
- RECEIPTGDPR_REQUEST
- GDPR_REQUESTSHOP_IMPORT
- SHOP_IMPORT
Value in
"PRICE_TAG" | "RECEIPT" | "GDPR_REQUEST" | "SHOP_IMPORT"
currency?CurrencyEnum | BlankEnum | NullEnum
date?string | null
Format
date
receipt_price_count?Receipt's number of prices (user input)
Range
0 <= value <= 2147483647
receipt_price_total?Receipt's total amount (user input)
Format
double
Range
0 <= value < 100000000
receipt_online_delivery_costs?Receipt's online delivery costs (user input)
Format
double
Range
0 <= value < 100000000
ready_for_price_tag_validation?boolean
owner_consumption?boolean | null
owner_comment?string | null
location_id?integer
Response Body
curl -X POST "https://loading/api/v1/proofs/upload" \
-F file="string" \
-F type="PRICE_TAG"
{
"id": 0,
"location_id": 0,
"location": {
"id": 0,
"type": "OSM",
"osm_id": 9223372036854776000,
"osm_type": "NODE",
"osm_name": "string",
"osm_display_name": "string",
"osm_tag_key": "string",
"osm_tag_value": "string",
"osm_brand": "string",
"osm_address_postcode": "string",
"osm_address_city": "string",
"osm_address_country": "string",
"osm_address_country_code": "string",
"osm_lat": -9999,
"osm_lon": -9999,
"osm_version": 2147483647,
"website_url": "http://example.com",
"price_count": 2147483647,
"user_count": 2147483647,
"product_count": 2147483647,
"proof_count": 2147483647,
"source": "string",
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
},
"predictions": [
{
"type": "OBJECT_DETECTION",
"model_name": "string",
"model_version": "string",
"data": null,
"value": "string",
"max_confidence": 0,
"created": "2019-08-24T14:15:22Z"
}
],
"file_path": "string",
"mimetype": "string",
"type": "PRICE_TAG",
"image_thumb_path": "string",
"location_osm_id": 9223372036854776000,
"location_osm_type": "NODE",
"date": "2019-08-24",
"currency": "ADP",
"receipt_price_count": 2147483647,
"receipt_price_total": 99999999,
"receipt_online_delivery_costs": 99999999,
"ready_for_price_tag_validation": true,
"owner_consumption": true,
"owner_comment": "string",
"price_count": 2147483647,
"prediction_count": 2147483647,
"owner": "string",
"source": "string",
"tags": [
"string"
],
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}