ops
ops-contractual-entities
Get a headroom import
Changed onFetch a headroom import with its validation errors or preview
get/ops/contractual_entities/{entity}/headroom_imports/{id}
Request
- Base URLhttps://api.topi-staging.eu
- URLhttps://api.topi-staging.eu/ops/contractual_entities/{entity}/headroom_imports/{id}
- AuthOAuth 2Authorization code: /oauth2/authorizeToken URL: /oauth2/token scopes: ops-pricing-category:read
Path parameters
entitystring required
External contractual entity code
Example:peac_de_gmbh
idstring regexp required
Headroom import ID
Example:739b63c2-9e58-4964-b38d-4ebb424de242
Response
OK response.
Example response
{
"applied_at": "1970-01-01T00:00:01Z",
"applied_by": "abc123",
"contractual_entity": "abc123",
"filename": "abc123",
"id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"preview": [
{
"current_default_tenure": 1,
"id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"identifier": "abc123",
"new_default_tenure": 1,
"newly_covered": false,
"tenures": [
{
"becomes_disabled": false,
"current": {
"expected_residual_value_ratio": 1,
"headroom_ratio": 1,
"is_default": false,
"tenure": 1
},
"new": {
"expected_residual_value_ratio": 1,
"headroom_ratio": 1,
"is_default": false,
"tenure": 1
},
"tenure": 1
}
]
}
],
"status": "validated",
"uploaded_at": "1970-01-01T00:00:01Z",
"uploaded_by": "abc123",
"validation_errors": [
{
"message": "abc123",
"pricing_category_identifier": "abc123",
"row": 1
}
]
}Changes
- info
api operation id
pricing-category.get_headroom_importremoved and replaced withpricing-category#get_headroom_import
- info
- info
api operation id
pricing-category#get_headroom_importremoved and replaced withpricing-category.get_headroom_import - info
api tag
ops-contractual-entitiesadded
- info