v1

latestOpenAPI 3.0.22026-07-13111437.5 KB
cost

Returns cost data for a FAR 51 Authorization

Queries CSP for actual cost data for a given FAR Part 51 Authorization and time period. Queries should return data for all months included in date ranges. For example, a start_date of "2022-01-25" and end_date of "2022-03-02" should return data for January, February and March. If the date range requested by the client includes periods for which no data exists, the server must return whatever matching cost data does exist rather than respond with an error code.

get/far51/{far51AuthorizationId}/costs

Path parameters

far51AuthorizationIdstring required

ID of the FAR Part 51 Authorization

Query parameters

start_datestring date required
Example:2023-12

Start date of the cost data request in YYYY-MM format (inclusive). Earliest allowed value is 2023-01.

end_datestring date required
Example:2026-12

End date of the cost data request in YYYY-MM format (inclusive).

Response

Cost operation successful

totalstring required

Total cost (ACTUAL or FORECAST) for all included months in USD

Example response

{
  "total": "12345.67",
  "results": [
    {
      "month": "2022-12"
    }
  ]
}