Developer
News and Updates
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Cloud
Focus / Reference / REST API

Benefit items

Postman Collection
OpenAPI
POST

Bulk import benefit itemsExperimental

Creates or updates multiple benefit items in a single request. Each item is identified by its internal ID or external ID. If neither is provided a new benefit item is created. Returns validation errors for any items that failed processing.

funds-write-scope

Request

Request bodyapplication/json

items

array<BenefitItemRequest>

Required

Responses

All benefit items imported successfully.

POST/focus/v1/funds/benefit-item/bulk
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 curl --request POST \ --url '/focus/v1/funds/benefit-item/bulk' \ --header 'Authorization: Bearer <access_token>' \ --header 'Content-Type: application/json' \ --data '{ "items": [ { "focusAreaId": "<string>", "focusAreaExternalId": "<string>", "benefitItemId": "<string>", "benefitItemExternalId": "<string>", "benefitTypeKey": "<string>", "name": "<string>", "benefitPeriodValues": [ { "financialVersionType": "ACTUAL", "timePeriodToAmount": { "empty": true } } ] } ] }'
GET

Get a benefit itemExperimental

Returns benefit item details by benefit item ID.

funds-read-scope

Request

Path parameters

id

string

Required

Responses

Benefit item returned successfully.

application/json

BenefitItem

A benefit item.

GET/focus/v1/funds/benefit-item/{id}
1 2 3 4 curl --request GET \ --url '/focus/v1/funds/benefit-item/{id}' \ --header 'Authorization: Bearer <access_token>' \ --header 'Accept: application/json'
200Response
1 2 3 4 5 6 { "benefitItemId": "<string>", "externalBenefitItemId": "<string>", "focusAreaId": "<string>", "name": "<string>" }
DEL

Delete a benefit itemExperimental

Deletes the specified benefit item. This action is irreversible.

funds-write-scope

Request

Path parameters

id

string

Required

Responses

Benefit item deleted successfully.

DEL/focus/v1/funds/benefit-item/{id}
1 2 3 curl --request DELETE \ --url '/focus/v1/funds/benefit-item/{id}' \ --header 'Authorization: Bearer <access_token>'
PATCH

Update a benefit itemExperimental

Updates the details of the specified benefit item. The updateMask query parameter specifies which fields to update; supported fields are externalId. Fields not listed in updateMask are not modified. Fields listed in updateMask but omitted from the request body or set to null are cleared.

funds-write-scope

Request

Path parameters

id

string

Required

Query parameters

updateMask

string

Required

Request bodyapplication/json

externalId

string

Responses

Benefit item updated successfully.

application/json

BenefitItem

A benefit item.

PATCH/focus/v1/funds/benefit-item/{id}
1 2 3 4 5 6 7 8 curl --request PATCH \ --url '/focus/v1/funds/benefit-item/{id}?updateMask={updateMask}' \ --header 'Authorization: Bearer <access_token>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "externalId": "<string>" }'
200Response
1 2 3 4 5 6 { "benefitItemId": "<string>", "externalBenefitItemId": "<string>", "focusAreaId": "<string>", "name": "<string>" }
GET

Get benefit itemsExperimental

Returns a paginated list of benefit items with optional filtering.

funds-read-scope

Request

Query parameters

externalId

string

Responses

Benefit items returned successfully.

application/json

PaginatedResponse

Paginated REST response.

GET/focus/v1/funds/benefit-item
1 2 3 4 curl --request GET \ --url '/focus/v1/funds/benefit-item' \ --header 'Authorization: Bearer <access_token>' \ --header 'Accept: application/json'
200Response
1 2 3 4 5 6 7 8 9 { "values": [ {} ], "cursor": "<string>", "last": true, "totalCount": 21, "nextPageCursor": "<string>" }

Rate this page: