# API Docs Report Graph
## Response
### Response Codes
```http
200: Success
400: Bad request
401: Unauthorized
50X: Server Error
```
### gr-outstanding
```http
GET /api/reports/gr-outstanding/graph/ HTTP/1.1
Accept: application/json
Content-Type: application/json
{
"yearly": {
"2013": {
"direct": 368,
"stock": 0,
"service": 0,
"total": 368
}
...
},
"monthly": {
"aug-2013": {
"direct": 194,
"stock": 0,
"service": 0,
"total": 194
},
...
"sep-2020": {
"direct": 0,
"stock": 10,
"service": 0,
"total": 10
}
}
}
```
### invoice-outstanding
```http
GET /api/reports/invoice-outstanding/graph/ HTTP/1.1
Accept: application/json
Content-Type: application/json
{
"assinged_to_admin": {
"no_of_inv": 0,
"percent": 0.0
},
"returned_to_admin": {
"no_of_inv": 7,
"percent": 0.1
},
"returned_to_acc1": {
"no_of_inv": 57,
"percent": 0.9
},
...
}
```
### due-date
```http
GET /api/reports/due-date/graph/ HTTP/1.1
Accept: application/json
Content-Type: application/json
{
"before_due": {
"no_of_inv": 106,
"percent": 0.64
},
"on_due": {
"no_of_inv": 8315,
"percent": 49.83
},
"over_due": {
"no_of_inv": 7014,
"percent": 42.03
}
}
```
### inbound
```http
GET /api/reports/inbound/graph/ HTTP/1.1
Accept: application/json
Content-Type: application/json
{
"jan-2020": {
"self_upload": 125,
"email": 176,
"hq": 1403,
"operation_site": 13921,
"total": 15625
},
"feb-2020": {
"self_upload": 59,
"email": 204,
"hq": 2,
"operation_site": 0,
"total": 265
},
...
}
```
### rpa-summary
```http
GET /api/reports/rpa-summary/graph/ HTTP/1.1
Accept: application/json
Content-Type: application/json
{
"robot_util_status": {
"daily": {
"25-feb-2020": {
"rpa_posting_process": {
"rpa_posting_process_total": 136,
"hold_gr_ir_1_header": 76,
"hold_down_payment_1_header": 0,
"park_gr_ir_2_line_item": 60,
"hold_down_payment_2_line_item": 0,
"post_clear_down_payment": 0
},
"rpa_release_process": {
"rpa_release_process_total": 93,
"release_payment": 93,
"print_ap": 0
},
"rpa_reverse_delete_process": {
"rpa_reverse_delete_process_total": 23,
"reverse_gr_ir_document_level": 9,
"reverse_down_payment": 0,
"reverse_clear_down_payment": 0,
"delete_gr_ir_document_level": 14,
"delete_down_payment": 0
}
},
...
},
"monthly": {
"feb-2020": {
"rpa_posting_process": {
"rpa_posting_process_total": 937,
"hold_gr_ir_1_header": 618,
"hold_down_payment_1_header": 0,
"park_gr_ir_2_line_item": 319,
"hold_down_payment_2_line_item": 0,
"post_clear_down_payment": 0
},
"rpa_release_process": {
"rpa_release_process_total": 986,
"release_payment": 986,
"print_ap": 0
},
"rpa_reverse_delete_process": {
"rpa_reverse_delete_process_total": 94,
"reverse_gr_ir_document_level": 15,
"reverse_down_payment": 0,
"reverse_clear_down_payment": 0,
"delete_gr_ir_document_level": 79,
"delete_down_payment": 0
}
},
...
}
},
"robot_util_results": {
"daily": {
"25-feb-2020": {
"total": 252,
"complete": 250,
"incomplete_known_error": 1,
"incomplete_under_investigation": 1
},
...
"monthly": {
"feb-2020": {
"total": 2017,
"complete": 1954,
"incomplete_known_error": 42,
"incomplete_under_investigation": 21
},
}
}
```
### count-page
```http
GET /api/reports/count-page/graph/ HTTP/1.1
Accept: application/json
Content-Type: application/json
{
"no_of_usage_page": [
{
"vendor_name": "SNU SUPPLY AND SERVICE CO., LTD.",
"value": {
"total": 3,
"doc_type_inv": 2,
"doc_type_po": 1,
"doc_type_fax": 0
}
},
...
],
"no_of_inv": [
{
"vendor_name": "Plugin missing counted pages from Go-Live technical issue",
"value": {
"total_inv": 1
}
},
...
],
"avg_usage_page_inv": [
{
"vendor_name": "Plugin missing counted pages from Go-Live technical issue",
"value": {
"total_avg_usage_page_inv": 1028.0
}
},
...
]
}
```
### count-page/cumulative
```http
GET /api/reports/count-page/cumulative/graph/ HTTP/1.1
Accept: application/json
Content-Type: application/json
{
"no_of_usage_page": {
"jan-2020": {
"total": 2144,
"doc_type_inv": 1836,
"doc_type_po": 9,
"doc_type_fax": 299
},
"feb-2020": {
"total": 405,
"doc_type_inv": 291,
"doc_type_po": 0,
"doc_type_fax": 114
},
...
},
"no_of_inv": {
"jan-2020": {
"total_inv": 1303
},
...
},
"avg_usage_page_inv": {
"jan-2020": {
"total_avg_usage_page_inv": 1.65
},
...
}
}
```