How to tell how many retries

When we check the status of a fax job and it fails, is there a way to get how many times the fax was retried before it is marked as failed? Right now we can tell the time between when it started and when it finally failed, but without knowing the algorithm and assuming things, we don't have a way to know if the fax was actually retried X number of times.

Comments

  • mparvathi_2021
    mparvathi_2021 Moderator, E Community Moderator

    JobDeliveryStatus API response contains both number of retries and algorithm. Please refer to the attached screenshots.


  • mparvathi_2021
    mparvathi_2021 Moderator, E Community Moderator

    JobDeliveryStatus API Response has both the number reties and algorithm values. Please refer to the attached screenshots.


  • Prabhakr_2018
    Prabhakr_2018 E Member
    edited August 5, 2021 #4


    Prabhakaran R
    OpenText

  • mparvathi_2021
    mparvathi_2021 Moderator, E Community Moderator

    JobDeliveryStatus API Response has both the number reties and algorithm values. Please refer to the attached screenshots.


  • Is this not included in the REST API?

    OpenText Cloud Fax RESTful API

  • mparvathi_2021
    mparvathi_2021 Moderator, E Community Moderator

    Can you provide your UserId to check your profile?

  • Sure. Do you have a way to send it to you outside of an open forum?

  • mparvathi_2021
    mparvathi_2021 Moderator, E Community Moderator
    edited August 9, 2021 #9

    you can send to my emailId : mparvathi@opentext.com

  • mparvathi_2021
    mparvathi_2021 Moderator, E Community Moderator

    We have verified your profile and it's properly configured to get all the delivery attempts.

    In the SOAP API delivery attempts will be shown by using <Attempts> element but in the REST API you can get the number of attempts by seeing the array  element "delivery_attempts".

  • JaredA
    edited August 13, 2021 #11

    Here's an example of what we are seeing. The delivery attempts is only a single element, so I'm not seeing how to tell how many different attempts there are:


    {
        "job_id": "xsi-1936145613",
        "customer_reference_base64": "",
        "entry_time": "2021-07-22T15:10:35.000Z",
        "job_state": [
            "Complete",
            "Posted"
        ],
        "deliveries": [
            {
                "ref_base64": "Njc5ZTZlZTctNmMyOC00MDk1LWE=",
                "fax": "[phone]",
                "delivery_attempts": [
                    {
                        "state": "Error",
                        "gamma_code": 3931,
                        "first_attempt": "2021-07-22T15:10:35.000Z",
                        "delivery_time": "2021-07-22T15:40:48.000Z",
                        "pages_delivered": 4
                    }
                ]
            }
        ]
    }
    
  • mparvathi_2021
    mparvathi_2021 Moderator, E Community Moderator
    edited August 16, 2021 #12

    If your profile is configured with attempt_logging:N then you will be seeing only last attempt details. But we could see your profile is properly configured as attempt_logging:Y so you should be able to get all the delivery attempt details under "delivery_attempts".

    Below is one of your jobs which has 2 attempts and both of them are showing as expected as shown below for the job#xsi-1712721249

    By calculating the size of the above delivery_attempts array you can know how many attempts were made for any job.

  • mparvathi_2021
    mparvathi_2021 Moderator, E Community Moderator

    JobDeliveryStatus API response has both number of retries and algorithm values. Please refer to the attached screenshots.


  • mparvathi_2021
    mparvathi_2021 Moderator, E Community Moderator

    JobDeliveryStatus API response has both number of retries and algorithm values. Please refer to the attached screnshots.


  • mparvathi_2021
    mparvathi_2021 Moderator, E Community Moderator

    JobDeliveryStatus API Response has both the number reties and algorithm values. Please refer to the attached screenshots.


  • mparvathi_2021
    mparvathi_2021 Moderator, E Community Moderator

    JobDeliveryStatus API Response has both the number reties and algorithm values. Please refer to the attached screenshots.


  • mparvathi_2021
    mparvathi_2021 Moderator, E Community Moderator

    JobDeliveryStatus API Response has both the number reties and algorithm values. Please refer to the attached screenshots.


  • mparvathi_2021
    mparvathi_2021 Moderator, E Community Moderator

    JobDeliveryStatus API Response has both the number reties and algorithm values. Please refer to the attached screenshots.