Innocalls
Order ConfirmationFile Call

List File Order Confirmation

Retrieve file-based campaign status and progress

List File Call

Details

DescriptionThe "List" endpoint retrieves details for files containing calls within an order confirmation.
HTTP Method GET
Endpoint URLhttps://platform.innocalls.com/v1/api-gateway/order-confirmation/file-call/list
AuthorizationTo access the API endpoints, you need to authenticate using API keys and API secrets. The API supports Basic Authentication for authorization. You need to include your API ID as the username and your API secret as the password in the HTTP header when making requests. Replace API_ID with your API ID and API_SECRET with your API secret, separated by a colon (:). The value after Basic is the Base64 encoding of your API key and API secret concatenated with a colon.
Rate Limit 3 requests per second

Request Parameters

ParameterDescriptionLocationConstrainsDefault Values
limitLimit of fetched rowsQueryOptional
Max: 100
10
page Page of rows to fetchQueryOptional
Min: 1
1
timezone Timezone for date conversionHeaderOptional Asia/Riyadh

Request Example


curl 'https://platform.innocalls.com/api/v1/api-gateway/order-confirmation/file-call/list?page=1&limit=10' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic <base64-encoded string  apiId:apiSecret>'

Success Response Example

{
  "data": {
    "rows": [
      {
        "id": "656f2663dfecacf4e792f4e4",
        "status": "cancelled",
        "corruptedRows": 0,
        "correctRows": 1,
        "totalRows": 1,
        "fileName": "test.csv",
        "progress": 0,
        "orderConfirmationCallScenario": "order confirmation name",
        "useDateOption": false,
        "callsDates": []
      }
    ],
    "totalItems": 1,
    "totalPages": 1
  }
}

Description

This JSON response signifies the successful retrieval of details for files containing calls within the order confirmation. It provides comprehensive information about each file call within the order confirmation.

  • totalItems: Total number of single calls.
  • totalPages: Total pages of single call details.
  • rows: An array containing details of each individual file call.
    • id: Unique identifier for the file call.
    • status: Status of the file.
    • orderConfirmationCallScenario: Name of the order confirmation.
    • corruptedRows : Total corrupted rows in the file.
    • correctRows : Total correct rows in the file.
    • totalRows : Total rows in the file.
    • fileName : The uploaded file name.
    • progress : Completion progress of the file.
    • useDateOption: Indicates whether the file follows date options or not.
    • callsDates: AAn array containing dates for each trial when useDateOption is set to true. Each element in the array corresponds to a specific trial case and should be in the format "YYYY-MM-DD HH:mm".

Possible Errors

Error CodeDescription
401 UnauthorizedInvalid Credential
403 ForbiddenNot Enough Permissions to access the resource
429 Too Many RequestsThis occurs when requests exceed the rate limit
400 BadRequest

This error occurs due to malformed or invalid request parameters

On this page