StatementJob

Get StatementJob

Retrieves the details of a specific StatementJob using its UUID.

Use this call to obtain the time-bound pre-signed download URL for the generated Bill Statement if the initial Create StatementJob returned a response showing the statementJobStatus not yet complete and as PENDING or RUNNING.

Note: When you have submitted a StatementJob and a Bill Statement has been generated, you can also download the Statement directly from a Bill Details page in the Console. See Working with Bill Statements in our user Documentation.

get/organizations/{orgId}/statementjobs/{id}

Path parameters

orgIdstring required

The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.

idstring required

Response

Returns the StatementJob

idstring required

The UUID of the entity.

versioninteger

The version number:

  • Create: On initial Create to insert a new entity, the version is set at 1 in the response.
  • Update: On successful Update, the version is incremented by 1 in the response.
statementJobStatus'PENDING' | 'RUNNING' | 'COMPLETE' | 'CANCELLED' | 'FAILED'

The current status of the StatementJob. The status helps track the progress and outcome of a StatementJob.

billIdstring

The unique identifier (UUID) of the bill associated with the StatementJob.

orgIdstring

The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.

includeCsvFormatboolean

A Boolean value indicating whether the generated statement includes a CSV format.

  • TRUE - includes the statement in CSV format.
  • FALSE - no CSV format statement.
presignedJsonStatementUrlstring

The URL to access the generated statement in JSON format. This URL is temporary and has a limited lifetime.

jsonStatementStatus'LATEST' | 'STALE' | 'INVALIDATED'
presignedCsvStatementUrlstring
csvStatementStatus'LATEST' | 'STALE' | 'INVALIDATED'
dtCreatedstring date-time

The date and time (in ISO-8601 format) when the StatementJob was created.

dtLastModifiedstring date-time

The date and time (in ISO-8601 format) when the StatementJob was last modified.

createdBystring

The unique identifier (UUID) of the user who created this StatementJob.

lastModifiedBystring

The unique identifier (UUID) of the user who last modified this StatementJob.

Changes

Changed in 2 of the 10 revisions of this API.14

    • the allOf[subschema #2]/presignedJsonStatementUrl response's property type/format changed from string/url to string/ for status 200

      response-property-type-changed

    • added the optional property allOf[subschema #2]/csvStatementStatus to the response with the 200 status

      response-optional-property-added

    • added the optional property allOf[subschema #2]/jsonStatementStatus to the response with the 200 status

      response-optional-property-added

    • added the optional property allOf[subschema #2]/presignedCsvStatementUrl to the response with the 200 status

      response-optional-property-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 53 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog