🚀 Welcome! Spot an issue or have feedback? Let us know.
curl --location -g --request GET 'https://api.parseur.com/template/{{TEMPLATE_ID}}' \
--header 'Authorization;'
{
"id": 0,
"name": "string",
"parser": 0,
"engine": "TXT",
"action": "PROCESS",
"status": "PROD",
"margin": {
"default": {
"lower": 0,
"upper": 0
}
},
"document_count": 0,
"last_activity": "2019-08-24T14:15:22Z",
"decimal_separator": ".",
"input_date_format": "MONTH_FIRST",
"template_object_set": [
{
"parser_field": {
"id": "string",
"name": "string",
"format": "TEXT",
"is_optional": true,
"query": "string",
"json_download": "http://example.com",
"csv_download": "http://example.com",
"xls_download": "http://example.com",
"type": "FIELD",
"parser_object_set": [
{}
]
},
"upper_left_relative_field": "string",
"lower_right_relative_field": "string",
"format": "HTML",
"id": "string",
"is_required": true,
"name": "string",
"relative_box": {
"left_x": 0,
"upper_y": 0,
"right_x": 0,
"lower_y": 0,
"start_page_index": 0,
"end_page_index": 0
},
"type": "FIELD",
"template_object_set": [
{}
]
}
],
"template_static_object_set": [
"string"
],
"unused_parser_object_set": [
{
"id": "string",
"name": "string",
"format": "TEXT",
"is_optional": true,
"query": "string",
"json_download": "http://example.com",
"csv_download": "http://example.com",
"xls_download": "http://example.com",
"type": "FIELD",
"parser_object_set": [
{}
]
}
],
"sample_set": [
{
"id": 0,
"name": "string",
"comment": "string",
"is_ocr_ready": true,
"ocr_ready_url": "http://example.com",
"ocr_page_set": [
{
"image": {
"url": "http://example.com",
"width": 0,
"height": 0,
"content_type": "image/jpeg"
},
"position": 0,
"included_in_range": true
}
]
}
]
}