Error Posting

Report an error

In case you have received an unusual error, it is recommended to exercise the Error posting service and report it.

Post an Error

Endpoint details

Endpoint URL

Method

Authentication requirements

/v1/api/erp/error

POST

  1. clientid
  2. clientsecret
  3. signature

A request in the following format should be posted to the above mentioned endpoint to post an error:

curl --location --request POST 'https://servicesuat.onesingleview.com/v1/api/erp/error' \
--header 'clientid: Enter_Client_ID' \
--header 'clientsecret: Enter_Client_Secret' \
--header 'signature: Enter_Signature' \
--header 'Content-Type: application/json' \
--data-raw '{
"apiName": "svGrpCmpService",
"companyCodes": [
  "Enter_Company_Code","Enter_Company_Code"
],
"errorDescription": "Enter_ERP_Error_Description",
"errorCode": "Enter_Error_Code",
"statusCode": "Enter_Status_Code"
}'

Request details:

JSON Tag

Description

Data type

apiName Mandatory

Name of the API service

Object

companyCodes Mandatory

Tag carrying information on the companies

Object/Array

errorDescription Mandatory

Error description Length of input: Min 3 Characters Max 35 Characters

String

errorCode Mandatory

Error Code of ERP

String

statusCode Mandatory

Status Code of ERP

String

In case the details in your message are found to be valid, you will receive the following response:

{
  success: true,
  message: "error captured successfully"
}

Response description:

JSON Tag

Description

Data type

success

True - If processed successfully False - Unsuccessful processing

String

message

Message of the process

String