FinBaze for Platforms

Reference

Queries#

costCenter#

Requires: scope cost_centers:read · feature cost_centers.

costCenter(id: ID!): CostCenter!
ArgumentType
idID!The id of the record to find.

costCenters#

Requires: scope cost_centers:read · feature cost_centers.

costCenters(paging: CursorPaging!, filter: CostCenterFilter!, sorting: [CostCenterSort!]!): CostCenterConnection!
ArgumentType
pagingCursorPaging!Limit or page results.
filterCostCenterFilter!Specify to filter the records returned.
sorting[CostCenterSort!]!Specify to sort results.

spendRequestCostCenters#

Active cost centers a purchase request can be put on (number, name, owner). Open to requesters, who cannot list cost centers otherwise.

Requires: scope cost_centers:read · feature spend_requests.

spendRequestCostCenters(profileId: ID!): [SpendCostCenterOption!]!
ArgumentType
profileIdID!

Mutations#

createOneCostCenter#

Requires: scope cost_centers:write · feature cost_centers.

createOneCostCenter(profileId: ID!, input: CreateCostCenterInput!): CostCenter!
ArgumentType
profileIdID!
inputCreateCostCenterInput!

createManyCostCenters#

Requires: scope cost_centers:write · feature cost_centers.

createManyCostCenters(profileId: ID!, input: [CreateCostCenterInput!]!): [CostCenter!]!
ArgumentType
profileIdID!
input[CreateCostCenterInput!]!

updateOneCostCenter#

Requires: scope cost_centers:write · feature cost_centers.

updateOneCostCenter(input: UpdateOneCostCenterInput!): CostCenter!
ArgumentType
inputUpdateOneCostCenterInput!

updateManyCostCenters#

Requires: scope cost_centers:write · feature cost_centers.

updateManyCostCenters(input: UpdateManyCostCentersInput!): UpdateManyResponse!
ArgumentType
inputUpdateManyCostCentersInput!

deleteOneCostCenter#

Requires: scope cost_centers:write · feature cost_centers.

deleteOneCostCenter(input: DeleteOneCostCenterInput!): CostCenterDeleteResponse!
ArgumentType
inputDeleteOneCostCenterInput!

deleteManyCostCenters#

Requires: scope cost_centers:write · feature cost_centers.

deleteManyCostCenters(input: DeleteManyCostCentersInput!): DeleteManyResponse!
ArgumentType
inputDeleteManyCostCentersInput!