/
GET v2/EviSMS/Batches/{batchid}

GET v2/EviSMS/Batches/{batchid}

HTTP Method: GET

Description:

This endpoint retrieves the details of a bulk email batch previously created in the system. The batchid parameter in the URL is the unique identifier returned by the initial batch creation (Submit) endpoint. Additional query parameters allow customization of the level of detail in the response.

Output Parameters

  • Id (Guid): Unique identifier for the batch.

  • Submitter (text): User who generates the batch.

  • SubmitterId (Guid): Identifier of the user who generates the batch.

  • SiteName (text): Name of the site associated with the batch.

  • SiteId (Guid): Site identifier associated with the batch.

  • State (string): The current state of the bulk email (e.g., Draft, Scheduled, Sent).

  • CreationDate (datetime): The creation date of the batch in UTC.

  • LastUpdate (datetime): The last update time of the batch in UTC.

  • Description (string): Description of the bulk email batch.

  • SentCount (int): Counter of the shipments made so far.

  • FailedCount (int): Counter of failed shipments so far.

  • ProgessPercentage (int): Percentage of progress to date.

  • Outcome (text): Final result of the shipment process.

  • TotalCount (int?, optional): The total number of recipients (if IncludeRecipientsCount is true).

  • Options (object, optional, if IncludeOptions is true): Configuration details for the batch, including:

    • IssuerName (string): The sender's name.

    • CostCentre (string)

    • CertificationLevel (string)

    • LtaStorage (bool)

    • AffidavidKind (array)

    • Language (string)

    • AffidavitLanguage (string)

    • OnlineRetentionPeriod (int)

    • PushNotificationUrl (string)

    • PushNotificationFilter (array)

    • PushNotificationExtraData (string)

    • HideBanners (bool)

    • BatchPushNotificationUrl (string)

Request Example

Content-Type: application/json Authorization: Bearer YOUR_ACCESS_TOKEN GET /v2/EviSMS/Batches/{batchid}

Response Example

{ "Id": "01948843-2aec-4fca-a203-9965370ad291", "State": "Draft", "Submitter": "desarrollo.negocio@evicertia.com", "SubmitterId": "00005058-3e63-42cf-aa2c-a3160034a66f", "SiteName": "certified-communications", "SiteId": "426eccb1-a677-4ea7-b9fe-afe800b8f4bc", "Description": "cambio de des", "CreationDate": "2025-01-21T09:48:10.8662960+00:00", "LastUpdated": "2025-01-21T09:55:58.0000000+00:00", "TotalCount": 0, "EviSms": { "Text": "Este es el texto que quiero informar", "IssuerName": "JL", "CostCentre": "234", "TimeToLive": 10, "CertificationLevel": "Advanced", "LtaStorage": false, "Language": "en", "AffidavitLanguage": "en", "OnlineRetentionPeriod": 1, "HideBanners": false }, "SentCount": 0, "FailedCount": 0, "ProgressPercentage": 0, "Outcome": "None" }

Notes

  • Batch ID:

    • The batchid in the URL must correspond to an existing batch created in the system.