Create a Service Case

Having uploaded the files, we create the service case.

The endpoint for this is POST /api/v2/Services/Uploadidents:

Request
POST /api/v2/Services/Uploadidents HTTP/1.1
Host: connect.secucard.com
Accept: application/json
Content-Type: application/json
Accept-Charset: utf-8
Authorization: Bearer b7ekfehla82elit67jk7n1ng00
{
"contract_id": "GCR_7GDYFMMJ9SK75P2BJRRN6JA8Y0DSOJ",
"documents": [
      "DUF_8Z092GGNK60KD94JPZFKYDS6C67X4C",
"DUP_37L1T9B3BYGVTJ759FOKXFFPJY0NVG"
  ]
}

If everything is fine, the API responds with 200 OK and the ticket ID:

Response
HTTP/1.1 200 OK
Content-Type: application/json
...
 
{
"service_issue_id": 12345678
}

The response contains a service issue ID. It should be saved in your system. So it can be used to identify the ticket at secupay.