---
title: "POST api-app-v1-release-cap-external-alerts-latest-json"
url: "https://capalert-developer-portal.apiddpm.com/apis/national-cap-alerting-service-api-1/versions/9738bb43-d24d-4239-8917-928fe84376ca/paths/api-app-v1-release-cap-external-alerts-latest-json/post"
---

> Full API specification: https://capalert-developer-portal.apiddpm.com/apis/national-cap-alerting-service-api-1/versions/9738bb43-d24d-4239-8917-928fe84376ca.md

# /api/app/v1/release/cap-external/alerts/latest/json

`POST` `/api/app/v1/release/cap-external/alerts/latest/json`

## Query parameters

- `token` (string, optional)

## Request body

Content types: `application/json`, `text/json`, `application/*+json`

## Responses

- `200` - Success
- `400` - Bad Request
- `401` - Unauthorized
- `403` - Forbidden
- `404` - Not Found
- `500` - Server Error
- `501` - Server Error

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: National CAP Alerting Service API
  version: 1.0.0
servers:
  - url: https://capalert-api-developer.apiddpm.com
paths:
  /api/app/v1/release/cap-external/alerts/latest/json:
    post:
      tags:
        - CapExternal
      parameters:
        - name: token
          in: query
          schema:
            type: string
            nullable: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/NDWC.Cap.CapAlerts.CapAlertLatestInput"
          text/json:
            schema:
              $ref: "#/components/schemas/NDWC.Cap.CapAlerts.CapAlertLatestInput"
          application/*+json:
            schema:
              $ref: "#/components/schemas/NDWC.Cap.CapAlerts.CapAlertLatestInput"
      responses:
        "200":
          description: Success
          content:
            text/plain:
              schema:
                $ref: "#/components/schemas/NDWC.Cap.CapAlertLatestDto"
            application/json:
              schema:
                $ref: "#/components/schemas/NDWC.Cap.CapAlertLatestDto"
            text/json:
              schema:
                $ref: "#/components/schemas/NDWC.Cap.CapAlertLatestDto"
        "400":
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse"
            application/json:
              schema:
                $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse"
            text/json:
              schema:
                $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse"
        "401":
          description: Unauthorized
          content:
            text/plain:
              schema:
                $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse"
            application/json:
              schema:
                $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse"
            text/json:
              schema:
                $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse"
        "403":
          description: Forbidden
          content:
            text/plain:
              schema:
                $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse"
            application/json:
              schema:
                $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse"
            text/json:
              schema:
                $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse"
        "404":
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse"
            application/json:
              schema:
                $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse"
            text/json:
              schema:
                $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse"
        "500":
          description: Server Error
          content:
            text/plain:
              schema:
                $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse"
            application/json:
              schema:
                $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse"
            text/json:
              schema:
                $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse"
        "501":
          description: Server Error
          content:
            text/plain:
              schema:
                $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse"
            application/json:
              schema:
                $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse"
            text/json:
              schema:
                $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse"
components:
  schemas:
    NDWC.Cap.CapAlerts.CapAlertLatestInput:
      type: object
      properties:
        geoCodeId:
          type: string
          nullable: true
        culture:
          type: string
          nullable: true
        sorting:
          type: string
          nullable: true
      additionalProperties: false
    NDWC.Cap.CapAlertLatestDto:
      type: object
      properties:
        status:
          $ref: "#/components/schemas/NDWC.Cap.StatusInfo"
        capList:
          type: array
          items:
            $ref: "#/components/schemas/NDWC.Cap.CapItems"
          nullable: true
      additionalProperties: false
    Volo.Abp.Http.RemoteServiceErrorResponse:
      type: object
      properties:
        error:
          $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorInfo"
      additionalProperties: false
    NDWC.Cap.StatusInfo:
      type: object
      properties:
        code:
          type: integer
          format: int32
          nullable: true
        message:
          type: string
          nullable: true
        timestamp:
          type: string
          nullable: true
      additionalProperties: false
    NDWC.Cap.CapItems:
      type: object
      properties:
        xml:
          type: string
          nullable: true
        alert:
          $ref: "#/components/schemas/NDWC.Cap.JsonCapAlert"
      additionalProperties: false
    Volo.Abp.Http.RemoteServiceErrorInfo:
      type: object
      properties:
        code:
          type: string
          nullable: true
        message:
          type: string
          nullable: true
        details:
          type: string
          nullable: true
        data:
          type: object
          additionalProperties:
            type: object
            additionalProperties: false
          nullable: true
        validationErrors:
          type: array
          items:
            $ref: "#/components/schemas/Volo.Abp.Http.RemoteServiceValidationErrorInfo"
          nullable: true
      additionalProperties: false
    NDWC.Cap.JsonCapAlert:
      type: object
      properties:
        identifier:
          type: string
          nullable: true
        sender:
          type: string
          nullable: true
        sent:
          type: string
          nullable: true
        status:
          type: string
          nullable: true
        msgType:
          type: string
          nullable: true
        scope:
          type: string
          nullable: true
        note:
          type: string
          nullable: true
        references:
          type: string
          nullable: true
        info:
          type: array
          items:
            $ref: "#/components/schemas/NDWC.Cap.JsonInfo"
          nullable: true
      additionalProperties: false
    Volo.Abp.Http.RemoteServiceValidationErrorInfo:
      type: object
      properties:
        message:
          type: string
          nullable: true
        members:
          type: array
          items:
            type: string
          nullable: true
      additionalProperties: false
    NDWC.Cap.JsonInfo:
      type: object
      properties:
        language:
          type: string
          nullable: true
        category:
          type: string
          nullable: true
        event:
          type: string
          nullable: true
        urgency:
          type: string
          nullable: true
        severity:
          type: string
          nullable: true
        certainty:
          type: string
          nullable: true
        effective:
          type: string
          nullable: true
        expires:
          type: string
          nullable: true
        senderName:
          type: string
          nullable: true
        headline:
          type: string
          nullable: true
        description:
          type: string
          nullable: true
        instruction:
          type: string
          nullable: true
        web:
          type: string
          nullable: true
        resources:
          type: array
          items:
            $ref: "#/components/schemas/NDWC.Cap.JsonResource"
          nullable: true
        area:
          type: array
          items:
            $ref: "#/components/schemas/NDWC.Cap.JsonArea"
          nullable: true
      additionalProperties: false
    NDWC.Cap.JsonResource:
      type: object
      properties:
        resourceDesc:
          type: string
          nullable: true
        mimeType:
          type: string
          nullable: true
        size:
          type: integer
          format: int32
          nullable: true
        uri:
          type: string
          nullable: true
        derefUri:
          type: string
          nullable: true
        digest:
          type: string
          nullable: true
      additionalProperties: false
    NDWC.Cap.JsonArea:
      type: object
      properties:
        areaDesc:
          type: string
          nullable: true
        polygon:
          type: array
          items:
            type: string
          nullable: true
        circle:
          type: string
          nullable: true
        geocode:
          type: array
          items:
            $ref: "#/components/schemas/NDWC.Cap.JsonGeoCode"
          nullable: true
        altitude:
          type: number
          format: double
          nullable: true
        ceiling:
          type: number
          format: double
          nullable: true
      additionalProperties: false
    NDWC.Cap.JsonGeoCode:
      type: object
      properties:
        valueName:
          type: string
          nullable: true
        value:
          type: string
          nullable: true
      additionalProperties: false
```
