Veterans

Create a new veteran record

Changed on
post/veterans

Request

  • Base URL: https://sshf-api-330507742215.us-central1.run.app
  • URL: https://sshf-api-330507742215.us-central1.run.app/veterans
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/v2/auth)

Request body

_idstring

Document ID

_revstring

Document revision

type'Veteran' required

Document type, must be "Veteran"

birth_datestring
gender'M' | 'F'

Veteran gender

app_datestring
vet_type'WWII' | 'Korea' | 'Vietnam' | 'Afghanistan' | 'Iraq' | 'Other'

Type of veteran/war conflict served

weightstring

Weight in pounds (1-999) (Obsolete)

media_interview_ok'Yes' | 'No' | 'Unknown'
media_newspaper_ok'Yes' | 'No' | 'Unknown'

Response

Veteran record created successfully

_idstring

Document ID

_revstring

Document revision

type'Veteran' required

Document type, must be "Veteran"

birth_datestring
gender'M' | 'F'

Veteran gender

app_datestring
vet_type'WWII' | 'Korea' | 'Vietnam' | 'Afghanistan' | 'Iraq' | 'Other'

Type of veteran/war conflict served

weightstring

Weight in pounds (1-999) (Obsolete)

media_interview_ok'Yes' | 'No' | 'Unknown'
media_newspaper_ok'Yes' | 'No' | 'Unknown'

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property to the response with the status