Humanitarian Action GraphQL API
Get access, build queries, understand the data, and use the API in your applications.
On this page
Get started
Sign in, subscribe to a product, and run your first query.
What the API provides
The Humanitarian Action GraphQL API provides read-only access to humanitarian plans, projects, emergencies, organizations, locations, sectors, requirements and reported results. Use it in websites, dashboards, data pipelines and other applications.
This developer portal provides documentation, subscriptions and an API test console. The Evaluation product gives immediate access with limited usage. For regular use above those limits, request a higher tier from the SPPB-Tools team.
1. Sign in or create an account
OCHA users
Open Sign in, select Entra ID, and use your @un.org account.
Other users
Select Sign up and register with your email address and password. Activate your account using the link in the email, then sign in.
2. Subscribe to Evaluation
- Once signed in, open the Products page.
- Select Evaluation.
- Enter a subscription name, such as
your-name-evaluation. - Select Subscribe. Your subscription is active immediately.
If no APIs or products are listed, sign in first. You need an active product subscription to call the API.
3. Run a query in the portal
- Open APIs and select the Humanitarian Action GraphQL API, version v1.
- Select Try it or Try this operation to open the test console.
- Select your active Evaluation subscription if prompted.
- Paste the query below into the query field. It needs no variables; leave Variables empty or enter
{}. - Send the request and review the JSON response.
query Currencies {
currencies(first: 10, orderBy: { Id: ASC }) {
items { Id Code }
hasNextPage
endCursor
}
}The Sample Queries section contains more examples. Copy the GraphQL query and its separate JSON variables into their corresponding fields.
4. Use the API from another tool
Open Profile to find your subscription keys. Send either active key in the Ocp-Apim-Subscription-Key header.
| Setting | Value |
|---|---|
| Method | POST |
| URL | https://api.humanitarianaction.info/graphql/v1 |
| Content-Type | application/json |
| Ocp-Apim-Subscription-Key | Your active subscription key |
| Body | JSON containing query and, when used, variables |
Your portal sign-in identifies your account. Your subscription key provides access when calling this endpoint from Postman or an application. See Use the API in applications for complete request examples.
Need more usage?
Contact the SPPB-Tools team to request a higher subscription tier. Include your organization, application or project, expected calls per minute and per day, and the data you need. Use the limits shown on your product page when planning requests.
Documentation and support
Read the sections in order: GraphQL basics, Filters and pagination, API model and relationships, and Schema reference. Use Requirements and results for numeric data and Sample Queries for copyable examples.
Documentation, the exported schema and reusable queries are also available in the GitHub repository. Contact the SPPB-Tools team if you need help with access or a query.
GraphQL basics
Build a query step by step: select fields, add a fixed filter, then use variables and relationships.
One endpoint, a query in the request body
Send queries to https://api.humanitarianaction.info/graphql/v1. The query names the data and fields to return. The response follows that selection inside a top-level data object.
| REST pattern | This GraphQL API |
|---|---|
| Separate resource URLs | One GraphQL URL for the documented queries |
| Server-defined resource response | Select the fields your application needs |
| Query-string filters | Use the schema’s filter input |
| Related records may need separate calls | Select a relationship within the parent object |
| GET/POST/PATCH/DELETE by operation | Send read-only GraphQL queries as HTTP POST |
The supplied schema has a Query type and no Mutation or Subscription root. An APIM product subscription means API access; it is not a GraphQL real-time subscription.
1. Choose a collection and fields
query Currencies {
currencies(first: 10, orderBy: { Id: ASC }) {
items { Id Code }
hasNextPage
endCursor
}
}currenciesis a root field underQuery.itemsis the array of currency records.IdandCodeare fields on each record.first: 10requests up to ten records.hasNextPagetells you whether more remain.
{
"data": {
"currencies": {
"items": [
{
"Id": 1,
"Code": "USD"
}
],
"hasNextPage": false,
"endCursor": null
}
}
}2. Filter using a fixed value
query Plan1202 {
plans(first: 1, filter: { Id: { eq: 1202 } }) {
items { Id Name PlanCode StartDate EndDate }
}
}Id: { eq: 1202 } means “return the plan whose ID equals 1202”. IDs are unique, so first: 1 is enough for this lookup. Replace 1202 with an ID returned by a plan list query.
An empty items: [] array can be a successful response: no record matched. It is not automatically an API error.
3. Put changing values in Variables
query PlanById($planId: Int!) {
plans(first: 1, filter: { Id: { eq: $planId } }) {
items { Id Name PlanCode StartDate EndDate }
}
}{
"planId": 1202
}$planIdis declared in the query and used in the filter.Int!requires an integer value. The exclamation mark means it cannot be omitted or null.- The JSON key is
"planId", without$. - Use a JSON number such as
1202, not a quoted string such as"1202".
Changing Variables does not require editing the query. Match each variable’s type to the schema; some IDs use Short or UnsignedByte, not Int.
4. Request related data
query PlanWithContext($planId: Int!) {
plans(first: 1, filter: { Id: { eq: $planId } }) {
items {
Id
Name
emergency(first: 10, orderBy: { Id: ASC }) {
items { Id Name EmergencyType EmergencyDate }
hasNextPage
endCursor
}
location(first: 10, filter: { AdminLevel: { eq: 0 } }, orderBy: { Id: ASC }) {
items { Id Name ISO3 }
hasNextPage
endCursor
}
}
}
}{
"planId": 1202
}The response has a plan in data.plans.items, its emergencies in emergency.items, and country locations in location.items. The relationship already selects records linked to that plan; its filter narrows the linked records further.
A collection relationship returns a connection with items. A single-object relationship does not use items. For example, Project.plan is one Plan object, while Plan.project is a paged collection.
query ProjectWithPlan($projectId: Int!) {
projects(first: 1, filter: { Id: { eq: $projectId } }) {
items {
Id
Name
ProjectCode
PlanId
plan { Id Name PlanCode }
}
}
}{
"projectId": 12345
}5. Rename response fields if useful
query PlanAliases {
plans(first: 1, filter: { Id: { eq: 1202 } }) {
items { planId: Id planName: Name }
}
}planId: Id returns the schema field Id under the response name planId. Filters still use the schema’s original field names.
Keep each query focused
Field names are case-sensitive: Id differs from id, and Organization.url is lowercase. Begin with a small page and a few fields. Add relationships only when needed, and inspect errors as well as data.
Use the Sample Queries section for complete examples.
Filters and pagination
Select matching records, order the results, and retrieve every page you need.
Direct filters
query CurrencyUSD {
currencies(first: 1, filter: { Code: { eq: "USD" } }) {
items { Id Code }
}
}This checks a field on the selected object. Several fields within the same filter apply together: each must match.
| Operator | Meaning | Example input |
|---|---|---|
| eq / neq | Equal / not equal | Id: { eq: 1202 } |
| in | Match one of a list of values | Id: { in: [1202, 1263] } |
| gt / gte | Greater than / greater than or equal | Id: { gte: 1200 } |
| lt / lte | Less than / less than or equal | Id: { lt: 1300 } |
| contains | Text contains a value | Name: { contains: "OCHA" } |
| startsWith / endsWith | Text begins / ends with a value | Name: { startsWith: "OCHA" } |
| isNull | Check whether the field is null | ParentId: { isNull: true } |
Available operators depend on the field’s filter input type. For example, contains applies to String fields, not Int fields. Text matching follows the underlying service settings; do not assume case-sensitive or case-insensitive matching.
AND, OR and lists
Use or: [...] when either condition may match. Use and: [...] for an explicit group of conditions that must all match.
query OrganizationsNameOrId {
organizations(
first: 20
filter: { or: [ { Name: { contains: "OCHA" } }, { Id: { eq: 123 } } ] }
orderBy: { Id: ASC }
) {
items { Id Name Abbreviation }
hasNextPage
endCursor
}
}in is simpler when comparing several values against the same field:
query PlansByIds {
plans(first: 10, filter: { Id: { in: [1202, 1263] } }, orderBy: { Id: ASC }) {
items { Id Name PlanCode }
hasNextPage
endCursor
}
}For missing values, use isNull rather than treating null as an ID or an empty string.
query LocationsWithoutParent {
locations(first: 20, filter: { ParentId: { isNull: true } }, orderBy: { Id: ASC }) {
items { Id Name AdminLevel ParentId }
hasNextPage
endCursor
}
}Relationship filters
query PlansByYear($year: Int!, $first: Int!, $after: String) {
plans(
first: $first
after: $after
filter: { period: { CalendarYear: { eq: $year } } }
orderBy: { Id: ASC }
) {
items {
Id
Name
PlanCode
period(first: 10, filter: { CalendarYear: { eq: $year } }, orderBy: { Id: ASC }) {
items { Id CalendarYear PeriodType }
hasNextPage
endCursor
}
}
hasNextPage
endCursor
}
}{
"year": 2026,
"first": 20,
"after": null
}The outer period.CalendarYear filter selects plans that have a related period for the year. The inner filter limits the period rows returned under each selected plan. Selecting a nested field by itself does not filter the parent collection.
A relationship filter does not require that relationship to be included in the response. For example, you can filter plans through period and return only Id and Name.
Ordering and cursor pagination
query PlansPage($first: Int!, $after: String) {
plans(first: $first, after: $after, orderBy: { Id: ASC }) {
items { Id Name PlanCode PlanType StartDate EndDate }
hasNextPage
endCursor
}
}{
"first": 20,
"after": null
}| Field or argument | Purpose |
|---|---|
| first | Maximum requested records for this page. Start with 20; increase only as needed. |
| after | Cursor returned by the previous request; null for the first page. |
| orderBy | Sort selected records. These examples use the unique Id field for predictable ordering. |
| items | The current page of records. |
| hasNextPage | Whether another page remains. |
| endCursor | Opaque token to send as after for the next page. |
- Send the first request with
after: null. - Read and process
data.plans.items. - If
hasNextPageis true, copy that connection’sendCursorintoafter. - Repeat with the same filter and ordering until
hasNextPageis false.
{
"first": 20,
"after": "PASTE_THE_RETURNED_END_CURSOR_HERE"
}Do not decode, build or reuse a cursor from a different query. If the filter or sort changes, restart with after: null. Data can change while you page; the responses are not a promised frozen snapshot.
Nested collections page separately
A plan’s project, location and attachment collections can each have more rows than their first limit. The outer plan cursor does not continue those collections.
When a nested collection has more data, it is usually simpler to start from its root collection and filter by the parent ID:
query ProjectsByPlan($planId: Int!, $first: Int!, $after: String) {
projects(first: $first, after: $after, filter: { PlanId: { eq: $planId } }, orderBy: { Id: ASC }) {
items { Id Name ProjectCode PlanId IsPublished CurrentRequestedFunds }
hasNextPage
endCursor
}
}{
"planId": 1202,
"first": 20,
"after": null
}This retrieves projects for one plan using one project cursor. It avoids having a different nested cursor for each plan in an outer page.
Avoid silent truncation
Select hasNextPage and endCursor for collections that may need more than one page. A query without first still has a service page size; it does not mean “return everything”. Each additional page is another API request and uses your product allowance.
API model and relationships
Choose the right starting object and follow the relationships defined in the supplied GraphQL schema.
Planning context
These are connected objects, not levels you must always retrieve together. A plan provides context; a coordination entity supplies the plan-level name; a sector supplies the global reference name.
Metric definitions and values
Attachment.Name describes the metric, while AttachmentFact.ValueNum contains a planned value. Reported results use MeasurementFact.ValueNum. These rows can have different meanings, dimensions and reporting periods; they are not interchangeable.
Main objects
Plan · plans
The central humanitarian planning context. Select its periods, geography, coordination entities, projects or attachments when needed.
Period · periods
A calendar or planning period. CalendarYear is here; a plan can be linked to more than one period.
Emergency · emergencies
Emergency or crisis context, with links to plans and affected locations.
Location · locations
Country or subnational geography. AdminLevel, ParentId, CountryId and Path help describe its hierarchy.
CoordinationEntity · coordinationEntities
A plan-level coordination structure. The supplied examples identify field clusters with EntityTypeId 10.
Sector · sectors
A global sector reference. A locally named coordination entity can link to one or several global sectors.
LogframeEntity · logframeEntities
An element of a plan’s logical framework. Resolve EntityTypeId to distinguish objectives, activities and other levels.
Project · projects
A humanitarian project, with its plan and links to organizations, sectors, locations and coordination entities.
Organization · organizations
An organization reference with names, abbreviation, classifications and links to plans or projects.
Attachment · attachments
A metric definition and its owner. AttachmentType distinguishes Cost, Caseload and Indicator in the supplied documentation; facts hold its values.
AttachmentFact · attachmentFacts
A planned numeric value, revision and optional dimensions for an attachment.
Measurement · measurements
A reported observation for an attachment, with a link to its plan reporting period.
MeasurementFact · measurementFacts
A reported numeric value and optional dimensions for a measurement.
PlanReportingPeriod · planReportingPeriods
A reporting period attached to a plan; measurements link here for dates and period number.
MetricType · metricTypes
Reference data that identifies the meaning of a fact’s MetricTypeId.
RevisionState · revisionStates
Reference data that explains RevisionStateId and its display name.
Currency · currencies
Currency identifier and code reference. The schema does not define a direct Currency relationship on AttachmentFact.
Unit · units
A metric unit linked from Attachment or Measurement. Check this context before combining numeric values.
Common relationship paths
| Parent type | Field to select | Returns | Use |
|---|---|---|---|
Plan | period | PeriodConnection | Planning periods |
Plan | emergency | EmergencyConnection | Emergency context |
Plan | location | LocationConnection | Linked countries or other locations |
Plan | coordinationEntity | CoordinationEntityConnection | Plan-level structures |
Plan | project | ProjectConnection | Projects within the plan |
Plan | attachment | AttachmentConnection | Linked metric definitions; filter owner and type |
CoordinationEntity | sector | SectorConnection | Global sector mappings |
CoordinationEntity | attachment | AttachmentConnection | Metrics owned by coordination entities |
Project | plan | Plan | The project’s plan |
Project | organization | OrganizationConnection | Linked organizations |
Project | sector | SectorConnection | Linked global sectors |
LogframeEntity | attachment | AttachmentConnection | Metrics attached to framework elements |
Attachment | attachmentFact | AttachmentFactConnection | Planned values and revisions |
Attachment | measurement | MeasurementConnection | Reported observations |
AttachmentFact | attachment | Attachment | Definition and owner of the fact |
AttachmentFact | metricType | MetricType | Meaning of the metric |
Measurement | measurementFact | MeasurementFactConnection | Reported values |
Measurement | planReportingPeriod | PlanReportingPeriod | Reporting dates and period |
MeasurementFact | measurement | Measurement | Observation that owns the value |
A Connection result is a paged collection with items, hasNextPage and endCursor. A result such as Plan or MetricType is one object and is selected directly without items. Nullable relationships may return null.
Example: projects within a plan
query ProjectsByPlan($planId: Int!, $first: Int!, $after: String) {
projects(first: $first, after: $after, filter: { PlanId: { eq: $planId } }, orderBy: { Id: ASC }) {
items { Id Name ProjectCode PlanId IsPublished CurrentRequestedFunds }
hasNextPage
endCursor
}
}{
"planId": 1202,
"first": 20,
"after": null
}Use Project.PlanId for this direct filter. To retrieve the owning plan’s fields, select Project.plan { Id Name }. For the reverse direction, select Plan.project { items { ... } }.
Example: local clusters and global sectors
query FieldClustersByPlan($planId: Int!, $first: Int!, $after: String) {
coordinationEntities(
first: $first
after: $after
filter: { PlanId: { eq: $planId }, EntityTypeId: { eq: 10 } }
orderBy: { Id: ASC }
) {
items {
Id
Name
PlanId
EntityTypeId
sector(first: 10, orderBy: { Id: ASC }) {
items { Id Name SectorCode }
hasNextPage
endCursor
}
}
hasNextPage
endCursor
}
}{
"planId": 1202,
"first": 20,
"after": null
}The outer records are local coordination entities. Each sector.items array contains their global sector mappings. Use Sectors by plan on the Sample Queries page if you only need the global sector list.
Select the right starting point
- Start at
plansfor a plan and its context. - Start at
projectsfor a project list and its PlanId filter. - Start at
attachmentFactsfor planned values, requirements or disaggregations. - Start at
measurementFactsfor reported values. - Start at
locations,organizationsor a reference collection when those records are the result you need.
The schema also exposes explicit link collections, such as planLocationRels and projectSectorRels. Use them if you need the link IDs themselves. Most consumers can follow the object relationships instead.
Schema reference
Read the exported schema and look up the collections, fields, input types and relationships available to consumers.
What api_schema.graphql tells you
The file api-schema/api_schema.graphql is the GraphQL API contract. It describes query fields, object fields, relationships, filter inputs, ordering inputs and data types. It contains no data rows or subscription keys.
Find it in the repository’s api-schema folder or the GitHub repository. Open it in a text editor and search for type Query, type Plan or a filter input such as PlanFilterInput. The reference below is generated from the supplied schema export. Download the schema from this repository.
This file is an exported snapshot. It does not update automatically when the API changes. If a field is rejected by the live endpoint, compare against the schema currently shown by the API console or request an updated export from the API team.
How to read the schema
type Currency {
Id: Short!
Code: String!
# Additional fields are omitted from this excerpt.
}| Notation | Meaning |
|---|---|
Id: Int! | A non-null integer output field. |
Name: String | A string that may be null. |
[Plan!]! | A non-null list of non-null Plan objects. The list can still be empty. |
Project.plan: Plan | One related Plan object, which may be null. |
Plan.project: ProjectConnection | A nullable paged collection of Project records. |
$id: Short! | A required variable using the Short scalar. Use the type required by the filter, even if an Int seems similar. |
The scalar type attached to an ID matters. Plan.Id is Int; Currency.Id, Sector.Id and Emergency.Id are Short; RevisionState.Id is UnsignedByte.
Common arguments and result fields
| Name | Type or role | Use |
|---|---|---|
first | Int argument | Requested page size |
after | String argument | Cursor from the same collection’s previous page |
filter | Object-specific input | For example, PlanFilterInput |
orderBy | Object-specific input | For example, PlanOrderByInput; enum values are ASC and DESC |
items | Array of object records | The current result page |
hasNextPage | Boolean! | Whether another page remains |
endCursor | String | Opaque continuation cursor |
Connections also expose a groupBy field in this export. The examples here use raw rows so you can inspect metric, revision and dimension context before aggregating. If you use Fabric aggregation, request grouped results separately from items and check the current Fabric aggregation restrictions.
Custom scalar types
| Type | Meaning in this schema |
|---|---|
UnsignedByte | Unsigned 8-bit integer |
Short | Signed 16-bit integer |
Long | Signed 64-bit integer |
Single | 32-bit floating-point number |
Decimal | High-precision decimal; choose client handling that preserves the precision you need |
DateTime | Date and time with time-zone offset information |
Base64String | Base64-encoded bytes |
LocalTime | Time of day without date or time-zone information |
JSON has no separate Decimal or Short type. Variable declarations still use the GraphQL types above. For high-precision amounts, do not assume binary floating-point arithmetic will preserve every decimal digit.
Collections and object fields (75)
Browse or search all 75 collections
No matching schema entry.
Plan plans
The central humanitarian planning context. Select its periods, geography, coordination entities, projects or attachments when needed.
Root field: plans · Object type: Plan · Result: PlanConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | Plan identifier; use Int variables for ID filters. |
Name | String! | Value | Plan name. |
ShortName | String | Value | |
Description | String | Value | |
PlanSubTitle | String | Value | |
StartDate | DateTime | Value | |
EndDate | DateTime | Value | |
PlanType | String | Value | |
PlanLanguage | String | Value | |
PlanLanguageCode | String | Value | |
PlanClusterType | String | Value | |
PlanCosting | String | Value | |
IsPartOfGHO | Boolean! | Value | |
IsForHPCProjects | Boolean! | Value | |
RevisionState | String | Value | |
PlanCode | String | Value | Code supplied for the plan. |
CustomLocationCode | String | Value | |
FocusedLocationName | String | Value | |
FocusedLocationId | Int | Value | |
CurrentReportingPeriodId | Int | Value | |
LastPublishedReportingPeriodId | Int | Value | |
DocumentPublishDate | DateTime | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
IsLegacyCurrentVersion | Boolean! | Value | Legacy version flag; not a numeric requirement revision. |
fileAsset | FileAssetConnection | Paged relationship | Select items and page information. |
textContent | TextContentConnection | Paged relationship | Select items and page information. |
emergency | EmergencyConnection | Paged relationship | Select items and page information. |
period | PeriodConnection | Paged relationship | Select items and page information. |
category | CategoryConnection | Paged relationship | Select items and page information. |
organization | OrganizationConnection | Paged relationship | Select items and page information. |
location | LocationConnection | Paged relationship | Select items and page information. |
entityPrototype | EntityPrototypeConnection | Paged relationship | Select items and page information. |
attachmentPrototype | AttachmentPrototypeConnection | Paged relationship | Select items and page information. |
coordinationEntity | CoordinationEntityConnection | Paged relationship | Select items and page information. |
logframeEntity | LogframeEntityConnection | Paged relationship | Select items and page information. |
measurement | MeasurementConnection | Paged relationship | Select items and page information. |
attachment | AttachmentConnection | Paged relationship | Select items and page information. |
planReportingPeriod | PlanReportingPeriodConnection | Paged relationship | Select items and page information. |
project | ProjectConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: PlanFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
Name | StringFilterInput |
ShortName | StringFilterInput |
Description | StringFilterInput |
PlanSubTitle | StringFilterInput |
StartDate | DateTimeFilterInput |
EndDate | DateTimeFilterInput |
PlanType | StringFilterInput |
PlanLanguage | StringFilterInput |
PlanLanguageCode | StringFilterInput |
PlanClusterType | StringFilterInput |
PlanCosting | StringFilterInput |
IsPartOfGHO | BooleanFilterInput |
IsForHPCProjects | BooleanFilterInput |
RevisionState | StringFilterInput |
PlanCode | StringFilterInput |
CustomLocationCode | StringFilterInput |
FocusedLocationName | StringFilterInput |
FocusedLocationId | IntFilterInput |
CurrentReportingPeriodId | IntFilterInput |
LastPublishedReportingPeriodId | IntFilterInput |
DocumentPublishDate | DateTimeFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
IsLegacyCurrentVersion | BooleanFilterInput |
fileAsset | FileAssetFilterInput |
textContent | TextContentFilterInput |
emergency | EmergencyFilterInput |
period | PeriodFilterInput |
category | CategoryFilterInput |
organization | OrganizationFilterInput |
location | LocationFilterInput |
entityPrototype | EntityPrototypeFilterInput |
attachmentPrototype | AttachmentPrototypeFilterInput |
coordinationEntity | CoordinationEntityFilterInput |
logframeEntity | LogframeEntityFilterInput |
measurement | MeasurementFilterInput |
attachment | AttachmentFilterInput |
planReportingPeriod | PlanReportingPeriodFilterInput |
project | ProjectFilterInput |
and | [PlanFilterInput] |
or | [PlanFilterInput] |
orderBy: PlanOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
ShortName | OrderBy |
Description | OrderBy |
PlanSubTitle | OrderBy |
StartDate | OrderBy |
EndDate | OrderBy |
PlanType | OrderBy |
PlanLanguage | OrderBy |
PlanLanguageCode | OrderBy |
PlanClusterType | OrderBy |
PlanCosting | OrderBy |
IsPartOfGHO | OrderBy |
IsForHPCProjects | OrderBy |
RevisionState | OrderBy |
PlanCode | OrderBy |
CustomLocationCode | OrderBy |
FocusedLocationName | OrderBy |
FocusedLocationId | OrderBy |
CurrentReportingPeriodId | OrderBy |
LastPublishedReportingPeriodId | OrderBy |
DocumentPublishDate | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
IsLegacyCurrentVersion | OrderBy |
Period periods
A calendar or planning period. CalendarYear is here; a plan can be linked to more than one period.
Root field: periods · Object type: Period · Result: PeriodConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
Name | String! | Value | |
Description | String | Value | |
PeriodType | String! | Value | |
CalendarYear | Int | Value | Calendar year used in the plans-by-year examples. |
StartDate | DateTime! | Value | |
EndDate | DateTime! | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
plan | PlanConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: PeriodFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
Name | StringFilterInput |
Description | StringFilterInput |
PeriodType | StringFilterInput |
CalendarYear | IntFilterInput |
StartDate | DateTimeFilterInput |
EndDate | DateTimeFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
plan | PlanFilterInput |
and | [PeriodFilterInput] |
or | [PeriodFilterInput] |
orderBy: PeriodOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
Description | OrderBy |
PeriodType | OrderBy |
CalendarYear | OrderBy |
StartDate | OrderBy |
EndDate | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
Emergency emergencies
Emergency or crisis context, with links to plans and affected locations.
Root field: emergencies · Object type: Emergency · Result: EmergencyConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Short! | Value | Short identifier, not Int. |
Name | String! | Value | |
EmergencyType | String | Value | |
Description | String | Value | |
EmergencyDate | DateTime! | Value | |
GlideNumber | String | Value | |
IsLevel3 | Boolean! | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
location | LocationConnection | Paged relationship | Select items and page information. |
plan | PlanConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: EmergencyFilterInput
| Input field | Type |
|---|---|
Id | ShortFilterInput |
Name | StringFilterInput |
EmergencyType | StringFilterInput |
Description | StringFilterInput |
EmergencyDate | DateTimeFilterInput |
GlideNumber | StringFilterInput |
IsLevel3 | BooleanFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
location | LocationFilterInput |
plan | PlanFilterInput |
and | [EmergencyFilterInput] |
or | [EmergencyFilterInput] |
orderBy: EmergencyOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
EmergencyType | OrderBy |
Description | OrderBy |
EmergencyDate | OrderBy |
GlideNumber | OrderBy |
IsLevel3 | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
Location locations
Country or subnational geography. AdminLevel, ParentId, CountryId and Path help describe its hierarchy.
Root field: locations · Object type: Location · Result: LocationConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
Name | String! | Value | |
AdminLevel | Int | Value | Country level is 0 in the supplied documentation; higher levels describe subnational areas. |
ISO3 | String | Value | Country code field where supplied. |
Pcode | String | Value | |
Description | String | Value | |
Latitude | Decimal | Value | |
Longitude | Decimal | Value | |
ParentId | Int | Value | Parent location identifier; nullable. |
RecordStatus | String! | Value | Status such as Active or Inactive in the supplied documentation. |
ActiveUntil | DateTime | Value | |
CountryId | Int | Value | |
CountryISO3 | String | Value | Country context for the location. |
Path | String | Value | Hierarchy path stored on the location; a String, not a relationship field. |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
measurementFact | MeasurementFactConnection | Paged relationship | Select items and page information. |
attachmentFact | AttachmentFactConnection | Paged relationship | Select items and page information. |
emergency | EmergencyConnection | Paged relationship | Select items and page information. |
organization | OrganizationConnection | Paged relationship | Select items and page information. |
project | ProjectConnection | Paged relationship | Select items and page information. |
plan | PlanConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: LocationFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
Name | StringFilterInput |
AdminLevel | IntFilterInput |
ISO3 | StringFilterInput |
Pcode | StringFilterInput |
Description | StringFilterInput |
Latitude | DecimalFilterInput |
Longitude | DecimalFilterInput |
ParentId | IntFilterInput |
RecordStatus | StringFilterInput |
ActiveUntil | DateTimeFilterInput |
CountryId | IntFilterInput |
CountryISO3 | StringFilterInput |
Path | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
measurementFact | MeasurementFactFilterInput |
attachmentFact | AttachmentFactFilterInput |
emergency | EmergencyFilterInput |
organization | OrganizationFilterInput |
project | ProjectFilterInput |
plan | PlanFilterInput |
and | [LocationFilterInput] |
or | [LocationFilterInput] |
orderBy: LocationOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
AdminLevel | OrderBy |
ISO3 | OrderBy |
Pcode | OrderBy |
Description | OrderBy |
Latitude | OrderBy |
Longitude | OrderBy |
ParentId | OrderBy |
RecordStatus | OrderBy |
ActiveUntil | OrderBy |
CountryId | OrderBy |
CountryISO3 | OrderBy |
Path | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
CoordinationEntity coordinationEntities
A plan-level coordination structure. The supplied examples identify field clusters with EntityTypeId 10.
Root field: coordinationEntities · Object type: CoordinationEntity · Result: CoordinationEntityConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
EntityTypeId | Short! | Value | Resolve via entityType; the supplied field-cluster examples use 10. |
PlanId | Int | Value | Plan context for the coordination entity. |
Name | String! | Value | |
Description | String | Value | |
CustomReference | String | Value | |
ComposedReference | String | Value | |
IsOverriding | Boolean! | Value | |
HPCTags | String | Value | |
IconId | Short | Value | |
HpcEntityPrototypeId | Int | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
projectBudget | ProjectBudgetConnection | Paged relationship | Select items and page information. |
entityType | EntityType | Single object relationship | Select this object’s fields directly; do not add items. |
icon | Icon | Single object relationship | Select this object’s fields directly; do not add items. |
fileAsset | FileAssetConnection | Paged relationship | Select items and page information. |
textContent | TextContentConnection | Paged relationship | Select items and page information. |
contact | ContactConnection | Paged relationship | Select items and page information. |
sector | SectorConnection | Paged relationship | Select items and page information. |
logframeEntity | LogframeEntityConnection | Paged relationship | Select items and page information. |
attachment | AttachmentConnection | Paged relationship | Select items and page information. |
project | ProjectConnection | Paged relationship | Select items and page information. |
plan | Plan | Single object relationship | Select this object’s fields directly; do not add items. |
Filter and ordering inputs
filter: CoordinationEntityFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
EntityTypeId | ShortFilterInput |
PlanId | IntFilterInput |
Name | StringFilterInput |
Description | StringFilterInput |
CustomReference | StringFilterInput |
ComposedReference | StringFilterInput |
IsOverriding | BooleanFilterInput |
HPCTags | StringFilterInput |
IconId | ShortFilterInput |
HpcEntityPrototypeId | IntFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
projectBudget | ProjectBudgetFilterInput |
entityType | EntityTypeFilterInput |
icon | IconFilterInput |
fileAsset | FileAssetFilterInput |
textContent | TextContentFilterInput |
contact | ContactFilterInput |
sector | SectorFilterInput |
logframeEntity | LogframeEntityFilterInput |
attachment | AttachmentFilterInput |
project | ProjectFilterInput |
plan | PlanFilterInput |
and | [CoordinationEntityFilterInput] |
or | [CoordinationEntityFilterInput] |
orderBy: CoordinationEntityOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
EntityTypeId | OrderBy |
PlanId | OrderBy |
Name | OrderBy |
Description | OrderBy |
CustomReference | OrderBy |
ComposedReference | OrderBy |
IsOverriding | OrderBy |
HPCTags | OrderBy |
IconId | OrderBy |
HpcEntityPrototypeId | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
Sector sectors
A global sector reference. A locally named coordination entity can link to one or several global sectors.
Root field: sectors · Object type: Sector · Result: SectorConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Short! | Value | Short identifier, not Int. |
Name | String! | Value | |
SectorType | String | Value | |
SectorCode | String | Value | Global sector code. |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
projectBudget | ProjectBudgetConnection | Paged relationship | Select items and page information. |
sectorParentChildRel | SectorParentChildRelConnection | Paged relationship | Select items and page information. |
coordinationEntity | CoordinationEntityConnection | Paged relationship | Select items and page information. |
project | ProjectConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: SectorFilterInput
| Input field | Type |
|---|---|
Id | ShortFilterInput |
Name | StringFilterInput |
SectorType | StringFilterInput |
SectorCode | StringFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
projectBudget | ProjectBudgetFilterInput |
sectorParentChildRel | SectorParentChildRelFilterInput |
coordinationEntity | CoordinationEntityFilterInput |
project | ProjectFilterInput |
and | [SectorFilterInput] |
or | [SectorFilterInput] |
orderBy: SectorOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
SectorType | OrderBy |
SectorCode | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
LogframeEntity logframeEntities
An element of a plan’s logical framework. Resolve EntityTypeId to distinguish objectives, activities and other levels.
Root field: logframeEntities · Object type: LogframeEntity · Result: LogframeEntityConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
EntityTypeId | Short! | Value | |
PlanId | Int! | Value | |
Name | String! | Value | |
Description | String | Value | |
CoordinationEntityId | Int | Value | |
CustomReference | String | Value | |
ComposedReference | String | Value | |
SortOrder | Int | Value | |
HpcEntityPrototypeId | Int | Value | |
NamePrefix | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
logframeEntitySupportRel | LogframeEntitySupportRelConnection | Paged relationship | Select items and page information. |
entityType | EntityType | Single object relationship | Select this object’s fields directly; do not add items. |
coordinationEntity | CoordinationEntityConnection | Paged relationship | Select items and page information. |
attachment | AttachmentConnection | Paged relationship | Select items and page information. |
project | ProjectConnection | Paged relationship | Select items and page information. |
plan | Plan | Single object relationship | Select this object’s fields directly; do not add items. |
Filter and ordering inputs
filter: LogframeEntityFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
EntityTypeId | ShortFilterInput |
PlanId | IntFilterInput |
Name | StringFilterInput |
Description | StringFilterInput |
CoordinationEntityId | IntFilterInput |
CustomReference | StringFilterInput |
ComposedReference | StringFilterInput |
SortOrder | IntFilterInput |
HpcEntityPrototypeId | IntFilterInput |
NamePrefix | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
logframeEntitySupportRel | LogframeEntitySupportRelFilterInput |
entityType | EntityTypeFilterInput |
coordinationEntity | CoordinationEntityFilterInput |
attachment | AttachmentFilterInput |
project | ProjectFilterInput |
plan | PlanFilterInput |
and | [LogframeEntityFilterInput] |
or | [LogframeEntityFilterInput] |
orderBy: LogframeEntityOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
EntityTypeId | OrderBy |
PlanId | OrderBy |
Name | OrderBy |
Description | OrderBy |
CoordinationEntityId | OrderBy |
CustomReference | OrderBy |
ComposedReference | OrderBy |
SortOrder | OrderBy |
HpcEntityPrototypeId | OrderBy |
NamePrefix | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
Project projects
A humanitarian project, with its plan and links to organizations, sectors, locations and coordination entities.
Root field: projects · Object type: Project · Result: ProjectConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
Name | String! | Value | |
ProjectCode | String | Value | |
Description | String | Value | |
StartDate | DateTime | Value | |
EndDate | DateTime | Value | |
IsPublished | Boolean! | Value | |
Objective | String | Value | |
ImplementingPartners | String | Value | |
ImplementationStatus | String | Value | |
CurrentRequestedFunds | Decimal | Value | Requested funds carried on this project record; not a plan requirement total. |
TotalProjectTarget | Decimal | Value | |
PlanId | Int | Value | Direct plan filter for projects. |
PgSqlPdf | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
projectBudget | ProjectBudgetConnection | Paged relationship | Select items and page information. |
comment | CommentConnection | Paged relationship | Select items and page information. |
userAccount | UserAccountConnection | Paged relationship | Select items and page information. |
coordinationEntity | CoordinationEntityConnection | Paged relationship | Select items and page information. |
logframeEntity | LogframeEntityConnection | Paged relationship | Select items and page information. |
contact | ContactConnection | Paged relationship | Select items and page information. |
sector | SectorConnection | Paged relationship | Select items and page information. |
organization | OrganizationConnection | Paged relationship | Select items and page information. |
location | LocationConnection | Paged relationship | Select items and page information. |
plan | Plan | Single object relationship | Select this object’s fields directly; do not add items. |
Filter and ordering inputs
filter: ProjectFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
Name | StringFilterInput |
ProjectCode | StringFilterInput |
Description | StringFilterInput |
StartDate | DateTimeFilterInput |
EndDate | DateTimeFilterInput |
IsPublished | BooleanFilterInput |
Objective | StringFilterInput |
ImplementingPartners | StringFilterInput |
ImplementationStatus | StringFilterInput |
CurrentRequestedFunds | DecimalFilterInput |
TotalProjectTarget | DecimalFilterInput |
PlanId | IntFilterInput |
PgSqlPdf | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
projectBudget | ProjectBudgetFilterInput |
comment | CommentFilterInput |
userAccount | UserAccountFilterInput |
coordinationEntity | CoordinationEntityFilterInput |
logframeEntity | LogframeEntityFilterInput |
contact | ContactFilterInput |
sector | SectorFilterInput |
organization | OrganizationFilterInput |
location | LocationFilterInput |
plan | PlanFilterInput |
and | [ProjectFilterInput] |
or | [ProjectFilterInput] |
orderBy: ProjectOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
ProjectCode | OrderBy |
Description | OrderBy |
StartDate | OrderBy |
EndDate | OrderBy |
IsPublished | OrderBy |
Objective | OrderBy |
ImplementingPartners | OrderBy |
ImplementationStatus | OrderBy |
CurrentRequestedFunds | OrderBy |
TotalProjectTarget | OrderBy |
PlanId | OrderBy |
PgSqlPdf | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
Organization organizations
An organization reference with names, abbreviation, classifications and links to plans or projects.
Root field: organizations · Object type: Organization · Result: OrganizationConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
Name | String! | Value | |
Abbreviation | String | Value | |
url | String | Value | Organization URL field; lowercase spelling is significant. |
NativeName | String | Value | |
Comments | String | Value | |
Notes | String | Value | |
CollectiveInd | Boolean! | Value | |
IsVerified | Boolean! | Value | |
NewOrganizationId | Int | Value | |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
projectBudget | ProjectBudgetConnection | Paged relationship | Select items and page information. |
organizationParentChildRel | OrganizationParentChildRelConnection | Paged relationship | Select items and page information. |
location | LocationConnection | Paged relationship | Select items and page information. |
category | CategoryConnection | Paged relationship | Select items and page information. |
project | ProjectConnection | Paged relationship | Select items and page information. |
plan | PlanConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: OrganizationFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
Name | StringFilterInput |
Abbreviation | StringFilterInput |
url | StringFilterInput |
NativeName | StringFilterInput |
Comments | StringFilterInput |
Notes | StringFilterInput |
CollectiveInd | BooleanFilterInput |
IsVerified | BooleanFilterInput |
NewOrganizationId | IntFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
projectBudget | ProjectBudgetFilterInput |
organizationParentChildRel | OrganizationParentChildRelFilterInput |
location | LocationFilterInput |
category | CategoryFilterInput |
project | ProjectFilterInput |
plan | PlanFilterInput |
and | [OrganizationFilterInput] |
or | [OrganizationFilterInput] |
orderBy: OrganizationOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
Abbreviation | OrderBy |
url | OrderBy |
NativeName | OrderBy |
Comments | OrderBy |
Notes | OrderBy |
CollectiveInd | OrderBy |
IsVerified | OrderBy |
NewOrganizationId | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
Attachment attachments
A metric definition and its owner. AttachmentType distinguishes Cost, Caseload and Indicator in the supplied documentation; facts hold its values.
Root field: attachments · Object type: Attachment · Result: AttachmentConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
Name | String | Value | |
PlanId | Int | Value | Plan context; does not by itself prove that the Plan owns this attachment. |
EntityId | Int | Value | Owner identifier within EntityMainType. |
EntityTypeId | Short | Value | |
EntityMainType | String | Value | Owner class; supplied examples use Plan or CoordinationEntity. |
AttachmentType | String! | Value | Metric definition type; supplied examples use Cost, Caseload or Indicator. |
CustomReference | String | Value | |
HasDisaggregatedData | Boolean! | Value | |
UnitId | Short | Value | Resolve the metric unit through unit. |
CalculationMethod | String | Value | |
Description | String | Value | |
AttachmentPrototypeId | Int | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
attachmentPrototype | AttachmentPrototype | Single object relationship | Select this object’s fields directly; do not add items. |
unit | Unit | Single object relationship | Select this object’s fields directly; do not add items. |
logframeEntity | LogframeEntity | Single object relationship | Select this object’s fields directly; do not add items. |
coordinationEntity | CoordinationEntity | Single object relationship | Select this object’s fields directly; do not add items. |
entityType | EntityType | Single object relationship | Select this object’s fields directly; do not add items. |
measurementFact | MeasurementFactConnection | Paged relationship | Select items and page information. |
attachmentFact | AttachmentFactConnection | Paged relationship | Select items and page information. |
measurement | MeasurementConnection | Paged relationship | Select items and page information. |
plan | Plan | Single object relationship | Select this object’s fields directly; do not add items. |
Filter and ordering inputs
filter: AttachmentFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
Name | StringFilterInput |
PlanId | IntFilterInput |
EntityId | IntFilterInput |
EntityTypeId | ShortFilterInput |
EntityMainType | StringFilterInput |
AttachmentType | StringFilterInput |
CustomReference | StringFilterInput |
HasDisaggregatedData | BooleanFilterInput |
UnitId | ShortFilterInput |
CalculationMethod | StringFilterInput |
Description | StringFilterInput |
AttachmentPrototypeId | IntFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
attachmentPrototype | AttachmentPrototypeFilterInput |
unit | UnitFilterInput |
logframeEntity | LogframeEntityFilterInput |
coordinationEntity | CoordinationEntityFilterInput |
entityType | EntityTypeFilterInput |
measurementFact | MeasurementFactFilterInput |
attachmentFact | AttachmentFactFilterInput |
measurement | MeasurementFilterInput |
plan | PlanFilterInput |
and | [AttachmentFilterInput] |
or | [AttachmentFilterInput] |
orderBy: AttachmentOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
PlanId | OrderBy |
EntityId | OrderBy |
EntityTypeId | OrderBy |
EntityMainType | OrderBy |
AttachmentType | OrderBy |
CustomReference | OrderBy |
HasDisaggregatedData | OrderBy |
UnitId | OrderBy |
CalculationMethod | OrderBy |
Description | OrderBy |
AttachmentPrototypeId | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
AttachmentFact attachmentFacts
A planned numeric value, revision and optional dimensions for an attachment.
Root field: attachmentFacts · Object type: AttachmentFact · Result: AttachmentFactConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
AttachmentId | Int! | Value | |
MetricTypeId | Short! | Value | Identifies what this numeric value represents; resolve through metricType. |
LocationId | Int | Value | Optional disaggregation identifier. A null value does not imply a zero metric value. |
GenderId | Short | Value | Optional disaggregation identifier. A null value does not imply a zero metric value. |
AgeGroupId | Short | Value | Optional disaggregation identifier. A null value does not imply a zero metric value. |
PopulationStatusId | Short | Value | Optional disaggregation identifier. A null value does not imply a zero metric value. |
SettlementTypeId | Short | Value | Optional disaggregation identifier. A null value does not imply a zero metric value. |
DisabilityStatusId | Short | Value | Optional disaggregation identifier. A null value does not imply a zero metric value. |
HealthInterventionCategoryId | Short | Value | |
MaternalStatusId | Short | Value | |
DisaggregationCategoryOtherId | Short | Value | |
DeliveryModalityId | Short | Value | Optional disaggregation identifier. A null value does not imply a zero metric value. |
RevisionStateId | UnsignedByte | Value | Version of the planned value. Supplied requirement rules use 1 Original and 2 Current. |
SectorId | Short | Value | Optional sector identifier. It can be null on total rows; there is no sector relationship on this type. |
IsTotal | Boolean! | Value | Distinguishes total rows from breakdown rows; true does not select a revision or metric by itself. |
ValueNum | Decimal | Value | Nullable high-precision decimal value. Null is different from zero. |
CustomMetricName | String | Value | |
DerivedMetricSource | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
revisionState | RevisionState | Single object relationship | Select this object’s fields directly; do not add items. |
deliveryModality | DeliveryModality | Single object relationship | Select this object’s fields directly; do not add items. |
location | Location | Single object relationship | Select this object’s fields directly; do not add items. |
metricType | MetricType | Single object relationship | Select this object’s fields directly; do not add items. |
disaggregationCategoryOther | DisaggregationCategoryOther | Single object relationship | Select this object’s fields directly; do not add items. |
healthInterventionCategory | HealthInterventionCategory | Single object relationship | Select this object’s fields directly; do not add items. |
maternalStatus | MaternalStatus | Single object relationship | Select this object’s fields directly; do not add items. |
disabilityStatus | DisabilityStatus | Single object relationship | Select this object’s fields directly; do not add items. |
settlementType | SettlementType | Single object relationship | Select this object’s fields directly; do not add items. |
populationStatus | PopulationStatus | Single object relationship | Select this object’s fields directly; do not add items. |
gender | Gender | Single object relationship | Select this object’s fields directly; do not add items. |
ageGroup | AgeGroup | Single object relationship | Select this object’s fields directly; do not add items. |
attachment | Attachment | Single object relationship | Select this object’s fields directly; do not add items. |
Filter and ordering inputs
filter: AttachmentFactFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
AttachmentId | IntFilterInput |
MetricTypeId | ShortFilterInput |
LocationId | IntFilterInput |
GenderId | ShortFilterInput |
AgeGroupId | ShortFilterInput |
PopulationStatusId | ShortFilterInput |
SettlementTypeId | ShortFilterInput |
DisabilityStatusId | ShortFilterInput |
HealthInterventionCategoryId | ShortFilterInput |
MaternalStatusId | ShortFilterInput |
DisaggregationCategoryOtherId | ShortFilterInput |
DeliveryModalityId | ShortFilterInput |
RevisionStateId | UnsignedByteFilterInput |
SectorId | ShortFilterInput |
IsTotal | BooleanFilterInput |
ValueNum | DecimalFilterInput |
CustomMetricName | StringFilterInput |
DerivedMetricSource | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
revisionState | RevisionStateFilterInput |
deliveryModality | DeliveryModalityFilterInput |
location | LocationFilterInput |
metricType | MetricTypeFilterInput |
disaggregationCategoryOther | DisaggregationCategoryOtherFilterInput |
healthInterventionCategory | HealthInterventionCategoryFilterInput |
maternalStatus | MaternalStatusFilterInput |
disabilityStatus | DisabilityStatusFilterInput |
settlementType | SettlementTypeFilterInput |
populationStatus | PopulationStatusFilterInput |
gender | GenderFilterInput |
ageGroup | AgeGroupFilterInput |
attachment | AttachmentFilterInput |
and | [AttachmentFactFilterInput] |
or | [AttachmentFactFilterInput] |
orderBy: AttachmentFactOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
AttachmentId | OrderBy |
MetricTypeId | OrderBy |
LocationId | OrderBy |
GenderId | OrderBy |
AgeGroupId | OrderBy |
PopulationStatusId | OrderBy |
SettlementTypeId | OrderBy |
DisabilityStatusId | OrderBy |
HealthInterventionCategoryId | OrderBy |
MaternalStatusId | OrderBy |
DisaggregationCategoryOtherId | OrderBy |
DeliveryModalityId | OrderBy |
RevisionStateId | OrderBy |
SectorId | OrderBy |
IsTotal | OrderBy |
ValueNum | OrderBy |
CustomMetricName | OrderBy |
DerivedMetricSource | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
Measurement measurements
A reported observation for an attachment, with a link to its plan reporting period.
Root field: measurements · Object type: Measurement · Result: MeasurementConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
Name | String | Value | |
PlanId | Int | Value | |
AttachmentId | Int! | Value | |
MeasurementPeriodId | Int | Value | Period identifier for the reported observation; use planReportingPeriod for its dates. |
EntityId | Int | Value | |
EntityTypeId | Short | Value | |
EntityMainType | String | Value | |
MeasurementType | String! | Value | |
CustomReference | String | Value | |
UnitId | Short | Value | |
CalculationMethod | String | Value | |
Description | String | Value | |
AttachmentPrototypeId | Int | Value | |
IsCommentPublic | Boolean! | Value | |
Comments | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
attachmentPrototype | AttachmentPrototype | Single object relationship | Select this object’s fields directly; do not add items. |
unit | Unit | Single object relationship | Select this object’s fields directly; do not add items. |
entityType | EntityType | Single object relationship | Select this object’s fields directly; do not add items. |
planReportingPeriod | PlanReportingPeriod | Single object relationship | Select this object’s fields directly; do not add items. |
measurementFact | MeasurementFactConnection | Paged relationship | Select items and page information. |
attachment | Attachment | Single object relationship | Select this object’s fields directly; do not add items. |
plan | Plan | Single object relationship | Select this object’s fields directly; do not add items. |
Filter and ordering inputs
filter: MeasurementFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
Name | StringFilterInput |
PlanId | IntFilterInput |
AttachmentId | IntFilterInput |
MeasurementPeriodId | IntFilterInput |
EntityId | IntFilterInput |
EntityTypeId | ShortFilterInput |
EntityMainType | StringFilterInput |
MeasurementType | StringFilterInput |
CustomReference | StringFilterInput |
UnitId | ShortFilterInput |
CalculationMethod | StringFilterInput |
Description | StringFilterInput |
AttachmentPrototypeId | IntFilterInput |
IsCommentPublic | BooleanFilterInput |
Comments | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
attachmentPrototype | AttachmentPrototypeFilterInput |
unit | UnitFilterInput |
entityType | EntityTypeFilterInput |
planReportingPeriod | PlanReportingPeriodFilterInput |
measurementFact | MeasurementFactFilterInput |
attachment | AttachmentFilterInput |
plan | PlanFilterInput |
and | [MeasurementFilterInput] |
or | [MeasurementFilterInput] |
orderBy: MeasurementOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
PlanId | OrderBy |
AttachmentId | OrderBy |
MeasurementPeriodId | OrderBy |
EntityId | OrderBy |
EntityTypeId | OrderBy |
EntityMainType | OrderBy |
MeasurementType | OrderBy |
CustomReference | OrderBy |
UnitId | OrderBy |
CalculationMethod | OrderBy |
Description | OrderBy |
AttachmentPrototypeId | OrderBy |
IsCommentPublic | OrderBy |
Comments | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
MeasurementFact measurementFacts
A reported numeric value and optional dimensions for a measurement.
Root field: measurementFacts · Object type: MeasurementFact · Result: MeasurementFactConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
AttachmentId | Int! | Value | |
MeasurementId | Int! | Value | |
MetricTypeId | Short! | Value | Meaning of the reported value. |
LocationId | Int | Value | Optional disaggregation identifier. A null value does not imply a zero metric value. |
GenderId | Short | Value | Optional disaggregation identifier. A null value does not imply a zero metric value. |
AgeGroupId | Short | Value | Optional disaggregation identifier. A null value does not imply a zero metric value. |
PopulationStatusId | Short | Value | Optional disaggregation identifier. A null value does not imply a zero metric value. |
SettlementTypeId | Short | Value | Optional disaggregation identifier. A null value does not imply a zero metric value. |
DisabilityStatusId | Short | Value | Optional disaggregation identifier. A null value does not imply a zero metric value. |
HealthInterventionCategoryId | Short | Value | |
MaternalStatusId | Short | Value | |
DisaggregationCategoryOtherId | Short | Value | |
DeliveryModalityId | Short | Value | Optional disaggregation identifier. A null value does not imply a zero metric value. |
IsTotal | Boolean! | Value | |
ValueNum | Decimal | Value | Reported decimal value; interpret with its metric and period. |
CustomMetricName | String | Value | |
DerivedMetricSource | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
deliveryModality | DeliveryModality | Single object relationship | Select this object’s fields directly; do not add items. |
location | Location | Single object relationship | Select this object’s fields directly; do not add items. |
metricType | MetricType | Single object relationship | Select this object’s fields directly; do not add items. |
disaggregationCategoryOther | DisaggregationCategoryOther | Single object relationship | Select this object’s fields directly; do not add items. |
healthInterventionCategory | HealthInterventionCategory | Single object relationship | Select this object’s fields directly; do not add items. |
maternalStatus | MaternalStatus | Single object relationship | Select this object’s fields directly; do not add items. |
disabilityStatus | DisabilityStatus | Single object relationship | Select this object’s fields directly; do not add items. |
settlementType | SettlementType | Single object relationship | Select this object’s fields directly; do not add items. |
populationStatus | PopulationStatus | Single object relationship | Select this object’s fields directly; do not add items. |
gender | Gender | Single object relationship | Select this object’s fields directly; do not add items. |
ageGroup | AgeGroup | Single object relationship | Select this object’s fields directly; do not add items. |
measurement | Measurement | Single object relationship | Select this object’s fields directly; do not add items. |
attachment | Attachment | Single object relationship | Select this object’s fields directly; do not add items. |
Filter and ordering inputs
filter: MeasurementFactFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
AttachmentId | IntFilterInput |
MeasurementId | IntFilterInput |
MetricTypeId | ShortFilterInput |
LocationId | IntFilterInput |
GenderId | ShortFilterInput |
AgeGroupId | ShortFilterInput |
PopulationStatusId | ShortFilterInput |
SettlementTypeId | ShortFilterInput |
DisabilityStatusId | ShortFilterInput |
HealthInterventionCategoryId | ShortFilterInput |
MaternalStatusId | ShortFilterInput |
DisaggregationCategoryOtherId | ShortFilterInput |
DeliveryModalityId | ShortFilterInput |
IsTotal | BooleanFilterInput |
ValueNum | DecimalFilterInput |
CustomMetricName | StringFilterInput |
DerivedMetricSource | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
deliveryModality | DeliveryModalityFilterInput |
location | LocationFilterInput |
metricType | MetricTypeFilterInput |
disaggregationCategoryOther | DisaggregationCategoryOtherFilterInput |
healthInterventionCategory | HealthInterventionCategoryFilterInput |
maternalStatus | MaternalStatusFilterInput |
disabilityStatus | DisabilityStatusFilterInput |
settlementType | SettlementTypeFilterInput |
populationStatus | PopulationStatusFilterInput |
gender | GenderFilterInput |
ageGroup | AgeGroupFilterInput |
measurement | MeasurementFilterInput |
attachment | AttachmentFilterInput |
and | [MeasurementFactFilterInput] |
or | [MeasurementFactFilterInput] |
orderBy: MeasurementFactOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
AttachmentId | OrderBy |
MeasurementId | OrderBy |
MetricTypeId | OrderBy |
LocationId | OrderBy |
GenderId | OrderBy |
AgeGroupId | OrderBy |
PopulationStatusId | OrderBy |
SettlementTypeId | OrderBy |
DisabilityStatusId | OrderBy |
HealthInterventionCategoryId | OrderBy |
MaternalStatusId | OrderBy |
DisaggregationCategoryOtherId | OrderBy |
DeliveryModalityId | OrderBy |
IsTotal | OrderBy |
ValueNum | OrderBy |
CustomMetricName | OrderBy |
DerivedMetricSource | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
PlanReportingPeriod planReportingPeriods
A reporting period attached to a plan; measurements link here for dates and period number.
Root field: planReportingPeriods · Object type: PlanReportingPeriod · Result: PlanReportingPeriodConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
StartDate | DateTime | Value | |
EndDate | DateTime | Value | |
ExpiryDate | DateTime | Value | |
PeriodNumber | Int | Value | |
PlanId | Int | Value | |
MeasurementsGenerated | Boolean! | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
measurement | MeasurementConnection | Paged relationship | Select items and page information. |
plan | Plan | Single object relationship | Select this object’s fields directly; do not add items. |
Filter and ordering inputs
filter: PlanReportingPeriodFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
StartDate | DateTimeFilterInput |
EndDate | DateTimeFilterInput |
ExpiryDate | DateTimeFilterInput |
PeriodNumber | IntFilterInput |
PlanId | IntFilterInput |
MeasurementsGenerated | BooleanFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
measurement | MeasurementFilterInput |
plan | PlanFilterInput |
and | [PlanReportingPeriodFilterInput] |
or | [PlanReportingPeriodFilterInput] |
orderBy: PlanReportingPeriodOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
StartDate | OrderBy |
EndDate | OrderBy |
ExpiryDate | OrderBy |
PeriodNumber | OrderBy |
PlanId | OrderBy |
MeasurementsGenerated | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
MetricType metricTypes
Reference data that identifies the meaning of a fact’s MetricTypeId.
Root field: metricTypes · Object type: MetricType · Result: MetricTypeConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Short! | Value | |
Name | String! | Value | |
NameFr | String | Value | |
NameEs | String | Value | |
LabelLookup | String | Value | |
OtherName | String | Value | |
HPCType | String | Value | |
MetricHPCCategory | String | Value | |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
measurementFact | MeasurementFactConnection | Paged relationship | Select items and page information. |
attachmentFact | AttachmentFactConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: MetricTypeFilterInput
| Input field | Type |
|---|---|
Id | ShortFilterInput |
Name | StringFilterInput |
NameFr | StringFilterInput |
NameEs | StringFilterInput |
LabelLookup | StringFilterInput |
OtherName | StringFilterInput |
HPCType | StringFilterInput |
MetricHPCCategory | StringFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
measurementFact | MeasurementFactFilterInput |
attachmentFact | AttachmentFactFilterInput |
and | [MetricTypeFilterInput] |
or | [MetricTypeFilterInput] |
orderBy: MetricTypeOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
NameFr | OrderBy |
NameEs | OrderBy |
LabelLookup | OrderBy |
OtherName | OrderBy |
HPCType | OrderBy |
MetricHPCCategory | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
RevisionState revisionStates
Reference data that explains RevisionStateId and its display name.
Root field: revisionStates · Object type: RevisionState · Result: RevisionStateConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | UnsignedByte! | Value | UnsignedByte identifier, not Int. |
Name | String! | Value | |
DisplayName | String! | Value | |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
attachmentFact | AttachmentFactConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: RevisionStateFilterInput
| Input field | Type |
|---|---|
Id | UnsignedByteFilterInput |
Name | StringFilterInput |
DisplayName | StringFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
attachmentFact | AttachmentFactFilterInput |
and | [RevisionStateFilterInput] |
or | [RevisionStateFilterInput] |
orderBy: RevisionStateOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
DisplayName | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
Currency currencies
Currency identifier and code reference. The schema does not define a direct Currency relationship on AttachmentFact.
Root field: currencies · Object type: Currency · Result: CurrencyConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Short! | Value | Short identifier, not Int. |
Code | String! | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
currencyTranslation | CurrencyTranslationConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: CurrencyFilterInput
| Input field | Type |
|---|---|
Id | ShortFilterInput |
Code | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
currencyTranslation | CurrencyTranslationFilterInput |
and | [CurrencyFilterInput] |
or | [CurrencyFilterInput] |
orderBy: CurrencyOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Code | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
Unit units
A metric unit linked from Attachment or Measurement. Check this context before combining numeric values.
Root field: units · Object type: Unit · Result: UnitConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Short! | Value | |
Name | String! | Value | |
NameFrench | String! | Value | |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
measurement | MeasurementConnection | Paged relationship | Select items and page information. |
attachment | AttachmentConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: UnitFilterInput
| Input field | Type |
|---|---|
Id | ShortFilterInput |
Name | StringFilterInput |
NameFrench | StringFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
measurement | MeasurementFilterInput |
attachment | AttachmentFilterInput |
and | [UnitFilterInput] |
or | [UnitFilterInput] |
orderBy: UnitOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
NameFrench | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
PlanLocationRel planLocationRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: planLocationRels · Object type: PlanLocationRel · Result: PlanLocationRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
PlanId | Int! | Value | |
LocationId | Int! | Value |
Filter and ordering inputs
filter: PlanLocationRelFilterInput
| Input field | Type |
|---|---|
PlanId | IntFilterInput |
LocationId | IntFilterInput |
and | [PlanLocationRelFilterInput] |
or | [PlanLocationRelFilterInput] |
orderBy: PlanLocationRelOrderByInput
| Input field | Type |
|---|---|
PlanId | OrderBy |
LocationId | OrderBy |
PlanEmergencyRel planEmergencyRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: planEmergencyRels · Object type: PlanEmergencyRel · Result: PlanEmergencyRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
PlanId | Int! | Value | |
EmergencyId | Short! | Value |
Filter and ordering inputs
filter: PlanEmergencyRelFilterInput
| Input field | Type |
|---|---|
PlanId | IntFilterInput |
EmergencyId | ShortFilterInput |
and | [PlanEmergencyRelFilterInput] |
or | [PlanEmergencyRelFilterInput] |
orderBy: PlanEmergencyRelOrderByInput
| Input field | Type |
|---|---|
PlanId | OrderBy |
EmergencyId | OrderBy |
PlanOrganizationRel planOrganizationRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: planOrganizationRels · Object type: PlanOrganizationRel · Result: PlanOrganizationRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
PlanId | Int! | Value | |
OrganizationId | Int! | Value |
Filter and ordering inputs
filter: PlanOrganizationRelFilterInput
| Input field | Type |
|---|---|
PlanId | IntFilterInput |
OrganizationId | IntFilterInput |
and | [PlanOrganizationRelFilterInput] |
or | [PlanOrganizationRelFilterInput] |
orderBy: PlanOrganizationRelOrderByInput
| Input field | Type |
|---|---|
PlanId | OrderBy |
OrganizationId | OrderBy |
PlanCategoryRel planCategoryRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: planCategoryRels · Object type: PlanCategoryRel · Result: PlanCategoryRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
PlanId | Int! | Value | |
CategoryId | Int! | Value |
Filter and ordering inputs
filter: PlanCategoryRelFilterInput
| Input field | Type |
|---|---|
PlanId | IntFilterInput |
CategoryId | IntFilterInput |
and | [PlanCategoryRelFilterInput] |
or | [PlanCategoryRelFilterInput] |
orderBy: PlanCategoryRelOrderByInput
| Input field | Type |
|---|---|
PlanId | OrderBy |
CategoryId | OrderBy |
ProjectLocationRel projectLocationRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: projectLocationRels · Object type: ProjectLocationRel · Result: ProjectLocationRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
ProjectId | Int! | Value | |
LocationId | Int! | Value |
Filter and ordering inputs
filter: ProjectLocationRelFilterInput
| Input field | Type |
|---|---|
ProjectId | IntFilterInput |
LocationId | IntFilterInput |
and | [ProjectLocationRelFilterInput] |
or | [ProjectLocationRelFilterInput] |
orderBy: ProjectLocationRelOrderByInput
| Input field | Type |
|---|---|
ProjectId | OrderBy |
LocationId | OrderBy |
ProjectOrganizationRel projectOrganizationRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: projectOrganizationRels · Object type: ProjectOrganizationRel · Result: ProjectOrganizationRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
ProjectId | Int! | Value | |
OrganizationId | Int! | Value |
Filter and ordering inputs
filter: ProjectOrganizationRelFilterInput
| Input field | Type |
|---|---|
ProjectId | IntFilterInput |
OrganizationId | IntFilterInput |
and | [ProjectOrganizationRelFilterInput] |
or | [ProjectOrganizationRelFilterInput] |
orderBy: ProjectOrganizationRelOrderByInput
| Input field | Type |
|---|---|
ProjectId | OrderBy |
OrganizationId | OrderBy |
ProjectSectorRel projectSectorRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: projectSectorRels · Object type: ProjectSectorRel · Result: ProjectSectorRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
ProjectId | Int! | Value | |
SectorId | Short! | Value |
Filter and ordering inputs
filter: ProjectSectorRelFilterInput
| Input field | Type |
|---|---|
ProjectId | IntFilterInput |
SectorId | ShortFilterInput |
and | [ProjectSectorRelFilterInput] |
or | [ProjectSectorRelFilterInput] |
orderBy: ProjectSectorRelOrderByInput
| Input field | Type |
|---|---|
ProjectId | OrderBy |
SectorId | OrderBy |
ProjectContactRel projectContactRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: projectContactRels · Object type: ProjectContactRel · Result: ProjectContactRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
ProjectId | Int! | Value | |
ContactId | Int! | Value |
Filter and ordering inputs
filter: ProjectContactRelFilterInput
| Input field | Type |
|---|---|
ProjectId | IntFilterInput |
ContactId | IntFilterInput |
and | [ProjectContactRelFilterInput] |
or | [ProjectContactRelFilterInput] |
orderBy: ProjectContactRelOrderByInput
| Input field | Type |
|---|---|
ProjectId | OrderBy |
ContactId | OrderBy |
ProjectCreatedByRel projectCreatedByRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: projectCreatedByRels · Object type: ProjectCreatedByRel · Result: ProjectCreatedByRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
ProjectId | Int! | Value | |
UserAccountId | Int! | Value |
Filter and ordering inputs
filter: ProjectCreatedByRelFilterInput
| Input field | Type |
|---|---|
ProjectId | IntFilterInput |
UserAccountId | IntFilterInput |
and | [ProjectCreatedByRelFilterInput] |
or | [ProjectCreatedByRelFilterInput] |
orderBy: ProjectCreatedByRelOrderByInput
| Input field | Type |
|---|---|
ProjectId | OrderBy |
UserAccountId | OrderBy |
OrganizationLocationRel organizationLocationRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: organizationLocationRels · Object type: OrganizationLocationRel · Result: OrganizationLocationRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
OrganizationId | Int! | Value | |
LocationId | Int! | Value |
Filter and ordering inputs
filter: OrganizationLocationRelFilterInput
| Input field | Type |
|---|---|
OrganizationId | IntFilterInput |
LocationId | IntFilterInput |
and | [OrganizationLocationRelFilterInput] |
or | [OrganizationLocationRelFilterInput] |
orderBy: OrganizationLocationRelOrderByInput
| Input field | Type |
|---|---|
OrganizationId | OrderBy |
LocationId | OrderBy |
AgeGroupTranslation ageGroupTranslations
Schema-defined collection. Use the fields and input types below to build a query.
Root field: ageGroupTranslations · Object type: AgeGroupTranslation · Result: AgeGroupTranslationConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
AgeGroupId | Short! | Value | |
LanguageCode | String! | Value | |
Name | String! | Value | |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value |
Filter and ordering inputs
filter: AgeGroupTranslationFilterInput
| Input field | Type |
|---|---|
AgeGroupId | ShortFilterInput |
LanguageCode | StringFilterInput |
Name | StringFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
and | [AgeGroupTranslationFilterInput] |
or | [AgeGroupTranslationFilterInput] |
orderBy: AgeGroupTranslationOrderByInput
| Input field | Type |
|---|---|
AgeGroupId | OrderBy |
LanguageCode | OrderBy |
Name | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
OrganizationCategoryRel organizationCategoryRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: organizationCategoryRels · Object type: OrganizationCategoryRel · Result: OrganizationCategoryRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
OrganizationId | Int! | Value | |
CategoryId | Int! | Value |
Filter and ordering inputs
filter: OrganizationCategoryRelFilterInput
| Input field | Type |
|---|---|
OrganizationId | IntFilterInput |
CategoryId | IntFilterInput |
and | [OrganizationCategoryRelFilterInput] |
or | [OrganizationCategoryRelFilterInput] |
orderBy: OrganizationCategoryRelOrderByInput
| Input field | Type |
|---|---|
OrganizationId | OrderBy |
CategoryId | OrderBy |
EmergencyLocationRel emergencyLocationRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: emergencyLocationRels · Object type: EmergencyLocationRel · Result: EmergencyLocationRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
EmergencyId | Short! | Value | |
LocationId | Int! | Value |
Filter and ordering inputs
filter: EmergencyLocationRelFilterInput
| Input field | Type |
|---|---|
EmergencyId | ShortFilterInput |
LocationId | IntFilterInput |
and | [EmergencyLocationRelFilterInput] |
or | [EmergencyLocationRelFilterInput] |
orderBy: EmergencyLocationRelOrderByInput
| Input field | Type |
|---|---|
EmergencyId | OrderBy |
LocationId | OrderBy |
ProjectBudgetCoordinationEntityRel projectBudgetCoordinationEntityRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: projectBudgetCoordinationEntityRels · Object type: ProjectBudgetCoordinationEntityRel · Result: ProjectBudgetCoordinationEntityRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
ProjectBudgetId | Int! | Value | |
CoordinationEntityId | Int! | Value |
Filter and ordering inputs
filter: ProjectBudgetCoordinationEntityRelFilterInput
| Input field | Type |
|---|---|
ProjectBudgetId | IntFilterInput |
CoordinationEntityId | IntFilterInput |
and | [ProjectBudgetCoordinationEntityRelFilterInput] |
or | [ProjectBudgetCoordinationEntityRelFilterInput] |
orderBy: ProjectBudgetCoordinationEntityRelOrderByInput
| Input field | Type |
|---|---|
ProjectBudgetId | OrderBy |
CoordinationEntityId | OrderBy |
ProjectLogframeRel projectLogframeRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: projectLogframeRels · Object type: ProjectLogframeRel · Result: ProjectLogframeRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
ProjectId | Int! | Value | |
LogframeEntityId | Int! | Value |
Filter and ordering inputs
filter: ProjectLogframeRelFilterInput
| Input field | Type |
|---|---|
ProjectId | IntFilterInput |
LogframeEntityId | IntFilterInput |
and | [ProjectLogframeRelFilterInput] |
or | [ProjectLogframeRelFilterInput] |
orderBy: ProjectLogframeRelOrderByInput
| Input field | Type |
|---|---|
ProjectId | OrderBy |
LogframeEntityId | OrderBy |
CoordinationEntityLogframeRel coordinationEntityLogframeRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: coordinationEntityLogframeRels · Object type: CoordinationEntityLogframeRel · Result: CoordinationEntityLogframeRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
CoordinationEntityId | Int! | Value | |
LogframeEntityId | Int! | Value |
Filter and ordering inputs
filter: CoordinationEntityLogframeRelFilterInput
| Input field | Type |
|---|---|
CoordinationEntityId | IntFilterInput |
LogframeEntityId | IntFilterInput |
and | [CoordinationEntityLogframeRelFilterInput] |
or | [CoordinationEntityLogframeRelFilterInput] |
orderBy: CoordinationEntityLogframeRelOrderByInput
| Input field | Type |
|---|---|
CoordinationEntityId | OrderBy |
LogframeEntityId | OrderBy |
ProjectBudgetSectorRel projectBudgetSectorRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: projectBudgetSectorRels · Object type: ProjectBudgetSectorRel · Result: ProjectBudgetSectorRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
ProjectBudgetId | Int! | Value | |
SectorId | Short! | Value |
Filter and ordering inputs
filter: ProjectBudgetSectorRelFilterInput
| Input field | Type |
|---|---|
ProjectBudgetId | IntFilterInput |
SectorId | ShortFilterInput |
and | [ProjectBudgetSectorRelFilterInput] |
or | [ProjectBudgetSectorRelFilterInput] |
orderBy: ProjectBudgetSectorRelOrderByInput
| Input field | Type |
|---|---|
ProjectBudgetId | OrderBy |
SectorId | OrderBy |
ProjectCoordinationEntityRel projectCoordinationEntityRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: projectCoordinationEntityRels · Object type: ProjectCoordinationEntityRel · Result: ProjectCoordinationEntityRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
ProjectId | Int! | Value | |
CoordinationEntityId | Int! | Value |
Filter and ordering inputs
filter: ProjectCoordinationEntityRelFilterInput
| Input field | Type |
|---|---|
ProjectId | IntFilterInput |
CoordinationEntityId | IntFilterInput |
and | [ProjectCoordinationEntityRelFilterInput] |
or | [ProjectCoordinationEntityRelFilterInput] |
orderBy: ProjectCoordinationEntityRelOrderByInput
| Input field | Type |
|---|---|
ProjectId | OrderBy |
CoordinationEntityId | OrderBy |
SectorCoordinationEntityRel sectorCoordinationEntityRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: sectorCoordinationEntityRels · Object type: SectorCoordinationEntityRel · Result: SectorCoordinationEntityRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
SectorId | Short! | Value | |
CoordinationEntityId | Int! | Value |
Filter and ordering inputs
filter: SectorCoordinationEntityRelFilterInput
| Input field | Type |
|---|---|
SectorId | ShortFilterInput |
CoordinationEntityId | IntFilterInput |
and | [SectorCoordinationEntityRelFilterInput] |
or | [SectorCoordinationEntityRelFilterInput] |
orderBy: SectorCoordinationEntityRelOrderByInput
| Input field | Type |
|---|---|
SectorId | OrderBy |
CoordinationEntityId | OrderBy |
OrganizationParentChildRel organizationParentChildRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: organizationParentChildRels · Object type: OrganizationParentChildRel · Result: OrganizationParentChildRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
ParentOrganizationId | Int! | Value | |
ChildOrganizationId | Int! | Value | |
organization | Organization | Single object relationship | Select this object’s fields directly; do not add items. |
Filter and ordering inputs
filter: OrganizationParentChildRelFilterInput
| Input field | Type |
|---|---|
ParentOrganizationId | IntFilterInput |
ChildOrganizationId | IntFilterInput |
organization | OrganizationFilterInput |
and | [OrganizationParentChildRelFilterInput] |
or | [OrganizationParentChildRelFilterInput] |
orderBy: OrganizationParentChildRelOrderByInput
| Input field | Type |
|---|---|
ParentOrganizationId | OrderBy |
ChildOrganizationId | OrderBy |
ProjectBudgetOrganizationRel projectBudgetOrganizationRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: projectBudgetOrganizationRels · Object type: ProjectBudgetOrganizationRel · Result: ProjectBudgetOrganizationRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
ProjectBudgetId | Int! | Value | |
OrganizationId | Int! | Value |
Filter and ordering inputs
filter: ProjectBudgetOrganizationRelFilterInput
| Input field | Type |
|---|---|
ProjectBudgetId | IntFilterInput |
OrganizationId | IntFilterInput |
and | [ProjectBudgetOrganizationRelFilterInput] |
or | [ProjectBudgetOrganizationRelFilterInput] |
orderBy: ProjectBudgetOrganizationRelOrderByInput
| Input field | Type |
|---|---|
ProjectBudgetId | OrderBy |
OrganizationId | OrderBy |
SectorParentChildRel sectorParentChildRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: sectorParentChildRels · Object type: SectorParentChildRel · Result: SectorParentChildRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
ParentSectorId | Short! | Value | |
ChildSectorId | Short! | Value |
Filter and ordering inputs
filter: SectorParentChildRelFilterInput
| Input field | Type |
|---|---|
ParentSectorId | ShortFilterInput |
ChildSectorId | ShortFilterInput |
and | [SectorParentChildRelFilterInput] |
or | [SectorParentChildRelFilterInput] |
orderBy: SectorParentChildRelOrderByInput
| Input field | Type |
|---|---|
ParentSectorId | OrderBy |
ChildSectorId | OrderBy |
CoordinationEntityContactRel coordinationEntityContactRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: coordinationEntityContactRels · Object type: CoordinationEntityContactRel · Result: CoordinationEntityContactRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
CoordinationEntityId | Int! | Value | |
ContactId | Int! | Value |
Filter and ordering inputs
filter: CoordinationEntityContactRelFilterInput
| Input field | Type |
|---|---|
CoordinationEntityId | IntFilterInput |
ContactId | IntFilterInput |
and | [CoordinationEntityContactRelFilterInput] |
or | [CoordinationEntityContactRelFilterInput] |
orderBy: CoordinationEntityContactRelOrderByInput
| Input field | Type |
|---|---|
CoordinationEntityId | OrderBy |
ContactId | OrderBy |
PlanTextContentRel planTextContentRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: planTextContentRels · Object type: PlanTextContentRel · Result: PlanTextContentRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
PlanId | Int! | Value | |
TextContentId | Int! | Value |
Filter and ordering inputs
filter: PlanTextContentRelFilterInput
| Input field | Type |
|---|---|
PlanId | IntFilterInput |
TextContentId | IntFilterInput |
and | [PlanTextContentRelFilterInput] |
or | [PlanTextContentRelFilterInput] |
orderBy: PlanTextContentRelOrderByInput
| Input field | Type |
|---|---|
PlanId | OrderBy |
TextContentId | OrderBy |
CoordinationEntityTextContentRel coordinationEntityTextContentRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: coordinationEntityTextContentRels · Object type: CoordinationEntityTextContentRel · Result: CoordinationEntityTextContentRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
CoordinationEntityId | Int! | Value | |
TextContentId | Int! | Value |
Filter and ordering inputs
filter: CoordinationEntityTextContentRelFilterInput
| Input field | Type |
|---|---|
CoordinationEntityId | IntFilterInput |
TextContentId | IntFilterInput |
and | [CoordinationEntityTextContentRelFilterInput] |
or | [CoordinationEntityTextContentRelFilterInput] |
orderBy: CoordinationEntityTextContentRelOrderByInput
| Input field | Type |
|---|---|
CoordinationEntityId | OrderBy |
TextContentId | OrderBy |
LogframeEntitySupportRel logframeEntitySupportRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: logframeEntitySupportRels · Object type: LogframeEntitySupportRel · Result: LogframeEntitySupportRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
LogframeEntityId | Int! | Value | |
SupportsLogframeEntityId | Int! | Value | |
SortOrder | Int | Value | |
logframeEntity | LogframeEntity | Single object relationship | Select this object’s fields directly; do not add items. |
Filter and ordering inputs
filter: LogframeEntitySupportRelFilterInput
| Input field | Type |
|---|---|
LogframeEntityId | IntFilterInput |
SupportsLogframeEntityId | IntFilterInput |
SortOrder | IntFilterInput |
logframeEntity | LogframeEntityFilterInput |
and | [LogframeEntitySupportRelFilterInput] |
or | [LogframeEntitySupportRelFilterInput] |
orderBy: LogframeEntitySupportRelOrderByInput
| Input field | Type |
|---|---|
LogframeEntityId | OrderBy |
SupportsLogframeEntityId | OrderBy |
SortOrder | OrderBy |
CoordinationEntityFileAssetRel coordinationEntityFileAssetRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: coordinationEntityFileAssetRels · Object type: CoordinationEntityFileAssetRel · Result: CoordinationEntityFileAssetRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
CoordinationEntityId | Int! | Value | |
FileAssetId | Int! | Value |
Filter and ordering inputs
filter: CoordinationEntityFileAssetRelFilterInput
| Input field | Type |
|---|---|
CoordinationEntityId | IntFilterInput |
FileAssetId | IntFilterInput |
and | [CoordinationEntityFileAssetRelFilterInput] |
or | [CoordinationEntityFileAssetRelFilterInput] |
orderBy: CoordinationEntityFileAssetRelOrderByInput
| Input field | Type |
|---|---|
CoordinationEntityId | OrderBy |
FileAssetId | OrderBy |
PlanFileAssetRel planFileAssetRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: planFileAssetRels · Object type: PlanFileAssetRel · Result: PlanFileAssetRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
PlanId | Int! | Value | |
FileAssetId | Int! | Value |
Filter and ordering inputs
filter: PlanFileAssetRelFilterInput
| Input field | Type |
|---|---|
PlanId | IntFilterInput |
FileAssetId | IntFilterInput |
and | [PlanFileAssetRelFilterInput] |
or | [PlanFileAssetRelFilterInput] |
orderBy: PlanFileAssetRelOrderByInput
| Input field | Type |
|---|---|
PlanId | OrderBy |
FileAssetId | OrderBy |
VisibilityGroup visibilityGroups
Schema-defined collection. Use the fields and input types below to build a query.
Root field: visibilityGroups · Object type: VisibilityGroup · Result: VisibilityGroupConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | UnsignedByte! | Value | |
Name | String! | Value | |
DisplayName | String! | Value | |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value |
Filter and ordering inputs
filter: VisibilityGroupFilterInput
| Input field | Type |
|---|---|
Id | UnsignedByteFilterInput |
Name | StringFilterInput |
DisplayName | StringFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
and | [VisibilityGroupFilterInput] |
or | [VisibilityGroupFilterInput] |
orderBy: VisibilityGroupOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
DisplayName | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
EntityType entityTypes
Schema-defined collection. Use the fields and input types below to build a query.
Root field: entityTypes · Object type: EntityType · Result: EntityTypeConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Short! | Value | |
Name | String! | Value | |
DisplayName | String! | Value | |
EntitySubType | String | Value | |
PgSqlEntityType | String | Value | |
PgSqlRefCode | String | Value | |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
logframeEntity | LogframeEntityConnection | Paged relationship | Select items and page information. |
coordinationEntity | CoordinationEntityConnection | Paged relationship | Select items and page information. |
comment | CommentConnection | Paged relationship | Select items and page information. |
measurement | MeasurementConnection | Paged relationship | Select items and page information. |
attachment | AttachmentConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: EntityTypeFilterInput
| Input field | Type |
|---|---|
Id | ShortFilterInput |
Name | StringFilterInput |
DisplayName | StringFilterInput |
EntitySubType | StringFilterInput |
PgSqlEntityType | StringFilterInput |
PgSqlRefCode | StringFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
logframeEntity | LogframeEntityFilterInput |
coordinationEntity | CoordinationEntityFilterInput |
comment | CommentFilterInput |
measurement | MeasurementFilterInput |
attachment | AttachmentFilterInput |
and | [EntityTypeFilterInput] |
or | [EntityTypeFilterInput] |
orderBy: EntityTypeOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
DisplayName | OrderBy |
EntitySubType | OrderBy |
PgSqlEntityType | OrderBy |
PgSqlRefCode | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
CategoryType categoryTypes
Schema-defined collection. Use the fields and input types below to build a query.
Root field: categoryTypes · Object type: CategoryType · Result: CategoryTypeConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Short! | Value | |
Name | String! | Value | |
DisplayName | String! | Value | |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
category | CategoryConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: CategoryTypeFilterInput
| Input field | Type |
|---|---|
Id | ShortFilterInput |
Name | StringFilterInput |
DisplayName | StringFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
category | CategoryFilterInput |
and | [CategoryTypeFilterInput] |
or | [CategoryTypeFilterInput] |
orderBy: CategoryTypeOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
DisplayName | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
Category categories
Schema-defined collection. Use the fields and input types below to build a query.
Root field: categories · Object type: Category · Result: CategoryConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
Name | String! | Value | |
CategoryTypeId | Short! | Value | |
Description | String | Value | |
ParentId | Int | Value | |
Code | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
organization | OrganizationConnection | Paged relationship | Select items and page information. |
categoryType | CategoryType | Single object relationship | Select this object’s fields directly; do not add items. |
plan | PlanConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: CategoryFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
Name | StringFilterInput |
CategoryTypeId | ShortFilterInput |
Description | StringFilterInput |
ParentId | IntFilterInput |
Code | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
organization | OrganizationFilterInput |
categoryType | CategoryTypeFilterInput |
plan | PlanFilterInput |
and | [CategoryFilterInput] |
or | [CategoryFilterInput] |
orderBy: CategoryOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
CategoryTypeId | OrderBy |
Description | OrderBy |
ParentId | OrderBy |
Code | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
AgeGroup ageGroups
Schema-defined collection. Use the fields and input types below to build a query.
Root field: ageGroups · Object type: AgeGroup · Result: AgeGroupConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Short! | Value | |
Name | String! | Value | |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
ReferenceCode | String | Value | |
ageGroupTranslation | AgeGroupTranslationConnection | Paged relationship | Select items and page information. |
measurementFact | MeasurementFactConnection | Paged relationship | Select items and page information. |
attachmentFact | AttachmentFactConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: AgeGroupFilterInput
| Input field | Type |
|---|---|
Id | ShortFilterInput |
Name | StringFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
ReferenceCode | StringFilterInput |
ageGroupTranslation | AgeGroupTranslationFilterInput |
measurementFact | MeasurementFactFilterInput |
attachmentFact | AttachmentFactFilterInput |
and | [AgeGroupFilterInput] |
or | [AgeGroupFilterInput] |
orderBy: AgeGroupOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
ReferenceCode | OrderBy |
Gender genders
Schema-defined collection. Use the fields and input types below to build a query.
Root field: genders · Object type: Gender · Result: GenderConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Short! | Value | |
Name | String! | Value | |
ShortName | String! | Value | |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
measurementFact | MeasurementFactConnection | Paged relationship | Select items and page information. |
attachmentFact | AttachmentFactConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: GenderFilterInput
| Input field | Type |
|---|---|
Id | ShortFilterInput |
Name | StringFilterInput |
ShortName | StringFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
measurementFact | MeasurementFactFilterInput |
attachmentFact | AttachmentFactFilterInput |
and | [GenderFilterInput] |
or | [GenderFilterInput] |
orderBy: GenderOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
ShortName | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
PopulationStatus populationStatuses
Schema-defined collection. Use the fields and input types below to build a query.
Root field: populationStatuses · Object type: PopulationStatus · Result: PopulationStatusConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Short! | Value | |
Name | String! | Value | |
ShortName | String | Value | |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
measurementFact | MeasurementFactConnection | Paged relationship | Select items and page information. |
attachmentFact | AttachmentFactConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: PopulationStatusFilterInput
| Input field | Type |
|---|---|
Id | ShortFilterInput |
Name | StringFilterInput |
ShortName | StringFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
measurementFact | MeasurementFactFilterInput |
attachmentFact | AttachmentFactFilterInput |
and | [PopulationStatusFilterInput] |
or | [PopulationStatusFilterInput] |
orderBy: PopulationStatusOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
ShortName | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
SettlementType settlementTypes
Schema-defined collection. Use the fields and input types below to build a query.
Root field: settlementTypes · Object type: SettlementType · Result: SettlementTypeConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Short! | Value | |
Name | String! | Value | |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
measurementFact | MeasurementFactConnection | Paged relationship | Select items and page information. |
attachmentFact | AttachmentFactConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: SettlementTypeFilterInput
| Input field | Type |
|---|---|
Id | ShortFilterInput |
Name | StringFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
measurementFact | MeasurementFactFilterInput |
attachmentFact | AttachmentFactFilterInput |
and | [SettlementTypeFilterInput] |
or | [SettlementTypeFilterInput] |
orderBy: SettlementTypeOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
DisabilityStatus disabilityStatuses
Schema-defined collection. Use the fields and input types below to build a query.
Root field: disabilityStatuses · Object type: DisabilityStatus · Result: DisabilityStatusConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Short! | Value | |
Name | String! | Value | |
Description | String | Value | |
Kind | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
measurementFact | MeasurementFactConnection | Paged relationship | Select items and page information. |
attachmentFact | AttachmentFactConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: DisabilityStatusFilterInput
| Input field | Type |
|---|---|
Id | ShortFilterInput |
Name | StringFilterInput |
Description | StringFilterInput |
Kind | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
measurementFact | MeasurementFactFilterInput |
attachmentFact | AttachmentFactFilterInput |
and | [DisabilityStatusFilterInput] |
or | [DisabilityStatusFilterInput] |
orderBy: DisabilityStatusOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
Description | OrderBy |
Kind | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
MaternalStatus maternalStatuses
Schema-defined collection. Use the fields and input types below to build a query.
Root field: maternalStatuses · Object type: MaternalStatus · Result: MaternalStatusConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Short! | Value | |
Name | String! | Value | |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
measurementFact | MeasurementFactConnection | Paged relationship | Select items and page information. |
attachmentFact | AttachmentFactConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: MaternalStatusFilterInput
| Input field | Type |
|---|---|
Id | ShortFilterInput |
Name | StringFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
measurementFact | MeasurementFactFilterInput |
attachmentFact | AttachmentFactFilterInput |
and | [MaternalStatusFilterInput] |
or | [MaternalStatusFilterInput] |
orderBy: MaternalStatusOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
HealthInterventionCategory healthInterventionCategories
Schema-defined collection. Use the fields and input types below to build a query.
Root field: healthInterventionCategories · Object type: HealthInterventionCategory · Result: HealthInterventionCategoryConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Short! | Value | |
Name | String! | Value | |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
measurementFact | MeasurementFactConnection | Paged relationship | Select items and page information. |
attachmentFact | AttachmentFactConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: HealthInterventionCategoryFilterInput
| Input field | Type |
|---|---|
Id | ShortFilterInput |
Name | StringFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
measurementFact | MeasurementFactFilterInput |
attachmentFact | AttachmentFactFilterInput |
and | [HealthInterventionCategoryFilterInput] |
or | [HealthInterventionCategoryFilterInput] |
orderBy: HealthInterventionCategoryOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
DisaggregationCategoryOther disaggregationCategoryOthers
Schema-defined collection. Use the fields and input types below to build a query.
Root field: disaggregationCategoryOthers · Object type: DisaggregationCategoryOther · Result: DisaggregationCategoryOtherConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Short! | Value | |
Name | String! | Value | |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
measurementFact | MeasurementFactConnection | Paged relationship | Select items and page information. |
attachmentFact | AttachmentFactConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: DisaggregationCategoryOtherFilterInput
| Input field | Type |
|---|---|
Id | ShortFilterInput |
Name | StringFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
measurementFact | MeasurementFactFilterInput |
attachmentFact | AttachmentFactFilterInput |
and | [DisaggregationCategoryOtherFilterInput] |
or | [DisaggregationCategoryOtherFilterInput] |
orderBy: DisaggregationCategoryOtherOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
DeliveryModality deliveryModalities
Schema-defined collection. Use the fields and input types below to build a query.
Root field: deliveryModalities · Object type: DeliveryModality · Result: DeliveryModalityConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Short! | Value | |
Name | String! | Value | |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
measurementFact | MeasurementFactConnection | Paged relationship | Select items and page information. |
attachmentFact | AttachmentFactConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: DeliveryModalityFilterInput
| Input field | Type |
|---|---|
Id | ShortFilterInput |
Name | StringFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
measurementFact | MeasurementFactFilterInput |
attachmentFact | AttachmentFactFilterInput |
and | [DeliveryModalityFilterInput] |
or | [DeliveryModalityFilterInput] |
orderBy: DeliveryModalityOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
Icon icons
Schema-defined collection. Use the fields and input types below to build a query.
Root field: icons · Object type: Icon · Result: IconConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Short! | Value | |
Name | String! | Value | |
FullName | String! | Value | |
Svg | String! | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
coordinationEntity | CoordinationEntityConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: IconFilterInput
| Input field | Type |
|---|---|
Id | ShortFilterInput |
Name | StringFilterInput |
FullName | StringFilterInput |
Svg | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
coordinationEntity | CoordinationEntityFilterInput |
and | [IconFilterInput] |
or | [IconFilterInput] |
orderBy: IconOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
FullName | OrderBy |
Svg | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
UserAccount userAccounts
Schema-defined collection. Use the fields and input types below to build a query.
Root field: userAccounts · Object type: UserAccount · Result: UserAccountConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
Email | String | Value | |
Name | String! | Value | |
IsActive | Boolean! | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
project | ProjectConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: UserAccountFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
Email | StringFilterInput |
Name | StringFilterInput |
IsActive | BooleanFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
project | ProjectFilterInput |
and | [UserAccountFilterInput] |
or | [UserAccountFilterInput] |
orderBy: UserAccountOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Email | OrderBy |
Name | OrderBy |
IsActive | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
Comment comments
Schema-defined collection. Use the fields and input types below to build a query.
Root field: comments · Object type: Comment · Result: CommentConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
EntityTypeId | Short! | Value | |
EntityId | Int! | Value | |
UserAccountId | Int! | Value | |
CommentText | String! | Value | |
Step | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value |
Filter and ordering inputs
filter: CommentFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
EntityTypeId | ShortFilterInput |
EntityId | IntFilterInput |
UserAccountId | IntFilterInput |
CommentText | StringFilterInput |
Step | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
and | [CommentFilterInput] |
or | [CommentFilterInput] |
orderBy: CommentOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
EntityTypeId | OrderBy |
EntityId | OrderBy |
UserAccountId | OrderBy |
CommentText | OrderBy |
Step | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
AttachmentPrototype attachmentPrototypes
Schema-defined collection. Use the fields and input types below to build a query.
Root field: attachmentPrototypes · Object type: AttachmentPrototype · Result: AttachmentPrototypeConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
RefCode | String! | Value | |
Type | String! | Value | |
Value | String! | Value | |
Value2 | String! | Value | |
PlanId | Int! | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
measurement | MeasurementConnection | Paged relationship | Select items and page information. |
attachment | AttachmentConnection | Paged relationship | Select items and page information. |
plan | Plan | Single object relationship | Select this object’s fields directly; do not add items. |
Filter and ordering inputs
filter: AttachmentPrototypeFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
RefCode | StringFilterInput |
Type | StringFilterInput |
Value | StringFilterInput |
Value2 | StringFilterInput |
PlanId | IntFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
measurement | MeasurementFilterInput |
attachment | AttachmentFilterInput |
plan | PlanFilterInput |
and | [AttachmentPrototypeFilterInput] |
or | [AttachmentPrototypeFilterInput] |
orderBy: AttachmentPrototypeOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
RefCode | OrderBy |
Type | OrderBy |
Value | OrderBy |
Value2 | OrderBy |
PlanId | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
EntityPrototype entityPrototypes
Schema-defined collection. Use the fields and input types below to build a query.
Root field: entityPrototypes · Object type: EntityPrototype · Result: EntityPrototypeConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
RefCode | String! | Value | |
Type | String! | Value | |
PlanId | Int! | Value | |
OrderNumber | Int | Value | |
Value | String! | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
plan | Plan | Single object relationship | Select this object’s fields directly; do not add items. |
Filter and ordering inputs
filter: EntityPrototypeFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
RefCode | StringFilterInput |
Type | StringFilterInput |
PlanId | IntFilterInput |
OrderNumber | IntFilterInput |
Value | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
plan | PlanFilterInput |
and | [EntityPrototypeFilterInput] |
or | [EntityPrototypeFilterInput] |
orderBy: EntityPrototypeOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
RefCode | OrderBy |
Type | OrderBy |
PlanId | OrderBy |
OrderNumber | OrderBy |
Value | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
Contact contacts
Schema-defined collection. Use the fields and input types below to build a query.
Root field: contacts · Object type: Contact · Result: ContactConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
Name | String! | Value | |
Email | String | Value | |
Phone | String | Value | |
Website | String | Value | |
Address | String | Value | |
Department | String | Value | |
JobTitle | String | Value | |
Role | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
coordinationEntity | CoordinationEntityConnection | Paged relationship | Select items and page information. |
project | ProjectConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: ContactFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
Name | StringFilterInput |
Email | StringFilterInput |
Phone | StringFilterInput |
Website | StringFilterInput |
Address | StringFilterInput |
Department | StringFilterInput |
JobTitle | StringFilterInput |
Role | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
coordinationEntity | CoordinationEntityFilterInput |
project | ProjectFilterInput |
and | [ContactFilterInput] |
or | [ContactFilterInput] |
orderBy: ContactOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
Email | OrderBy |
Phone | OrderBy |
Website | OrderBy |
Address | OrderBy |
Department | OrderBy |
JobTitle | OrderBy |
Role | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
CustomQuestionOption customQuestionOptions
Schema-defined collection. Use the fields and input types below to build a query.
Root field: customQuestionOptions · Object type: CustomQuestionOption · Result: CustomQuestionOptionConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
CustomQuestionId | Int! | Value | |
OptionCode | String | Value | |
OptionValue | String! | Value | |
OptionLabel | String | Value | |
OptionJson | String | Value | |
SortOrder | Int! | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value |
Filter and ordering inputs
filter: CustomQuestionOptionFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
CustomQuestionId | IntFilterInput |
OptionCode | StringFilterInput |
OptionValue | StringFilterInput |
OptionLabel | StringFilterInput |
OptionJson | StringFilterInput |
SortOrder | IntFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
and | [CustomQuestionOptionFilterInput] |
or | [CustomQuestionOptionFilterInput] |
orderBy: CustomQuestionOptionOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
CustomQuestionId | OrderBy |
OptionCode | OrderBy |
OptionValue | OrderBy |
OptionLabel | OrderBy |
OptionJson | OrderBy |
SortOrder | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
ProjectAttachmentTarget projectAttachmentTargets
Schema-defined collection. Use the fields and input types below to build a query.
Root field: projectAttachmentTargets · Object type: ProjectAttachmentTarget · Result: ProjectAttachmentTargetConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
ProjectId | Int! | Value | |
AttachmentId | Int! | Value | |
ValueNum | Decimal | Value | |
VisibilityGroupId | UnsignedByte! | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value |
Filter and ordering inputs
filter: ProjectAttachmentTargetFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
ProjectId | IntFilterInput |
AttachmentId | IntFilterInput |
ValueNum | DecimalFilterInput |
VisibilityGroupId | UnsignedByteFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
and | [ProjectAttachmentTargetFilterInput] |
or | [ProjectAttachmentTargetFilterInput] |
orderBy: ProjectAttachmentTargetOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
ProjectId | OrderBy |
AttachmentId | OrderBy |
ValueNum | OrderBy |
VisibilityGroupId | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
FileAssetType fileAssetTypes
Schema-defined collection. Use the fields and input types below to build a query.
Root field: fileAssetTypes · Object type: FileAssetType · Result: FileAssetTypeConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Short! | Value | |
Name | String! | Value | |
DisplayName | String | Value | |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
fileAsset | FileAssetConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: FileAssetTypeFilterInput
| Input field | Type |
|---|---|
Id | ShortFilterInput |
Name | StringFilterInput |
DisplayName | StringFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
fileAsset | FileAssetFilterInput |
and | [FileAssetTypeFilterInput] |
or | [FileAssetTypeFilterInput] |
orderBy: FileAssetTypeOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
DisplayName | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
FileAsset fileAssets
Schema-defined collection. Use the fields and input types below to build a query.
Root field: fileAssets · Object type: FileAsset · Result: FileAssetConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
Name | String! | Value | |
OriginalName | String | Value | |
MimeType | String | Value | |
Credit | String | Value | |
VisibilityGroupId | UnsignedByte! | Value | |
FileAssetTypeId | Short! | Value | |
FilePath | String | Value | |
url | String! | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
AzureFileURL | String | Value | |
fileAssetType | FileAssetType | Single object relationship | Select this object’s fields directly; do not add items. |
coordinationEntity | CoordinationEntityConnection | Paged relationship | Select items and page information. |
plan | PlanConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: FileAssetFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
Name | StringFilterInput |
OriginalName | StringFilterInput |
MimeType | StringFilterInput |
Credit | StringFilterInput |
VisibilityGroupId | UnsignedByteFilterInput |
FileAssetTypeId | ShortFilterInput |
FilePath | StringFilterInput |
url | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
AzureFileURL | StringFilterInput |
fileAssetType | FileAssetTypeFilterInput |
coordinationEntity | CoordinationEntityFilterInput |
plan | PlanFilterInput |
and | [FileAssetFilterInput] |
or | [FileAssetFilterInput] |
orderBy: FileAssetOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
OriginalName | OrderBy |
MimeType | OrderBy |
Credit | OrderBy |
VisibilityGroupId | OrderBy |
FileAssetTypeId | OrderBy |
FilePath | OrderBy |
url | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
AzureFileURL | OrderBy |
TextContentType textContentTypes
Schema-defined collection. Use the fields and input types below to build a query.
Root field: textContentTypes · Object type: TextContentType · Result: TextContentTypeConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Short! | Value | |
Name | String! | Value | |
DisplayName | String | Value | |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
textContent | TextContentConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: TextContentTypeFilterInput
| Input field | Type |
|---|---|
Id | ShortFilterInput |
Name | StringFilterInput |
DisplayName | StringFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
textContent | TextContentFilterInput |
and | [TextContentTypeFilterInput] |
or | [TextContentTypeFilterInput] |
orderBy: TextContentTypeOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
DisplayName | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
TextContent textContents
Schema-defined collection. Use the fields and input types below to build a query.
Root field: textContents · Object type: TextContent · Result: TextContentConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
Name | String! | Value | |
Title | String | Value | |
Description | String | Value | |
ContentHtml | String! | Value | |
ContentPlainText | String | Value | |
AsOfDate | DateTime | Value | |
VisibilityGroupId | UnsignedByte! | Value | |
TextContentTypeId | Short! | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
textContentType | TextContentType | Single object relationship | Select this object’s fields directly; do not add items. |
coordinationEntity | CoordinationEntityConnection | Paged relationship | Select items and page information. |
plan | PlanConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: TextContentFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
Name | StringFilterInput |
Title | StringFilterInput |
Description | StringFilterInput |
ContentHtml | StringFilterInput |
ContentPlainText | StringFilterInput |
AsOfDate | DateTimeFilterInput |
VisibilityGroupId | UnsignedByteFilterInput |
TextContentTypeId | ShortFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
textContentType | TextContentTypeFilterInput |
coordinationEntity | CoordinationEntityFilterInput |
plan | PlanFilterInput |
and | [TextContentFilterInput] |
or | [TextContentFilterInput] |
orderBy: TextContentOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
Name | OrderBy |
Title | OrderBy |
Description | OrderBy |
ContentHtml | OrderBy |
ContentPlainText | OrderBy |
AsOfDate | OrderBy |
VisibilityGroupId | OrderBy |
TextContentTypeId | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
ProjectBudget projectBudgets
Schema-defined collection. Use the fields and input types below to build a query.
Root field: projectBudgets · Object type: ProjectBudget · Result: ProjectBudgetConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Id | Int! | Value | |
ProjectId | Int! | Value | |
BudgetSegmentName | String | Value | |
BudgetLineItemName | String | Value | |
BudgetBreakdownType | String | Value | |
Amount | Decimal | Value | |
PercentValue | Decimal | Value | |
ContentJson | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value | |
coordinationEntity | CoordinationEntityConnection | Paged relationship | Select items and page information. |
organization | OrganizationConnection | Paged relationship | Select items and page information. |
sector | SectorConnection | Paged relationship | Select items and page information. |
Filter and ordering inputs
filter: ProjectBudgetFilterInput
| Input field | Type |
|---|---|
Id | IntFilterInput |
ProjectId | IntFilterInput |
BudgetSegmentName | StringFilterInput |
BudgetLineItemName | StringFilterInput |
BudgetBreakdownType | StringFilterInput |
Amount | DecimalFilterInput |
PercentValue | DecimalFilterInput |
ContentJson | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
coordinationEntity | CoordinationEntityFilterInput |
organization | OrganizationFilterInput |
sector | SectorFilterInput |
and | [ProjectBudgetFilterInput] |
or | [ProjectBudgetFilterInput] |
orderBy: ProjectBudgetOrderByInput
| Input field | Type |
|---|---|
Id | OrderBy |
ProjectId | OrderBy |
BudgetSegmentName | OrderBy |
BudgetLineItemName | OrderBy |
BudgetBreakdownType | OrderBy |
Amount | OrderBy |
PercentValue | OrderBy |
ContentJson | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
PlanPeriodRel planPeriodRels
Schema-defined collection. Use the fields and input types below to build a query.
Root field: planPeriodRels · Object type: PlanPeriodRel · Result: PlanPeriodRelConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
PlanId | Int! | Value | |
PeriodId | Int! | Value |
Filter and ordering inputs
filter: PlanPeriodRelFilterInput
| Input field | Type |
|---|---|
PlanId | IntFilterInput |
PeriodId | IntFilterInput |
and | [PlanPeriodRelFilterInput] |
or | [PlanPeriodRelFilterInput] |
orderBy: PlanPeriodRelOrderByInput
| Input field | Type |
|---|---|
PlanId | OrderBy |
PeriodId | OrderBy |
Language languages
Schema-defined collection. Use the fields and input types below to build a query.
Root field: languages · Object type: Language · Result: LanguageConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
Code | String! | Value | |
Name | String! | Value | |
NativeName | String | Value | |
IsRtl | Boolean! | Value | |
SortOrder | Int | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value |
Filter and ordering inputs
filter: LanguageFilterInput
| Input field | Type |
|---|---|
Code | StringFilterInput |
Name | StringFilterInput |
NativeName | StringFilterInput |
IsRtl | BooleanFilterInput |
SortOrder | IntFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
and | [LanguageFilterInput] |
or | [LanguageFilterInput] |
orderBy: LanguageOrderByInput
| Input field | Type |
|---|---|
Code | OrderBy |
Name | OrderBy |
NativeName | OrderBy |
IsRtl | OrderBy |
SortOrder | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
CurrencyTranslation currencyTranslations
Schema-defined collection. Use the fields and input types below to build a query.
Root field: currencyTranslations · Object type: CurrencyTranslation · Result: CurrencyTranslationConnection!
| Field | GraphQL type | Kind | Notes |
|---|---|---|---|
CurrencyId | Short! | Value | |
LanguageCode | String! | Value | |
Name | String! | Value | |
Description | String | Value | |
CreatedAt | DateTime | Value | |
UpdatedAt | DateTime | Value |
Filter and ordering inputs
filter: CurrencyTranslationFilterInput
| Input field | Type |
|---|---|
CurrencyId | ShortFilterInput |
LanguageCode | StringFilterInput |
Name | StringFilterInput |
Description | StringFilterInput |
CreatedAt | DateTimeFilterInput |
UpdatedAt | DateTimeFilterInput |
and | [CurrencyTranslationFilterInput] |
or | [CurrencyTranslationFilterInput] |
orderBy: CurrencyTranslationOrderByInput
| Input field | Type |
|---|---|
CurrencyId | OrderBy |
LanguageCode | OrderBy |
Name | OrderBy |
Description | OrderBy |
CreatedAt | OrderBy |
UpdatedAt | OrderBy |
Structural contract and business meaning
The field names, types and relationship shapes above come from the schema. Business labels such as field cluster type 10, country level 0, and the original/current revision rule come from the supplied documentation. Where a field has no description in the schema, do not infer extra guarantees from its name.
AttachmentType, EntityMainType and RecordStatus are Strings in this export, not GraphQL enums. The example values are useful conventions, not a schema-enforced exhaustive value list.
Use reference collections such as entityTypes, metricTypes and revisionStates to resolve IDs. Ask the API team about business meaning that is not documented.
Requirements and results
Retrieve planned and reported values while keeping metric, revision, owner and reporting-period context.
Choose planned values or reported results
| Data | Start from | Interpret with |
|---|---|---|
| Planned values / requirements | attachmentFacts | Attachment owner and type, MetricTypeId, revision, unit and dimensions |
| Reported values / results | measurementFacts | MetricTypeId, measurement and reporting period, unit and dimensions |
The same ValueNum field can represent different metrics. A row is not a financial requirement merely because it contains a number. Keep the IDs and context that explain it.
Plan requirement rows
query PlanRequirementRows($planId: Int!, $first: Int!, $after: String) {
attachmentFacts(
first: $first
after: $after
filter: {
IsTotal: { eq: true }
RevisionStateId: { in: [1, 2] }
attachment: {
PlanId: { eq: $planId }
EntityMainType: { eq: "Plan" }
AttachmentType: { eq: "Cost" }
}
}
orderBy: { Id: ASC }
) {
items {
Id
AttachmentId
MetricTypeId
RevisionStateId
IsTotal
ValueNum
metricType { Id Name }
attachment { Id Name PlanId EntityMainType AttachmentType UnitId }
}
hasNextPage
endCursor
}
}{
"planId": 1202,
"first": 20,
"after": null
}| Filter | Purpose |
|---|---|
IsTotal: { eq: true } | Select total rows and exclude breakdown rows for this example. |
RevisionStateId: { in: [1, 2] } | Return original and current states used in the supplied requirement rule. |
attachment.PlanId = $planId | Select the plan context. |
attachment.EntityMainType = "Plan" | Require direct Plan ownership; exclude cluster or other owners. |
attachment.AttachmentType = "Cost" | Select Cost definitions rather than Caseload or Indicator definitions. |
MetricTypeId and metricType.Name explain each returned value. Retain AttachmentId so different attachments do not become one unexplained total. Continue paging before deciding that a revision is absent.
Select original and current values
| Available rows for the same attachment and metric | Original | Current |
|---|---|---|
| State 1 only | State 1 | State 1 as fallback |
| States 1 and 2 | State 1 | State 2 |
| State 2 only | Missing; do not invent it | State 2 |
| Neither state | Missing | Missing |
This rule comes from the supplied documentation: state 1 is Original and state 2 is Current. If other states appear, resolve them through revisionStates before using them. The sample requirement query deliberately requests only 1 and 2.
For each AttachmentId + MetricTypeId:
original = the state 1 row, if present
current = the state 2 row, if present
if the state 2 row is absent:
current = original
Keep zero as zero.
Keep a null ValueNum as missing; do not replace it with zero.
Do not add the Original and Current revisions together.
If several rows remain for the same key and revision,
check their dimensions and metric context before combining them.Apply fallback per attachment and metric, not once for the whole plan. Finding one state 2 row does not prove every attachment has a revised value. A state 2 row with ValueNum = 0 is a real current value; do not use a truthiness test to replace it.
Plan requirements by calendar year
query RequirementRowsByYear($year: Int!, $first: Int!, $after: String) {
attachmentFacts(
first: $first
after: $after
filter: {
IsTotal: { eq: true }
RevisionStateId: { in: [1, 2] }
attachment: {
EntityMainType: { eq: "Plan" }
AttachmentType: { eq: "Cost" }
plan: { period: { CalendarYear: { eq: $year } } }
}
}
orderBy: { Id: ASC }
) {
items {
Id
AttachmentId
MetricTypeId
RevisionStateId
ValueNum
metricType { Id Name }
attachment { Id Name PlanId UnitId plan { Id Name PlanCode } }
}
hasNextPage
endCursor
}
}{
"year": 2026,
"first": 20,
"after": null
}The relationship filter follows AttachmentFact.attachment → Attachment.plan → Plan.period. The year belongs to Period. This query returns matching cost facts; plans without those facts do not appear. Run Plans by year separately if your report must include all plans, including those with missing requirements.
Field-cluster costs
query FieldClusterCostRows($planId: Int!, $first: Int!, $after: String) {
attachmentFacts(
first: $first
after: $after
filter: {
IsTotal: { eq: true }
RevisionStateId: { in: [1, 2] }
attachment: {
PlanId: { eq: $planId }
EntityMainType: { eq: "CoordinationEntity" }
AttachmentType: { eq: "Cost" }
coordinationEntity: { EntityTypeId: { eq: 10 } }
}
}
orderBy: { Id: ASC }
) {
items {
Id
AttachmentId
MetricTypeId
RevisionStateId
SectorId
ValueNum
metricType { Id Name }
attachment {
Id
PlanId
EntityId
UnitId
coordinationEntity { Id Name EntityTypeId }
}
}
hasNextPage
endCursor
}
}{
"planId": 1202,
"first": 20,
"after": null
}These rows belong to CoordinationEntity owners of type 10. The response contains the local cluster ID and name. Use Field clusters and their global sectors on the Sample Queries page to obtain the global sector mappings.
A cluster can map to several sectors. Repeating the full cluster total under each sector would double-count it. SectorId can also be null on total rows. Use explicit breakdown rows and an agreed attribution rule when building sector totals.
A plan total and its cluster totals can represent different aggregation levels. Do not add them together as if they were independent components. Likewise, do not add a total row to the breakdown rows it summarizes.
Reported results and periods
query ReportedResults($attachmentId: Int!, $first: Int!, $after: String) {
measurementFacts(
first: $first
after: $after
filter: { AttachmentId: { eq: $attachmentId }, IsTotal: { eq: true } }
orderBy: { Id: ASC }
) {
items {
Id
AttachmentId
MeasurementId
MetricTypeId
ValueNum
metricType { Id Name }
measurement {
Id
MeasurementPeriodId
MeasurementType
planReportingPeriod { Id PlanId PeriodNumber StartDate EndDate }
}
}
hasNextPage
endCursor
}
}{
"attachmentId": 123,
"first": 20,
"after": null
}MeasurementFact.measurement is one object. Its planReportingPeriod gives the reporting period number and dates. Keep the period context when comparing results or identifying the observation your report needs.
This query returns all matching periods. It does not automatically calculate the latest result, a cumulative total or progress against a target. Agree those rules for your use case before summing observations over time.
Resolve reference IDs
query ReferenceMeanings {
metricTypes(first: 20, orderBy: { Id: ASC }) {
items { Id Name Description }
hasNextPage
endCursor
}
revisionStates(first: 20, orderBy: { Id: ASC }) {
items { Id Name DisplayName Description }
hasNextPage
endCursor
}
}Use these labels to explain values in your application. If a metric or unit remains unclear, contact the SPPB-Tools team with the AttachmentId and MetricTypeId. A null numeric value means missing data in that field, not zero.
Sample Queries
Copy simple GraphQL queries, change their fixed values or JSON variables, and inspect the returned data.
How to use these examples
Choose an example and copy its GraphQL query into the API test console. Where a Variables block is shown, copy it separately into Variables. Fixed-value queries need no variables; leave the box empty or use {}.
The example IDs are placeholders for syntax, not verified live records. Obtain a PlanId from a plan list, a ProjectId from projects, or an AttachmentId from an attachment or fact query, then replace the example value.
Start with 20 rows. To continue a paged query, set its after variable to the returned endCursor while hasNextPage is true. Nested connections have separate cursors.
Query catalogue
No matching query.
1. Currencies: first page
Start with a small reference query. This retrieves a page, not a guarantee of every currency.
query Currencies {
currencies(first: 10, orderBy: { Id: ASC }) {
items { Id Code }
hasNextPage
endCursor
}
}No variables required. Use an empty Variables box or {}.
2. Currency by code: fixed value
Return the currency whose code equals USD.
query CurrencyUSD {
currencies(first: 1, filter: { Code: { eq: "USD" } }) {
items { Id Code }
}
}No variables required. Use an empty Variables box or {}.
3. Currency by code: variable
Reuse the same query for USD, EUR, CHF or another code.
query CurrencyByCode($code: String!) {
currencies(first: 1, filter: { Code: { eq: $code } }) {
items { Id Code }
}
}{
"code": "USD"
}4. Active countries
Return country-level locations. Both filter conditions must match.
query ActiveCountries($first: Int!, $after: String) {
locations(
first: $first
after: $after
filter: { AdminLevel: { eq: 0 }, RecordStatus: { eq: "Active" } }
orderBy: { Id: ASC }
) {
items { Id Name ISO3 Pcode AdminLevel }
hasNextPage
endCursor
}
}{
"first": 20,
"after": null
}AdminLevel = 0 is the country level in the supplied documentation. Remove RecordStatus only if you also need inactive locations.
5. Planning periods and years
CalendarYear is on Period, not Plan. Inspect the available period rows before selecting a year.
query PlanningPeriods($first: Int!, $after: String) {
periods(first: $first, after: $after, orderBy: { Id: ASC }) {
items { Id Name CalendarYear PeriodType StartDate EndDate }
hasNextPage
endCursor
}
}{
"first": 20,
"after": null
}Different period rows can share a calendar year. This is a list of periods, not a distinct list of years.
6. Plans: one page
List plans and request only their basic fields.
query PlansPage($first: Int!, $after: String) {
plans(first: $first, after: $after, orderBy: { Id: ASC }) {
items { Id Name PlanCode PlanType StartDate EndDate }
hasNextPage
endCursor
}
}{
"first": 20,
"after": null
}7. Plan by ID: fixed value
Select the plan whose Id equals 1202. Replace 1202 with an ID from Plans: one page.
query Plan1202 {
plans(first: 1, filter: { Id: { eq: 1202 } }) {
items { Id Name PlanCode StartDate EndDate }
}
}No variables required. Use an empty Variables box or {}.
Example IDs illustrate syntax. They are not a promise that a matching record is available to your subscription.
8. Plan by ID: variable
Keep the query unchanged and supply a different planId in Variables.
query PlanById($planId: Int!) {
plans(first: 1, filter: { Id: { eq: $planId } }) {
items { Id Name PlanCode StartDate EndDate }
}
}{
"planId": 1202
}9. Plan with emergencies and countries
Follow collection relationships from a plan. Each nested collection has its own page information.
query PlanWithContext($planId: Int!) {
plans(first: 1, filter: { Id: { eq: $planId } }) {
items {
Id
Name
emergency(first: 10, orderBy: { Id: ASC }) {
items { Id Name EmergencyType EmergencyDate }
hasNextPage
endCursor
}
location(first: 10, filter: { AdminLevel: { eq: 0 } }, orderBy: { Id: ASC }) {
items { Id Name ISO3 }
hasNextPage
endCursor
}
}
}
}{
"planId": 1202
}10. Plans by year: fixed value
Select plans with a related Period for calendar year 2026.
query PlansIn2026 {
plans(first: 20, filter: { period: { CalendarYear: { eq: 2026 } } }, orderBy: { Id: ASC }) {
items { Id Name PlanCode }
hasNextPage
endCursor
}
}No variables required. Use an empty Variables box or {}.
11. Plans by year: variables and periods
The outer relationship filter selects plans. The inner filter limits the period rows shown for each plan.
query PlansByYear($year: Int!, $first: Int!, $after: String) {
plans(
first: $first
after: $after
filter: { period: { CalendarYear: { eq: $year } } }
orderBy: { Id: ASC }
) {
items {
Id
Name
PlanCode
period(first: 10, filter: { CalendarYear: { eq: $year } }, orderBy: { Id: ASC }) {
items { Id CalendarYear PeriodType }
hasNextPage
endCursor
}
}
hasNextPage
endCursor
}
}{
"year": 2026,
"first": 20,
"after": null
}12. Project and its plan
Start from a project and follow plan, which returns one object rather than a collection.
query ProjectWithPlan($projectId: Int!) {
projects(first: 1, filter: { Id: { eq: $projectId } }) {
items {
Id
Name
ProjectCode
PlanId
plan { Id Name PlanCode }
}
}
}{
"projectId": 12345
}Get a real project ID from Projects by plan before using this example.
13. Emergencies by plan
Use the reverse relationship to find emergencies linked to a selected plan.
query EmergenciesByPlan($planId: Int!, $first: Int!, $after: String) {
emergencies(
first: $first
after: $after
filter: { plan: { Id: { eq: $planId } } }
orderBy: { Id: ASC }
) {
items { Id Name EmergencyType EmergencyDate }
hasNextPage
endCursor
}
}{
"planId": 1202,
"first": 20,
"after": null
}14. Projects by plan
Project has a direct PlanId field, so use a direct filter.
query ProjectsByPlan($planId: Int!, $first: Int!, $after: String) {
projects(first: $first, after: $after, filter: { PlanId: { eq: $planId } }, orderBy: { Id: ASC }) {
items { Id Name ProjectCode PlanId IsPublished CurrentRequestedFunds }
hasNextPage
endCursor
}
}{
"planId": 1202,
"first": 20,
"after": null
}15. Sectors by plan
Find global sectors connected to field clusters in a selected plan.
query SectorsByPlan($planId: Int!, $first: Int!, $after: String) {
sectors(
first: $first
after: $after
filter: { coordinationEntity: { PlanId: { eq: $planId }, EntityTypeId: { eq: 10 } } }
orderBy: { Id: ASC }
) {
items { Id Name SectorCode SectorType }
hasNextPage
endCursor
}
}{
"planId": 1202,
"first": 20,
"after": null
}EntityTypeId 10 identifies field clusters in the supplied documentation. This returns global sectors, not the local cluster names.
16. Field clusters and their global sectors
Return plan-level names and follow sector to their global reference records.
query FieldClustersByPlan($planId: Int!, $first: Int!, $after: String) {
coordinationEntities(
first: $first
after: $after
filter: { PlanId: { eq: $planId }, EntityTypeId: { eq: 10 } }
orderBy: { Id: ASC }
) {
items {
Id
Name
PlanId
EntityTypeId
sector(first: 10, orderBy: { Id: ASC }) {
items { Id Name SectorCode }
hasNextPage
endCursor
}
}
hasNextPage
endCursor
}
}{
"planId": 1202,
"first": 20,
"after": null
}A field cluster may link to more than one global sector. Do not assign its total to each sector automatically.
17. Coordination entities by project
Use a relationship filter to find coordination entities connected to a project.
query CoordinationEntitiesByProject($projectId: Int!, $first: Int!, $after: String) {
coordinationEntities(
first: $first
after: $after
filter: { project: { Id: { eq: $projectId } } }
orderBy: { Id: ASC }
) {
items { Id Name PlanId EntityTypeId }
hasNextPage
endCursor
}
}{
"projectId": 12345,
"first": 20,
"after": null
}18. Organizations by name
Search within Name. Replace OCHA with the text you need.
query OrganizationsByName($name: String!, $first: Int!, $after: String) {
organizations(
first: $first
after: $after
filter: { Name: { contains: $name } }
orderBy: { Id: ASC }
) {
items { Id Name Abbreviation url }
hasNextPage
endCursor
}
}{
"name": "OCHA",
"first": 20,
"after": null
}Avoid an empty name search, which can match many rows. Text matching follows the service’s database settings.
19. Organizations by name OR ID
A row qualifies when either its name contains OCHA or its ID equals 123.
query OrganizationsNameOrId {
organizations(
first: 20
filter: { or: [ { Name: { contains: "OCHA" } }, { Id: { eq: 123 } } ] }
orderBy: { Id: ASC }
) {
items { Id Name Abbreviation }
hasNextPage
endCursor
}
}No variables required. Use an empty Variables box or {}.
20. Plan requirement rows
Return original and current total cost rows owned directly by a plan. Read the Requirements and results section before combining these values.
query PlanRequirementRows($planId: Int!, $first: Int!, $after: String) {
attachmentFacts(
first: $first
after: $after
filter: {
IsTotal: { eq: true }
RevisionStateId: { in: [1, 2] }
attachment: {
PlanId: { eq: $planId }
EntityMainType: { eq: "Plan" }
AttachmentType: { eq: "Cost" }
}
}
orderBy: { Id: ASC }
) {
items {
Id
AttachmentId
MetricTypeId
RevisionStateId
IsTotal
ValueNum
metricType { Id Name }
attachment { Id Name PlanId EntityMainType AttachmentType UnitId }
}
hasNextPage
endCursor
}
}{
"planId": 1202,
"first": 20,
"after": null
}Keep AttachmentId and MetricTypeId when selecting revisions. An absent state 2 can fall back to state 1 for the same metric; zero is a value, not an absent row.
21. Plan requirements by year
Retrieve cost facts using their plan’s period relationship. This flat result is easier to page than several nested fact collections.
query RequirementRowsByYear($year: Int!, $first: Int!, $after: String) {
attachmentFacts(
first: $first
after: $after
filter: {
IsTotal: { eq: true }
RevisionStateId: { in: [1, 2] }
attachment: {
EntityMainType: { eq: "Plan" }
AttachmentType: { eq: "Cost" }
plan: { period: { CalendarYear: { eq: $year } } }
}
}
orderBy: { Id: ASC }
) {
items {
Id
AttachmentId
MetricTypeId
RevisionStateId
ValueNum
metricType { Id Name }
attachment { Id Name PlanId UnitId plan { Id Name PlanCode } }
}
hasNextPage
endCursor
}
}{
"year": 2026,
"first": 20,
"after": null
}This finds requirement rows for plans linked to the year. Plans without matching cost facts are absent; use Plans by year for a complete plan list.
22. Field-cluster cost rows
Retrieve total cost facts and their owning coordination entity. The relationship filter limits the owners to field clusters.
query FieldClusterCostRows($planId: Int!, $first: Int!, $after: String) {
attachmentFacts(
first: $first
after: $after
filter: {
IsTotal: { eq: true }
RevisionStateId: { in: [1, 2] }
attachment: {
PlanId: { eq: $planId }
EntityMainType: { eq: "CoordinationEntity" }
AttachmentType: { eq: "Cost" }
coordinationEntity: { EntityTypeId: { eq: 10 } }
}
}
orderBy: { Id: ASC }
) {
items {
Id
AttachmentId
MetricTypeId
RevisionStateId
SectorId
ValueNum
metricType { Id Name }
attachment {
Id
PlanId
EntityId
UnitId
coordinationEntity { Id Name EntityTypeId }
}
}
hasNextPage
endCursor
}
}{
"planId": 1202,
"first": 20,
"after": null
}SectorId may be null on total rows. These are cluster totals; the SectorId field alone is not a complete sector-attribution rule.
23. Reported result rows by attachment
MeasurementFact contains reported values. Follow measurement to its reporting period.
query ReportedResults($attachmentId: Int!, $first: Int!, $after: String) {
measurementFacts(
first: $first
after: $after
filter: { AttachmentId: { eq: $attachmentId }, IsTotal: { eq: true } }
orderBy: { Id: ASC }
) {
items {
Id
AttachmentId
MeasurementId
MetricTypeId
ValueNum
metricType { Id Name }
measurement {
Id
MeasurementPeriodId
MeasurementType
planReportingPeriod { Id PlanId PeriodNumber StartDate EndDate }
}
}
hasNextPage
endCursor
}
}{
"attachmentId": 123,
"first": 20,
"after": null
}Replace 123 with an AttachmentId returned by a requirement query or an attachments query. This example returns all matching reporting periods, not a computed latest value.
24. Metric types and revision states
Resolve numeric classification IDs using reference collections.
query ReferenceMeanings {
metricTypes(first: 20, orderBy: { Id: ASC }) {
items { Id Name Description }
hasNextPage
endCursor
}
revisionStates(first: 20, orderBy: { Id: ASC }) {
items { Id Name DisplayName Description }
hasNextPage
endCursor
}
}No variables required. Use an empty Variables box or {}.
These two collections page independently. Use a separate request for either collection if more rows remain.
25. Plans by a list of IDs
The in operator accepts several IDs.
query PlansByIds {
plans(first: 10, filter: { Id: { in: [1202, 1263] } }, orderBy: { Id: ASC }) {
items { Id Name PlanCode }
hasNextPage
endCursor
}
}No variables required. Use an empty Variables box or {}.
26. Locations without a parent
Use isNull to find missing values. This does not by itself mean the location is a country.
query LocationsWithoutParent {
locations(first: 20, filter: { ParentId: { isNull: true } }, orderBy: { Id: ASC }) {
items { Id Name AdminLevel ParentId }
hasNextPage
endCursor
}
}No variables required. Use an empty Variables box or {}.
28. Rename response fields with aliases
Aliases change the names in the JSON response, not the names in the schema.
query PlanAliases {
plans(first: 1, filter: { Id: { eq: 1202 } }) {
items { planId: Id planName: Name }
}
}No variables required. Use an empty Variables box or {}.
Use the API in applications
Send authenticated GraphQL requests from Postman or code, handle errors, and plan your API usage.
Request format
| Setting | Value |
|---|---|
| HTTP method | POST |
| Endpoint | https://api.humanitarianaction.info/graphql/v1 |
| Content-Type | application/json |
| Subscription header | Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY |
| Body | A JSON object with a GraphQL query string and a variables object |
Use either active subscription key from Profile. Portal Entra ID sign-in does not mean your application must obtain a Fabric token. For this documented gateway route, send the APIM subscription key.
{
"query": "query PlanById($planId: Int!) {\n plans(first: 1, filter: { Id: { eq: $planId } }) {\n items { Id Name PlanCode StartDate EndDate }\n }\n}\n",
"variables": {
"planId": 1202
}
}Postman
- Create a new HTTP request and select POST.
- Enter the endpoint above.
- Add the
Ocp-Apim-Subscription-Keyheader with your active key. - Under Body, select GraphQL. Paste the query from Plan by ID: variable into Query and its JSON into Variables. Alternatively, select raw JSON and paste the complete request body above.
- Ensure
Content-Typeisapplication/json, send the request, and inspect both the status and body.
cURL on Windows
Copy the complete JSON request body above into a file named request.json. From that file’s folder, replace the key placeholder and run this command. It sends the file so you do not have to escape the query in the command line. On Linux or macOS, use curl in place of curl.exe.
curl.exe --request POST "https://api.humanitarianaction.info/graphql/v1" --header "Content-Type: application/json" --header "Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEY" --data-binary "@request.json"Python
Copy this code into call-api.py. It uses Python’s standard library. Set the HA_API_KEY environment variable, then run python call-api.py. Replace the example plan ID with one returned by the API.
import json
import os
from urllib.request import Request, urlopen
from urllib.error import HTTPError
url = "https://api.humanitarianaction.info/graphql/v1"
query = """
query PlanById($planId: Int!) {
plans(first: 1, filter: { Id: { eq: $planId } }) {
items { Id Name PlanCode StartDate EndDate }
}
}
"""
body = json.dumps({"query": query, "variables": {"planId": 1202}}).encode("utf-8")
request = Request(url, data=body, method="POST", headers={
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": os.environ["HA_API_KEY"]
})
try:
with urlopen(request, timeout=60) as response:
raw = response.read().decode("utf-8")
except HTTPError as error:
details = error.read().decode("utf-8", errors="replace")
raise RuntimeError(f"HTTP {error.code}: {details}") from error
result = json.loads(raw)
if result.get("errors"):
raise RuntimeError(json.dumps(result["errors"], indent=2))
for plan in result["data"]["plans"]["items"]:
print(plan["Id"], plan["Name"])Node.js
Use a Node.js version with built-in fetch, such as Node.js 18 or later. Save this code as call-api.mjs, set HA_API_KEY, then run node call-api.mjs.
const endpoint = "https://api.humanitarianaction.info/graphql/v1";
const key = process.env.HA_API_KEY;
if (!key) throw new Error("Set HA_API_KEY before running this example.");
const query = `query PlanById($planId: Int!) {
plans(first: 1, filter: { Id: { eq: $planId } }) {
items { Id Name PlanCode StartDate EndDate }
}
}`;
const response = await fetch(endpoint, {
method: "POST",
headers: {
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": key
},
body: JSON.stringify({ query, variables: { planId: 1202 } })
});
const text = await response.text();
if (!response.ok) throw new Error(`HTTP ${response.status}: ${text}`);
const result = JSON.parse(text);
if (result.errors?.length) throw new Error(JSON.stringify(result.errors));
for (const plan of result.data.plans.items) {
console.log(plan.Id, plan.Name);
}Excel & Power Query
Connect Excel or Power BI to the API and load GraphQL results into a table.
Before you start
You need an active API subscription key.
1. Open Power Query
In Excel:
- Open the Data tab.
- Select Get Data → From Other Sources → Blank Query.
In Power BI Desktop:
- Select Home → Transform data.
- In Power Query Editor, select New Source → Blank Query.
2. Add your subscription key
- In Power Query Editor, select Home → Manage Parameters → New Parameter.
- Use the settings below and paste your subscription key as the current value.
| Setting | Value |
|---|---|
| Name | pApimSubscriptionKey |
| Required | Yes |
| Type | Text |
| Suggested values | Any value |
| Current value | Paste only the subscription key value |
3. Add the Power Query code
- Select the blank query and open Home → Advanced Editor.
- Remove the existing content, copy the code below and select Done.
let
Endpoint = "https://api.humanitarianaction.info/graphql/v1",
GraphQLQuery = "
query {
plans(first: 100) {
items {
Id
Name
}
}
}",
Response = Json.Document(
Web.Contents(
Endpoint,
[
Headers = [
#"Ocp-Apim-Subscription-Key" = pApimSubscriptionKey,
#"Content-Type" = "application/json",
Accept = "application/json"
],
Content = Json.FromValue([
query = GraphQLQuery
]),
Timeout = #duration(0, 0, 5, 0)
]
)
),
GraphQLErrors = Record.FieldOrDefault(Response, "errors", null),
Items =
if GraphQLErrors <> null then
error Error.Record(
"GraphQL",
"The API returned GraphQL errors.",
GraphQLErrors
)
else
Response[data][plans][items],
Result = Table.FromRecords(Items)
in
Result
Id and Name of the first 100 Plans.
To retrieve different data, replace the GraphQLQuery section with
a query from the Sample Queries section of the API documentation. Inside a Power Query text value, write each
quotation mark from the GraphQL query as two quotation marks: "".
4. Connect and load the results
- When prompted for credentials, select Anonymous.
- Apply it to
https://api.humanitarianaction.info. - Select Organizational as the privacy level, then connect.
- In Excel, select Home → Close & Load.
- In Power BI Desktop, select Home → Close & Apply.
Handle HTTP and GraphQL errors
| Response | What to check |
|---|---|
| HTTP 200 | Inspect the errors array before treating the request as successful. Partial data and errors can appear together. |
| HTTP 400 | Check JSON syntax, the query’s field names and variable types. Read the body for the validation message. |
| HTTP 401 | Check that the subscription key is present, correct and active. If it is, report the response to the API team; authentication failures can have other causes. |
| HTTP 403 | Read the message: access may be denied or a product quota may be exhausted. For quota responses, follow Retry-After where supplied. |
| HTTP 429 | The short-term rate limit may be exceeded. Wait for the Retry-After interval when supplied. |
| HTTP 5xx | A service or backend problem may have occurred. Retry transient failures with a delay, then contact the API team if it persists. |
Do not retry invalid queries or authentication failures in a tight loop. For transient errors, use a bounded retry count and increasing delay. Keep partial responses only if your application has an explicit rule for doing so.
{
"errors": [
{
"message": "The field requested by the query is not available."
}
]
}An empty result items: [] with no errors is different from a failed request. It means no matching records were returned.
Usage and keys
The API supports application use. Choose a product whose rate and quota limits fit your workload. Each page request uses the allowance; a large nested query can still be costly even if it is one HTTP call.
Store application keys in environment variables or a secret store. Do not commit real keys to GitHub or embed a shared key in a public browser application. A server-side application can call the API and return the data its users need.
For higher limits, contact the SPPB-Tools team with your organization, application, expected request volume and extraction schedule. Include page sizes and the data you need.
Report a problem
Send the endpoint, query, variables, HTTP status, error response and time of the request, including the time zone. Include any request or correlation identifier returned in the headers. Remove subscription keys and sensitive values before sharing the details.