Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 715 Bytes

latest_publication_period.md

File metadata and controls

27 lines (21 loc) · 715 Bytes

GET "/v1/latest_publication_period/"

This endpoint returns the latest publication period that has begun for the broker application.

Sample Request

/v1/latest_publication_period/

Request Params

N/A

Response (JSON)

{
    "period": 7,
    "year": 2019,
    "deadline": "2020-01-15 14:25:40.12345"
}

Response Attributes

  • period: (integer) the period of the latest publication period, or none if no period is found
  • year: (integer) the fiscal year of the latest publication period, or none if no period is found
  • deadline: (string) the publication deadline for the provided period (in the MM/DD/YYYY HH:mm:ss format).

Errors

Possible HTTP Status Codes:

  • 401: Login required