Skip to main content
POST
Upload custom provider costs

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

integration_token
string
required

Body

csv
file
required

CSV file containing custom costs

auto_transform
boolean
default:false

Attempt to automatically transform the CSV file to match the FOCUS format.

Response

UserCostsUpload model

token
string
required

The token of the UserCostsUpload.

Example:

"usr_csts_upld_1234"

filename
string
required

The filename of the uploaded costs UserCostsUpload.

Example:

"usr_csts_upld_1234.parquet"

amount
string
required

The total amount of the costs in the UserCostsUpload.

Example:

"1234.56"

start_date
string
required

The start date of the costs in the UserCostsUpload.

Example:

"2021-01-01"

end_date
string
required

The end date of the costs in the UserCostsUpload.

Example:

"2021-01-31"

import_status
string
required

Import status of the UserCostsUpload.

Example:

"processing"

created_by_token
string
required

The token of the Creator of the UserCostsUpload.

Example:

"usr_1234"

created_at
string
required

When the UserCostsUpload was uploaded.

Example:

"2021-01-01T00:00:00Z"