Allianz Trade · Schema

JobResponse

Async job status response

Credit InsuranceInsuranceRisk ManagementTrade CreditE-CommerceSurety

Properties

Name Type Description
jobId string Unique identifier for the async job
status string Current status of the job
result object Result data after successful job completion
createdAt string When the job was created
completedAt string When the job completed (null if still pending)
View JSON Schema on GitHub

JSON Schema

trade-company-grade-job_response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.allianz-trade.com/schemas/trade-company-grade-job_response-schema.json",
  "title": "JobResponse",
  "type": "object",
  "description": "Async job status response",
  "properties": {
    "jobId": {
      "type": "string",
      "description": "Unique identifier for the async job"
    },
    "status": {
      "type": "string",
      "description": "Current status of the job",
      "enum": [
        "pending",
        "processed",
        "failed"
      ]
    },
    "result": {
      "type": "object",
      "description": "Result data after successful job completion"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "When the job was created"
    },
    "completedAt": {
      "type": "string",
      "format": "date-time",
      "description": "When the job completed (null if still pending)"
    }
  }
}