CampusAPI Financials Services API documentation version 0.1.5
Based on OSID version 3.0.0
https://base.url/financials
Overview
The Financials services provide management of financial data through G/L accounts, activity accounts, budgeting, and posting transactions.
This package includes the following entities:
Accounts
An Account is an account of the General Ledger. G/L Accounts are hierarchical to define more granular accounts. Root level accounts generally map to the top-level accounting equation.
Field | Description | Type |
---|---|---|
id(read‑only) | The unique id of this account, provided by system. | string(osid‑id) |
uri(read‑only) | The uri of this account, provided by system. | string(uri) |
displayName | The name of this account for display. | string |
description | The description of this account. | string |
genusTypeId (read‑only) | Id of the immutable type of this account. Default type set by system unless specified in query parameter. | string(osid‑id) |
recordTypeIds (read‑only) | Type Ids of record types available on this account. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere. | string(osid‑id)[] |
creditBalance | Tests if this account is a credit or debit account. | boolean |
code | A code for this G/L account. | string |
Activities
An Activity is a view of the General Ledger from an activity or organizational perspective. An Activity contains one or more Accounts from the General Ledger. Activities are also hierarchical and may be used to map to a financial organizational hierarchy.
Field | Description | Type |
---|---|---|
id(read‑only) | The unique id of this activity, provided by system. | string(osid‑id) |
uri(read‑only) | The uri of this activity, provided by system. | string(uri) |
displayName | The name of this activity for display. | string |
description | The description of this activity. | string |
genusTypeId (read‑only) | Id of the immutable type of this activity. Default type set by system unless specified in query parameter. | string(osid‑id) |
recordTypeIds (read‑only) | Type Ids of record types available on this activity. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere. | string(osid‑id)[] |
startDate | The starting date of this activity. | string(date‑time) |
endDate | The ending date of this activity. | string(date‑time) |
organizationId | The organization associated with this activity. References a resource.Resource object | string(osid‑id) |
supervisorId | The resource supervising this activity account. References a resource.Resource object | string(osid‑id) |
code | The code for this activity account. | string |
FiscalPeriods
A FiscalPeriod is a period of time used to capture transactions and perform reporting. Generally, a fiscal period is a fiscal quarter or year.
Field | Description | Type |
---|---|---|
id(read‑only) | The unique id of this fiscal period, provided by system. | string(osid‑id) |
uri(read‑only) | The uri of this fiscal period, provided by system. | string(uri) |
displayName | The name of this fiscal period for display. | string |
description | The description of this fiscal period. | string |
genusTypeId (read‑only) | Id of the immutable type of this fiscal period. Default type set by system unless specified in query parameter. | string(osid‑id) |
recordTypeIds (read‑only) | Type Ids of record types available on this fiscal period. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere. | string(osid‑id)[] |
displayLabel | A display label for this fiscal period which may be less formal than the display name. | string |
fiscalYear | Ges the fiscal year. | integer |
startDate | Get sthe start date of this period. | string(date‑time) |
endDate | Get sthe end date of this period. | string(date‑time) |
budgetDeadline | The budget deadline. | string(date‑time) |
postingDeadline | The last date transactions can be posted for this period. | string(date‑time) |
closing | The date of the closing for this period. | string(date‑time) |
Businesses
Accounts, Activities, and FiscalPeriods are organized into federaable Businesses.
Field | Description | Type |
---|---|---|
id(read‑only) | The unique id of this business, provided by system. | string(osid‑id) |
uri(read‑only) | The uri of this business, provided by system. | string(uri) |
displayName | The name of this business for display. | string |
description | The description of this business. | string |
genusTypeId (read‑only) | Id of the immutable type of this business. Default type set by system unless specified in query parameter. | string(osid‑id) |
recordTypeIds (read‑only) | Type Ids of record types available on this business. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere. | string(osid‑id)[] |
providerId | The provider of this business. References a resource.Resource object. | string(osid‑id) |
brandingIds | The branding of this business. References repository.Asset objects. | string(osid‑id)[] |
license | The licensing that applies to this business. | string |
License
CampusAPI REST Documentation Copyright 2023 DXtera Institute. Based on the Open Service Interface Definitions: http://osid.org
/accounts
Collection of Accounts in a system, federation of systems, or in a default Business.
Get all Accounts in the system or default Business.
Create a new Account in the default Business.
get /accounts
Get all Accounts in the system or default Business.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
- genusTypeId: (string)
The id string to match a genusType
Example:
type.Type%3AexampleAccountType%40dxtera.org
- parentGenusTypeId: (string)
The id string to match a parent genusType
Example:
type.Type%3AparentTypeExampleAccountType%40dxtera.org
- recordTypeId: (string)
The id string to match a recordType
Example:
type.Type%3AexampleAccountType%40campusapi.org
- code: (string)
query string to match code.
Example:
S9374
- businessId: (string)
The id string to match a business
Example:
financials.Business%3A8374%40base.url
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.Account:4240@base.url",
"uri": "http://base.url/open/campusapi/financials/account/financials.Account%3A4240%40base.url",
"displayName": "Display Name of this Account",
"description": "The description of this Account",
"genusTypeId": "type.Type:defaultAccountType@base.url",
"recordTypeIds": [ "type.Type:exampleAccountRecordType@campusapi.org", "..."],
"creditBalance": true,
"code": "This is the string for Code"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
post /accounts
Create a new Account in the default Business.
Query Parameters
- genusType: (string)
specify a particular account type to create
Example:
type.Type%3AexampleAccountType%40dxtera.org
- recordType: (array of )
specify support for one or more account record types
Example:
[ "type.Type%3AexampleAccountRecordType%40campusapi.org", "..." ]
- businessId: (string)
specify in which business to create this account
Example:
financials.Business%3A8374%40base.url
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Account",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this account, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this account, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this account for display.",
"type": "string"
},
"description": {
"description": "The description of this account.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this account. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this account. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"creditBalance": {
"description": "Tests if this account is a credit or debit account.",
"type": "boolean"
},
"code": {
"description": "A code for this G/L account.",
"type": "string"
}
}
}
Example:
{
"displayName": "Display Name of this Account",
"description": "The description of this Account",
"creditBalance": true,
"code": "This is the string for Code"
}
Query the collection of Accounts in a system, federation of systems, or in a default business by posting a Query object.
Submit a query using a AccountQuery object.
post /accounts/account-query
Submit a query using a AccountQuery object.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "AccountQuery",
"type": "object",
"properties": {
"matchIds": {
"description": "List of Ids to match. Boolean OR performed among multiple Ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchKeywords": {
"description": "List keywords to match. Multiple keywords can be added to perform a boolean OR among them. A keyword may be applied to any of the elements defined in this object such as the display name, description or any attribute defined in or implemented by this object.",
"type": "array",
"items": {
"type": "object",
"properties": {
"keyword": {
"description": "keyword to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDisplayNames": {
"description": "List of displayName strings to match. Boolean OR performed among multiple displayNames.",
"type": "array",
"items": {
"type": "object",
"properties": {
"displayName": {
"description": "displayName to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDescriptions": {
"description": "List of discription strings to match. Boolean OR performed among multiple descriptions.",
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"description": "description to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchGenusTypeIds": {
"description": "List of genus type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "genus type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchRecordTypeIds": {
"description": "List of record type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "record type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchCreditBalance": {
"description": "Match boolean value for creditBalance.",
"type": "object",
"properties": {
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
},
"matchCode": {
"description": "List of Code strings to match. Boolean OR performed among multiple codes.",
"type": "array",
"items": {
"type": "object",
"properties": {
"codes": {
"description": "codes to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchAnyCode": {
"description": "Match codes with any value. true to match Accounts with any code, false to match ProgramOfferings with no code",
"type": "boolean"
},
"matchBusinessIds": {
"description": "List of Business Id's to match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"businessId": {
"description": "Business id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"businessQueries": {
"description": "BusinessQueries to match Business. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
}
}
}
Example:
{
"matchDisplayNames": [
{
"displayName": "string to exclude",
"match": false
}
]
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.Account:4240@base.url",
"uri": "http://base.url/open/campusapi/financials/account/financials.Account%3A4240%40base.url",
"displayName": "Display Name of this Account",
"description": "The description of this Account",
"genusTypeId": "type.Type:defaultAccountType@base.url",
"recordTypeIds": [ "type.Type:exampleAccountRecordType@campusapi.org", "..."],
"creditBalance": true,
"code": "This is the string for Code"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a Account form metadata.
Get form metadata for creating a new Account.
get /accounts/metadata
Get form metadata for creating a new Account.
Query Parameters
- genusType: (string)
specify a particular account type to create
Example:
type.Type%3AexampleAccountType%40dxtera.org
- recordType: (array of )
specify support for one or more account record types
Example:
[ "type.Type%3AexampleAccountRecordType%40campusapi.org", "..." ]
- businessId: (string)
specify in which business to create this account
Example:
financials.Business%3A8374%40base.url
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "Account",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this account, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this account, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this account for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Account.Account:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this account",
"linked": false
},
"description": {
"description": "The description of this account.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Account.Account:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this account",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this account. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this account. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"creditBalance": {
"description": "Tests if this account is a credit or debit account.",
"type": "boolean",
"elementId": "financials.Account:creditBalance@dxtera.org",
"existingValue": false,
"elementLabel": "Credit Balance",
"instructions": "Enter true or false.",
"linked": false
},
"code": {
"description": "A code for this G/L account.",
"type": "string",
"read-only": false,
"minLength": null,
"maxLength": null,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.Account:code@dxtera.org",
"existingValue": "The existing code",
"elementLabel": "Code",
"instructions": "Enter a code for this account.",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
The root Accounts in the Account hierarchy. A node with no parents is an orphan. While all Account Ids are known to the hierarchy, an orphan does not appear in the hierarchy unless explicitly added as a root node or child of another node.
Get all root root-accounts
get /accounts/root-accounts
Get all root root-accounts
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.Account:4240@base.url",
"uri": "http://base.url/open/campusapi/financials/account/financials.Account%3A4240%40base.url",
"displayName": "Display Name of this Account",
"description": "The description of this Account",
"genusTypeId": "type.Type:defaultAccountType@base.url",
"recordTypeIds": [ "type.Type:exampleAccountRecordType@campusapi.org", "..."],
"creditBalance": true,
"code": "This is the string for Code"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Add the given Account as a root in the Account hierarchy
Remove the given Account as a root in the Account hierarchy.
put /accounts/root-accounts/{accountId}
Add the given Account as a root in the Account hierarchy
URI Parameters
- accountId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The Account has been added as a root" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "Account not found" }
delete /accounts/root-accounts/{accountId}
Remove the given Account as a root in the Account hierarchy.
URI Parameters
- accountId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The Account has been removed as a root from the hierarchy" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "Account not found" }
Entity representing a Account
Get a particular Account given its id.
Update a particular Account given its id.
Delete a particular Account given its id.
get /accounts/{accountId}
Get a particular Account given its id.
URI Parameters
- accountId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"id": "financials.Account:4240@base.url",
"uri": "http://base.url/open/campusapi/financials/account/financials.Account%3A4240%40base.url",
"displayName": "Display Name of this Account",
"description": "The description of this Account",
"genusTypeId": "type.Type:defaultAccountType@base.url",
"recordTypeIds": [ "type.Type:exampleAccountRecordType@campusapi.org", "..."],
"creditBalance": true,
"code": "This is the string for Code"
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "Account not found" }
put /accounts/{accountId}
Update a particular Account given its id.
URI Parameters
- accountId: required(string)
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Account",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this account, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this account, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this account for display.",
"type": "string"
},
"description": {
"description": "The description of this account.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this account. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this account. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"creditBalance": {
"description": "Tests if this account is a credit or debit account.",
"type": "boolean"
},
"code": {
"description": "A code for this G/L account.",
"type": "string"
}
}
}
Example:
{
"displayName": "Display Name of this Account",
"description": "The description of this Account",
"creditBalance": true,
"code": "This is the string for Code"
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The Account has been updated" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "Account not found" }
delete /accounts/{accountId}
Delete a particular Account given its id.
URI Parameters
- accountId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The Account has been deleted" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "Account not found" }
Entity representing a Account form metadata for update
Get form metadata for updating an existing Account.
get /accounts/{accountId}/metadata
Get form metadata for updating an existing Account.
URI Parameters
- accountId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "Account",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this account, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this account, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this account for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Account.Account:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this account",
"linked": false
},
"description": {
"description": "The description of this account.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Account.Account:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this account",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this account. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this account. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"creditBalance": {
"description": "Tests if this account is a credit or debit account.",
"type": "boolean",
"elementId": "financials.Account:creditBalance@dxtera.org",
"existingValue": false,
"elementLabel": "Credit Balance",
"instructions": "Enter true or false.",
"linked": false
},
"code": {
"description": "A code for this G/L account.",
"type": "string",
"read-only": false,
"minLength": null,
"maxLength": null,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.Account:code@dxtera.org",
"existingValue": "The existing code",
"elementLabel": "Code",
"instructions": "Enter a code for this account.",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "account not found" }
Get child Accounts for the given Account in the hierarchy.
get /accounts/{accountId}/children
Get child Accounts for the given Account in the hierarchy.
URI Parameters
- accountId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.Account:4240@base.url",
"uri": "http://base.url/open/campusapi/financials/account/financials.Account%3A4240%40base.url",
"displayName": "Display Name of this Account",
"description": "The description of this Account",
"genusTypeId": "type.Type:defaultAccountType@base.url",
"recordTypeIds": [ "type.Type:exampleAccountRecordType@campusapi.org", "..."],
"creditBalance": true,
"code": "This is the string for Code"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Add Account as child of the given Account in the hierarchy.
Remove the given Account as a child of the given Account in the hierarchy.
put /accounts/{accountId}/children/{childId}
Add Account as child of the given Account in the hierarchy.
URI Parameters
- accountId: required(string)
- childId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The child Account has been added to the hierarchy" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "account not found" }
delete /accounts/{accountId}/children/{childId}
Remove the given Account as a child of the given Account in the hierarchy.
URI Parameters
- accountId: required(string)
- childId: required(string)
Get parent Accounts for the given Account in the hierarchy.
get /accounts/{accountId}/parents
Get parent Accounts for the given Account in the hierarchy.
URI Parameters
- accountId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.Account:4240@base.url",
"uri": "http://base.url/open/campusapi/financials/account/financials.Account%3A4240%40base.url",
"displayName": "Display Name of this Account",
"description": "The description of this Account",
"genusTypeId": "type.Type:defaultAccountType@base.url",
"recordTypeIds": [ "type.Type:exampleAccountRecordType@campusapi.org", "..."],
"creditBalance": true,
"code": "This is the string for Code"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
/activities
Collection of Activities in a system, federation of systems, or in a default Business.
Get all Activities in the system or default Business.
Create a new Activity in the default Business.
get /activities
Get all Activities in the system or default Business.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "organization", "supervisor", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
- genusTypeId: (string)
The id string to match a genusType
Example:
type.Type%3AexampleActivityType%40dxtera.org
- parentGenusTypeId: (string)
The id string to match a parent genusType
Example:
type.Type%3AparentTypeExampleActivityType%40dxtera.org
- recordTypeId: (string)
The id string to match a recordType
Example:
type.Type%3AexampleActivityType%40campusapi.org
- fromDate: (string)
Get all activities from this date inclusive. Use with toDate to define date range query.
Example:
2020-10-03
- toDate: (string)
Get all activities up to this date inclusive. Use with fromDate to define date range query.
Example:
2020-12-18
- businessId: (string)
The id string to match a business
Example:
financials.Business%3A8374%40base.url
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.Activity:6597@base.url",
"uri": "http://base.url/open/campusapi/financials/activity/financials.Activity%3A6597%40base.url",
"displayName": "Display Name of this Activity",
"description": "The description of this Activity",
"genusTypeId": "type.Type:defaultActivityType@base.url",
"recordTypeIds": [ "type.Type:exampleActivityRecordType@campusapi.org", "..."],
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"organizationId": "resource.Resource:5187@base.url",
"supervisorId": "resource.Resource:7075@base.url",
"code": "This is the string for Code"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
post /activities
Create a new Activity in the default Business.
Query Parameters
- genusType: (string)
specify a particular activity type to create
Example:
type.Type%3AexampleActivityType%40dxtera.org
- recordType: (array of )
specify support for one or more activity record types
Example:
[ "type.Type%3AexampleActivityRecordType%40campusapi.org", "..." ]
- businessId: (string)
specify in which business to create this activity
Example:
financials.Business%3A8374%40base.url
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Activity",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this activity, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this activity, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this activity for display.",
"type": "string"
},
"description": {
"description": "The description of this activity.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this activity. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this activity. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"startDate": {
"description": "The starting date of this activity.",
"type": "string",
"format": "date-time"
},
"endDate": {
"description": "The ending date of this activity.",
"type": "string",
"format": "date-time"
},
"organizationId": {
"description": "The organization associated with this activity.",
"type": "string",
"format": "osid-id"
},
"supervisorId": {
"description": "The resource supervising this activity account.",
"type": "string",
"format": "osid-id"
},
"code": {
"description": "The code for this activity account.",
"type": "string"
}
}
}
Example:
{
"displayName": "Display Name of this Activity",
"description": "The description of this Activity",
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"organizationId": "resource.Resource:2714@base.url",
"supervisorId": "resource.Resource:9489@base.url",
"code": "This is the string for Code"
}
Query the collection of Activities in a system, federation of systems, or in a default business by posting a Query object.
Submit a query using a ActivityQuery object.
post /activities/activity-query
Submit a query using a ActivityQuery object.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "organization", "supervisor", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "ActivityQuery",
"type": "object",
"properties": {
"matchIds": {
"description": "List of Ids to match. Boolean OR performed among multiple Ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchKeywords": {
"description": "List keywords to match. Multiple keywords can be added to perform a boolean OR among them. A keyword may be applied to any of the elements defined in this object such as the display name, description or any attribute defined in or implemented by this object.",
"type": "array",
"items": {
"type": "object",
"properties": {
"keyword": {
"description": "keyword to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDisplayNames": {
"description": "List of displayName strings to match. Boolean OR performed among multiple displayNames.",
"type": "array",
"items": {
"type": "object",
"properties": {
"displayName": {
"description": "displayName to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDescriptions": {
"description": "List of discription strings to match. Boolean OR performed among multiple descriptions.",
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"description": "description to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchGenusTypeIds": {
"description": "List of genus type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "genus type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchRecordTypeIds": {
"description": "List of record type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "record type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchEffective": {
"description": "Match effective objects where the current date falls within the start and end dates inclusive. true to match any effective, false to match ineffective",
"type": "boolean"
},
"matchStartDate": {
"description": "Matches temporals whose start date falls in between the given dates inclusive.",
"type": "object",
"properties": {
"start": {
"description": "start of date range",
"type": "string",
"format": "date-time"
},
"end": {
"description": "end of date range",
"type": "string",
"format": "date-time"
},
"match": {
"description": "true if a positive match, false for negative match",
"type": "boolean"
}
}
},
"matchEndDate": {
"description": "Matches temporals whose end date falls in between the given dates inclusive.",
"type": "object",
"properties": {
"start": {
"description": "start of date range",
"type": "string",
"format": "date-time"
},
"end": {
"description": "end of date range",
"type": "string",
"format": "date-time"
},
"match": {
"description": "true if a positive match, false for negative match",
"type": "boolean"
}
}
},
"matchOrganizationIds": {
"description": "List of Resource Ids for this query to match organization.",
"type": "array",
"items": {
"type": "object",
"properties": {
"organizationId": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"organizationQueries": {
"description": "resource.ResourceQueries to match the Organization. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
},
"matchAnyOrganization": {
"description": "Match organization with any value. true to match Activities with any organization, false to match Activities with no organization",
"type": "boolean"
},
"matchSupervisorIds": {
"description": "List of Resource Ids for this query to match supervisor.",
"type": "array",
"items": {
"type": "object",
"properties": {
"supervisorId": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"supervisorQueries": {
"description": "resource.ResourceQueries to match the Supervisor. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
},
"matchAnySupervisor": {
"description": "Match supervisor with any value. true to match Activities with any supervisor, false to match Activities with no supervisor",
"type": "boolean"
},
"matchCode": {
"description": "List of Code strings to match. Boolean OR performed among multiple codes.",
"type": "array",
"items": {
"type": "object",
"properties": {
"codes": {
"description": "codes to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchAnyCode": {
"description": "Match codes with any value. true to match Activities with any code, false to match ProgramOfferings with no code",
"type": "boolean"
},
"matchBusinessIds": {
"description": "List of Business Id's to match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"businessId": {
"description": "Business id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"businessQueries": {
"description": "BusinessQueries to match Business. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
}
}
}
Example:
{
"matchDisplayNames": [
{
"displayName": "string to exclude",
"match": false
}
]
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.Activity:6597@base.url",
"uri": "http://base.url/open/campusapi/financials/activity/financials.Activity%3A6597%40base.url",
"displayName": "Display Name of this Activity",
"description": "The description of this Activity",
"genusTypeId": "type.Type:defaultActivityType@base.url",
"recordTypeIds": [ "type.Type:exampleActivityRecordType@campusapi.org", "..."],
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"organizationId": "resource.Resource:5187@base.url",
"supervisorId": "resource.Resource:7075@base.url",
"code": "This is the string for Code"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a Activity form metadata.
Get form metadata for creating a new Activity.
get /activities/metadata
Get form metadata for creating a new Activity.
Query Parameters
- genusType: (string)
specify a particular activity type to create
Example:
type.Type%3AexampleActivityType%40dxtera.org
- recordType: (array of )
specify support for one or more activity record types
Example:
[ "type.Type%3AexampleActivityRecordType%40campusapi.org", "..." ]
- businessId: (string)
specify in which business to create this activity
Example:
financials.Business%3A8374%40base.url
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "Activity",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this activity, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this activity, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this activity for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Activity.Activity:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this activity",
"linked": false
},
"description": {
"description": "The description of this activity.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Activity.Activity:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this activity",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this activity. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this activity. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"startDate": {
"description": "The starting date of this activity.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Activity.Activity:startDate@base.url",
"existingValue": "2020-10-03T08:00:00.000Z",
"elementLabel": "Start Date",
"instructions": "Enter a starting date for this activity",
"linked": false
},
"endDate": {
"description": "The ending date of this activity.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Activity.Activity:endDate@base.url",
"existingValue": "2020-12-18T17:00:00.000Z",
"elementLabel": "End Date",
"instructions": "Enter an ending date for this activity",
"linked": false
},
"organizationId": {
"description": "The organization associated with this activity.",
"type": "string",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.Activity:organization@dxtera.org",
"existingValue": null,
"elementLabel": "Organization",
"instructions": "Enter the Id of the organization for this activity.",
"linked": false
},
"supervisorId": {
"description": "The resource supervising this activity account.",
"type": "string",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.Activity:supervisor@dxtera.org",
"existingValue": null,
"elementLabel": "Supervisor",
"instructions": "Enter the Id of the supervisor for this activity.",
"linked": false
},
"code": {
"description": "The code for this activity account.",
"type": "string",
"read-only": false,
"minLength": null,
"maxLength": null,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.Activity:code@dxtera.org",
"existingValue": "The existing code",
"elementLabel": "Code",
"instructions": "Enter a code for this activity.",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
The root Activities in the Activity hierarchy. A node with no parents is an orphan. While all Activity Ids are known to the hierarchy, an orphan does not appear in the hierarchy unless explicitly added as a root node or child of another node.
Get all root root-activities
get /activities/root-activities
Get all root root-activities
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.Activity:6597@base.url",
"uri": "http://base.url/open/campusapi/financials/activity/financials.Activity%3A6597%40base.url",
"displayName": "Display Name of this Activity",
"description": "The description of this Activity",
"genusTypeId": "type.Type:defaultActivityType@base.url",
"recordTypeIds": [ "type.Type:exampleActivityRecordType@campusapi.org", "..."],
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"organizationId": "resource.Resource:5187@base.url",
"supervisorId": "resource.Resource:7075@base.url",
"code": "This is the string for Code"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Add the given Activity as a root in the Activity hierarchy
Remove the given Activity as a root in the Activity hierarchy.
put /activities/root-activities/{activityId}
Add the given Activity as a root in the Activity hierarchy
URI Parameters
- activityId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The Activity has been added as a root" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "Activity not found" }
delete /activities/root-activities/{activityId}
Remove the given Activity as a root in the Activity hierarchy.
URI Parameters
- activityId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The Activity has been removed as a root from the hierarchy" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "Activity not found" }
Entity representing a Activity
Get a particular Activity given its id.
Update a particular Activity given its id.
Delete a particular Activity given its id.
get /activities/{activityId}
Get a particular Activity given its id.
URI Parameters
- activityId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"id": "financials.Activity:6597@base.url",
"uri": "http://base.url/open/campusapi/financials/activity/financials.Activity%3A6597%40base.url",
"displayName": "Display Name of this Activity",
"description": "The description of this Activity",
"genusTypeId": "type.Type:defaultActivityType@base.url",
"recordTypeIds": [ "type.Type:exampleActivityRecordType@campusapi.org", "..."],
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"organizationId": "resource.Resource:5187@base.url",
"supervisorId": "resource.Resource:7075@base.url",
"code": "This is the string for Code"
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "Activity not found" }
put /activities/{activityId}
Update a particular Activity given its id.
URI Parameters
- activityId: required(string)
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Activity",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this activity, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this activity, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this activity for display.",
"type": "string"
},
"description": {
"description": "The description of this activity.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this activity. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this activity. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"startDate": {
"description": "The starting date of this activity.",
"type": "string",
"format": "date-time"
},
"endDate": {
"description": "The ending date of this activity.",
"type": "string",
"format": "date-time"
},
"organizationId": {
"description": "The organization associated with this activity.",
"type": "string",
"format": "osid-id"
},
"supervisorId": {
"description": "The resource supervising this activity account.",
"type": "string",
"format": "osid-id"
},
"code": {
"description": "The code for this activity account.",
"type": "string"
}
}
}
Example:
{
"displayName": "Display Name of this Activity",
"description": "The description of this Activity",
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"organizationId": "resource.Resource:2714@base.url",
"supervisorId": "resource.Resource:9489@base.url",
"code": "This is the string for Code"
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The Activity has been updated" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "Activity not found" }
delete /activities/{activityId}
Delete a particular Activity given its id.
URI Parameters
- activityId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The Activity has been deleted" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "Activity not found" }
Entity representing a Activity form metadata for update
Get form metadata for updating an existing Activity.
get /activities/{activityId}/metadata
Get form metadata for updating an existing Activity.
URI Parameters
- activityId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "Activity",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this activity, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this activity, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this activity for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Activity.Activity:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this activity",
"linked": false
},
"description": {
"description": "The description of this activity.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Activity.Activity:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this activity",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this activity. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this activity. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"startDate": {
"description": "The starting date of this activity.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Activity.Activity:startDate@base.url",
"existingValue": "2020-10-03T08:00:00.000Z",
"elementLabel": "Start Date",
"instructions": "Enter a starting date for this activity",
"linked": false
},
"endDate": {
"description": "The ending date of this activity.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Activity.Activity:endDate@base.url",
"existingValue": "2020-12-18T17:00:00.000Z",
"elementLabel": "End Date",
"instructions": "Enter an ending date for this activity",
"linked": false
},
"organizationId": {
"description": "The organization associated with this activity.",
"type": "string",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.Activity:organization@dxtera.org",
"existingValue": null,
"elementLabel": "Organization",
"instructions": "Enter the Id of the organization for this activity.",
"linked": false
},
"supervisorId": {
"description": "The resource supervising this activity account.",
"type": "string",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.Activity:supervisor@dxtera.org",
"existingValue": null,
"elementLabel": "Supervisor",
"instructions": "Enter the Id of the supervisor for this activity.",
"linked": false
},
"code": {
"description": "The code for this activity account.",
"type": "string",
"read-only": false,
"minLength": null,
"maxLength": null,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.Activity:code@dxtera.org",
"existingValue": "The existing code",
"elementLabel": "Code",
"instructions": "Enter a code for this activity.",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "activity not found" }
Get child Activities for the given Activity in the hierarchy.
get /activities/{activityId}/children
Get child Activities for the given Activity in the hierarchy.
URI Parameters
- activityId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.Activity:6597@base.url",
"uri": "http://base.url/open/campusapi/financials/activity/financials.Activity%3A6597%40base.url",
"displayName": "Display Name of this Activity",
"description": "The description of this Activity",
"genusTypeId": "type.Type:defaultActivityType@base.url",
"recordTypeIds": [ "type.Type:exampleActivityRecordType@campusapi.org", "..."],
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"organizationId": "resource.Resource:5187@base.url",
"supervisorId": "resource.Resource:7075@base.url",
"code": "This is the string for Code"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Add Activity as child of the given Activity in the hierarchy.
Remove the given Activity as a child of the given Activity in the hierarchy.
put /activities/{activityId}/children/{childId}
Add Activity as child of the given Activity in the hierarchy.
URI Parameters
- activityId: required(string)
- childId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The child Activity has been added to the hierarchy" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "activity not found" }
delete /activities/{activityId}/children/{childId}
Remove the given Activity as a child of the given Activity in the hierarchy.
URI Parameters
- activityId: required(string)
- childId: required(string)
Get parent Activities for the given Activity in the hierarchy.
get /activities/{activityId}/parents
Get parent Activities for the given Activity in the hierarchy.
URI Parameters
- activityId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.Activity:6597@base.url",
"uri": "http://base.url/open/campusapi/financials/activity/financials.Activity%3A6597%40base.url",
"displayName": "Display Name of this Activity",
"description": "The description of this Activity",
"genusTypeId": "type.Type:defaultActivityType@base.url",
"recordTypeIds": [ "type.Type:exampleActivityRecordType@campusapi.org", "..."],
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"organizationId": "resource.Resource:5187@base.url",
"supervisorId": "resource.Resource:7075@base.url",
"code": "This is the string for Code"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
/fiscal-periods
Collection of FiscalPeriods in a system, federation of systems, or in a default Business.
Get all FiscalPeriods in the system or default Business.
Create a new FiscalPeriod in the default Business.
get /fiscal-periods
Get all FiscalPeriods in the system or default Business.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
- genusTypeId: (string)
The id string to match a genusType
Example:
type.Type%3AexampleFiscalPeriodType%40dxtera.org
- parentGenusTypeId: (string)
The id string to match a parent genusType
Example:
type.Type%3AparentTypeExampleFiscalPeriodType%40dxtera.org
- recordTypeId: (string)
The id string to match a recordType
Example:
type.Type%3AexampleFiscalPeriodType%40campusapi.org
- fiscalPeriodDate: (string)
query string to match date-time within fiscalPeriod date range.
Example:
2020-10-03
- businessId: (string)
The id string to match a business
Example:
financials.Business%3A8374%40base.url
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.FiscalPeriod:9933@base.url",
"uri": "http://base.url/open/campusapi/financials/fiscal_period/financials.FiscalPeriod%3A9933%40base.url",
"displayName": "Display Name of this FiscalPeriod",
"description": "The description of this FiscalPeriod",
"genusTypeId": "type.Type:defaultFiscalPeriodType@base.url",
"recordTypeIds": [ "type.Type:exampleFiscalPeriodRecordType@campusapi.org", "..."],
"displayLabel": "This is the DisplayLabel",
"fiscalYear": 19,
"startDate": "2020-10-03T08:00:00.000Z",
"endDate": "2020-12-18T17:00:00.000Z",
"budgetDeadline": "2021-07-21T23:15:30.000Z",
"postingDeadline": "2021-07-21T23:15:30.000Z",
"closing": "2021-07-21T23:15:30.000Z"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
post /fiscal-periods
Create a new FiscalPeriod in the default Business.
Query Parameters
- genusType: (string)
specify a particular fiscalPeriod type to create
Example:
type.Type%3AexampleFiscalPeriodType%40dxtera.org
- recordType: (array of )
specify support for one or more fiscalPeriod record types
Example:
[ "type.Type%3AexampleFiscalPeriodRecordType%40campusapi.org", "..." ]
- businessId: (string)
specify in which business to create this fiscalPeriod
Example:
financials.Business%3A8374%40base.url
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "FiscalPeriod",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this fiscal period, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this fiscal period, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this fiscal period for display.",
"type": "string"
},
"description": {
"description": "The description of this fiscal period.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this fiscal period. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this fiscal period. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"displayLabel": {
"description": "A display label for this fiscal period which may be less formal than the display name.",
"type": "string"
},
"fiscalYear": {
"description": "Ges the fiscal year.",
"type": "integer"
},
"startDate": {
"description": "Get sthe start date of this period.",
"type": "string",
"format": "date-time"
},
"endDate": {
"description": "Get sthe end date of this period.",
"type": "string",
"format": "date-time"
},
"budgetDeadline": {
"description": "The budget deadline.",
"type": "string",
"format": "date-time"
},
"postingDeadline": {
"description": "The last date transactions can be posted for this period.",
"type": "string",
"format": "date-time"
},
"closing": {
"description": "The date of the closing for this period.",
"type": "string",
"format": "date-time"
}
}
}
Example:
{
"displayName": "Display Name of this FiscalPeriod",
"description": "The description of this FiscalPeriod",
"displayLabel": "This is the DisplayLabel",
"fiscalYear": 19,
"startDate": "2020-10-03T08:00:00.000Z",
"endDate": "2020-12-18T17:00:00.000Z",
"budgetDeadline": "2021-07-21T23:15:30.000Z",
"postingDeadline": "2021-07-21T23:15:30.000Z",
"closing": "2021-07-21T23:15:30.000Z"
}
Query the collection of FiscalPeriods in a system, federation of systems, or in a default business by posting a Query object.
Submit a query using a FiscalPeriodQuery object.
post /fiscal-periods/fiscal-period-query
Submit a query using a FiscalPeriodQuery object.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "FiscalPeriodQuery",
"type": "object",
"properties": {
"matchIds": {
"description": "List of Ids to match. Boolean OR performed among multiple Ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchKeywords": {
"description": "List keywords to match. Multiple keywords can be added to perform a boolean OR among them. A keyword may be applied to any of the elements defined in this object such as the display name, description or any attribute defined in or implemented by this object.",
"type": "array",
"items": {
"type": "object",
"properties": {
"keyword": {
"description": "keyword to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDisplayNames": {
"description": "List of displayName strings to match. Boolean OR performed among multiple displayNames.",
"type": "array",
"items": {
"type": "object",
"properties": {
"displayName": {
"description": "displayName to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDescriptions": {
"description": "List of discription strings to match. Boolean OR performed among multiple descriptions.",
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"description": "description to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchGenusTypeIds": {
"description": "List of genus type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "genus type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchRecordTypeIds": {
"description": "List of record type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "record type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDisplayLabel": {
"description": "List of DisplayLabel strings to match. Boolean OR performed among multiple displayLabels.",
"type": "array",
"items": {
"type": "object",
"properties": {
"displayLabels": {
"description": "displayLabels to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchAnyDisplayLabel": {
"description": "Match displayLabels with any value. true to match FiscalPeriods with any display label, false to match ProgramOfferings with no display label",
"type": "boolean"
},
"matchFiscalYear": {
"description": "Match FiscalPeriods with fiscalYears between the given integers inclusive.",
"type": "array",
"items": {
"type": "object",
"properties": {
"min": {
"description": "low number",
"type": "integer"
},
"max": {
"description": "high number",
"type": "integer"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchAnyFiscalYear": {
"description": "Match fiscalYears with any value. true to match FiscalPeriods with any fiscal year, false to match ProgramOfferings with no fiscal year",
"type": "boolean"
},
"matchStartDate": {
"description": "Matches startDates between the given date range inclusive.",
"type": "array",
"items": {
"type": "object",
"properties": {
"low": {
"description": "low date range",
"type": "string",
"format": "date-time"
},
"high": {
"description": "high date range",
"type": "string",
"format": "date-time"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchAnyStartDate": {
"description": "Match startDates with any value. true to match FiscalPeriods with any start date, false to match ProgramOfferings with no start date",
"type": "boolean"
},
"matchEndDate": {
"description": "Matches endDates between the given date range inclusive.",
"type": "array",
"items": {
"type": "object",
"properties": {
"low": {
"description": "low date range",
"type": "string",
"format": "date-time"
},
"high": {
"description": "high date range",
"type": "string",
"format": "date-time"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchAnyEndDate": {
"description": "Match endDates with any value. true to match FiscalPeriods with any end date, false to match ProgramOfferings with no end date",
"type": "boolean"
},
"matchBudgetDeadline": {
"description": "Matches budgetDeadlines between the given date range inclusive.",
"type": "array",
"items": {
"type": "object",
"properties": {
"low": {
"description": "low date range",
"type": "string",
"format": "date-time"
},
"high": {
"description": "high date range",
"type": "string",
"format": "date-time"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchAnyBudgetDeadline": {
"description": "Match budgetDeadlines with any value. true to match FiscalPeriods with any budget deadline, false to match ProgramOfferings with no budget deadline",
"type": "boolean"
},
"matchPostingDeadline": {
"description": "Matches postingDeadlines between the given date range inclusive.",
"type": "array",
"items": {
"type": "object",
"properties": {
"low": {
"description": "low date range",
"type": "string",
"format": "date-time"
},
"high": {
"description": "high date range",
"type": "string",
"format": "date-time"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchAnyPostingDeadline": {
"description": "Match postingDeadlines with any value. true to match FiscalPeriods with any posting deadline, false to match ProgramOfferings with no posting deadline",
"type": "boolean"
},
"matchClosing": {
"description": "Matches closings between the given date range inclusive.",
"type": "array",
"items": {
"type": "object",
"properties": {
"low": {
"description": "low date range",
"type": "string",
"format": "date-time"
},
"high": {
"description": "high date range",
"type": "string",
"format": "date-time"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchAnyClosing": {
"description": "Match closings with any value. true to match FiscalPeriods with any closing, false to match ProgramOfferings with no closing",
"type": "boolean"
},
"matchBusinessIds": {
"description": "List of Business Id's to match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"businessId": {
"description": "Business id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"businessQueries": {
"description": "BusinessQueries to match Business. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
}
}
}
Example:
{
"matchDisplayNames": [
{
"displayName": "string to exclude",
"match": false
}
]
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.FiscalPeriod:9933@base.url",
"uri": "http://base.url/open/campusapi/financials/fiscal_period/financials.FiscalPeriod%3A9933%40base.url",
"displayName": "Display Name of this FiscalPeriod",
"description": "The description of this FiscalPeriod",
"genusTypeId": "type.Type:defaultFiscalPeriodType@base.url",
"recordTypeIds": [ "type.Type:exampleFiscalPeriodRecordType@campusapi.org", "..."],
"displayLabel": "This is the DisplayLabel",
"fiscalYear": 19,
"startDate": "2020-10-03T08:00:00.000Z",
"endDate": "2020-12-18T17:00:00.000Z",
"budgetDeadline": "2021-07-21T23:15:30.000Z",
"postingDeadline": "2021-07-21T23:15:30.000Z",
"closing": "2021-07-21T23:15:30.000Z"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a FiscalPeriod form metadata.
Get form metadata for creating a new FiscalPeriod.
get /fiscal-periods/metadata
Get form metadata for creating a new FiscalPeriod.
Query Parameters
- genusType: (string)
specify a particular fiscalPeriod type to create
Example:
type.Type%3AexampleFiscalPeriodType%40dxtera.org
- recordType: (array of )
specify support for one or more fiscalPeriod record types
Example:
[ "type.Type%3AexampleFiscalPeriodRecordType%40campusapi.org", "..." ]
- businessId: (string)
specify in which business to create this fiscalPeriod
Example:
financials.Business%3A8374%40base.url
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "FiscalPeriod",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this fiscal period, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this fiscal period, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this fiscal period for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "FiscalPeriod.FiscalPeriod:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this fiscal period",
"linked": false
},
"description": {
"description": "The description of this fiscal period.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "FiscalPeriod.FiscalPeriod:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this fiscal period",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this fiscal period. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this fiscal period. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"displayLabel": {
"description": "A display label for this fiscal period which may be less formal than the display name.",
"type": "string",
"read-only": false,
"minLength": null,
"maxLength": null,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.FiscalPeriod:displayLabel@dxtera.org",
"existingValue": "The existing display label",
"elementLabel": "Display Label",
"instructions": "Enter a display label for this fiscal period.",
"linked": false
},
"fiscalYear": {
"description": "Ges the fiscal year.",
"type": "integer",
"minimum": null,
"maximum": null,
"units": "",
"default": null,
"enum": [],
"elementId": "financials.FiscalPeriod:fiscalYear@dxtera.org",
"existingValue": 42,
"elementLabel": "Fiscal Year",
"instructions": "Enter the fiscal year of this fiscal period.",
"linked": false
},
"startDate": {
"description": "Get sthe start date of this period.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.FiscalPeriod:startDate@dxtera.org",
"existingValue": "",
"elementLabel": "Start Date",
"instructions": "Enter the start date of this fiscal period.",
"linked": false
},
"endDate": {
"description": "Get sthe end date of this period.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.FiscalPeriod:endDate@dxtera.org",
"existingValue": "",
"elementLabel": "End Date",
"instructions": "Enter the end date of this fiscal period.",
"linked": false
},
"budgetDeadline": {
"description": "The budget deadline.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.FiscalPeriod:budgetDeadline@dxtera.org",
"existingValue": "",
"elementLabel": "Budget Deadline",
"instructions": "Enter the budget deadline of this fiscal period.",
"linked": false
},
"postingDeadline": {
"description": "The last date transactions can be posted for this period.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.FiscalPeriod:postingDeadline@dxtera.org",
"existingValue": "",
"elementLabel": "Posting Deadline",
"instructions": "Enter the posting deadline of this fiscal period.",
"linked": false
},
"closing": {
"description": "The date of the closing for this period.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.FiscalPeriod:closing@dxtera.org",
"existingValue": "",
"elementLabel": "Closing",
"instructions": "Enter the closing of this fiscal period.",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a FiscalPeriod
Get a particular FiscalPeriod given its id.
Update a particular FiscalPeriod given its id.
Delete a particular FiscalPeriod given its id.
get /fiscal-periods/{fiscalPeriodId}
Get a particular FiscalPeriod given its id.
URI Parameters
- fiscalPeriodId: required(string)
Query Parameters
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"id": "financials.FiscalPeriod:9933@base.url",
"uri": "http://base.url/open/campusapi/financials/fiscal_period/financials.FiscalPeriod%3A9933%40base.url",
"displayName": "Display Name of this FiscalPeriod",
"description": "The description of this FiscalPeriod",
"genusTypeId": "type.Type:defaultFiscalPeriodType@base.url",
"recordTypeIds": [ "type.Type:exampleFiscalPeriodRecordType@campusapi.org", "..."],
"displayLabel": "This is the DisplayLabel",
"fiscalYear": 19,
"startDate": "2020-10-03T08:00:00.000Z",
"endDate": "2020-12-18T17:00:00.000Z",
"budgetDeadline": "2021-07-21T23:15:30.000Z",
"postingDeadline": "2021-07-21T23:15:30.000Z",
"closing": "2021-07-21T23:15:30.000Z"
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "FiscalPeriod not found" }
put /fiscal-periods/{fiscalPeriodId}
Update a particular FiscalPeriod given its id.
URI Parameters
- fiscalPeriodId: required(string)
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "FiscalPeriod",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this fiscal period, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this fiscal period, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this fiscal period for display.",
"type": "string"
},
"description": {
"description": "The description of this fiscal period.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this fiscal period. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this fiscal period. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"displayLabel": {
"description": "A display label for this fiscal period which may be less formal than the display name.",
"type": "string"
},
"fiscalYear": {
"description": "Ges the fiscal year.",
"type": "integer"
},
"startDate": {
"description": "Get sthe start date of this period.",
"type": "string",
"format": "date-time"
},
"endDate": {
"description": "Get sthe end date of this period.",
"type": "string",
"format": "date-time"
},
"budgetDeadline": {
"description": "The budget deadline.",
"type": "string",
"format": "date-time"
},
"postingDeadline": {
"description": "The last date transactions can be posted for this period.",
"type": "string",
"format": "date-time"
},
"closing": {
"description": "The date of the closing for this period.",
"type": "string",
"format": "date-time"
}
}
}
Example:
{
"displayName": "Display Name of this FiscalPeriod",
"description": "The description of this FiscalPeriod",
"displayLabel": "This is the DisplayLabel",
"fiscalYear": 19,
"startDate": "2020-10-03T08:00:00.000Z",
"endDate": "2020-12-18T17:00:00.000Z",
"budgetDeadline": "2021-07-21T23:15:30.000Z",
"postingDeadline": "2021-07-21T23:15:30.000Z",
"closing": "2021-07-21T23:15:30.000Z"
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The FiscalPeriod has been updated" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "FiscalPeriod not found" }
delete /fiscal-periods/{fiscalPeriodId}
Delete a particular FiscalPeriod given its id.
URI Parameters
- fiscalPeriodId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The FiscalPeriod has been deleted" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "FiscalPeriod not found" }
Entity representing a FiscalPeriod form metadata for update
Get form metadata for updating an existing FiscalPeriod.
get /fiscal-periods/{fiscalPeriodId}/metadata
Get form metadata for updating an existing FiscalPeriod.
URI Parameters
- fiscalPeriodId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "FiscalPeriod",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this fiscal period, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this fiscal period, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this fiscal period for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "FiscalPeriod.FiscalPeriod:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this fiscal period",
"linked": false
},
"description": {
"description": "The description of this fiscal period.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "FiscalPeriod.FiscalPeriod:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this fiscal period",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this fiscal period. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this fiscal period. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"displayLabel": {
"description": "A display label for this fiscal period which may be less formal than the display name.",
"type": "string",
"read-only": false,
"minLength": null,
"maxLength": null,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.FiscalPeriod:displayLabel@dxtera.org",
"existingValue": "The existing display label",
"elementLabel": "Display Label",
"instructions": "Enter a display label for this fiscal period.",
"linked": false
},
"fiscalYear": {
"description": "Ges the fiscal year.",
"type": "integer",
"minimum": null,
"maximum": null,
"units": "",
"default": null,
"enum": [],
"elementId": "financials.FiscalPeriod:fiscalYear@dxtera.org",
"existingValue": 42,
"elementLabel": "Fiscal Year",
"instructions": "Enter the fiscal year of this fiscal period.",
"linked": false
},
"startDate": {
"description": "Get sthe start date of this period.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.FiscalPeriod:startDate@dxtera.org",
"existingValue": "",
"elementLabel": "Start Date",
"instructions": "Enter the start date of this fiscal period.",
"linked": false
},
"endDate": {
"description": "Get sthe end date of this period.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.FiscalPeriod:endDate@dxtera.org",
"existingValue": "",
"elementLabel": "End Date",
"instructions": "Enter the end date of this fiscal period.",
"linked": false
},
"budgetDeadline": {
"description": "The budget deadline.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.FiscalPeriod:budgetDeadline@dxtera.org",
"existingValue": "",
"elementLabel": "Budget Deadline",
"instructions": "Enter the budget deadline of this fiscal period.",
"linked": false
},
"postingDeadline": {
"description": "The last date transactions can be posted for this period.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.FiscalPeriod:postingDeadline@dxtera.org",
"existingValue": "",
"elementLabel": "Posting Deadline",
"instructions": "Enter the posting deadline of this fiscal period.",
"linked": false
},
"closing": {
"description": "The date of the closing for this period.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "financials.FiscalPeriod:closing@dxtera.org",
"existingValue": "",
"elementLabel": "Closing",
"instructions": "Enter the closing of this fiscal period.",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "fiscalPeriod not found" }
/businesses
Collection of Businesses in a system or federation of systems.
Get all Businesses.
Create a new Business.
get /businesses
Get all Businesses.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "provider", "branding", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
- genusTypeId: (string)
The id string to match a genusType
Example:
type.Type%3AexampleBusinessType%40dxtera.org
- parentGenusTypeId: (string)
The id string to match a parent genusType
Example:
type.Type%3AparentTypeExampleBusinessType%40dxtera.org
- recordTypeId: (string)
The id string to match a recordType
Example:
type.Type%3AexampleBusinessType%40campusapi.org
- providerId: (string)
Id string to match provider.
Example:
resource.Resource%3A3007%40demo.dxtera.org
- accountId: (string)
Get businesses mapped to this account.
Example:
financials.Account%3A560%40demo.dxtera.org
- activityId: (string)
Get businesses mapped to this activity.
Example:
financials.Activity%3A640%40demo.dxtera.org
- fiscalPeriodId: (string)
Get businesses mapped to this fiscal-period.
Example:
financials.FiscalPeriod%3A1040%40demo.dxtera.org
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.Business:2663@base.url",
"uri": "http://base.url/open/campusapi/financials/business/financials.Business%3A2663%40base.url",
"displayName": "Display Name of this Business",
"description": "The description of this Business",
"genusTypeId": "type.Type:defaultBusinessType@base.url",
"recordTypeIds": [ "type.Type:exampleBusinessRecordType@campusapi.org", "..."],
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:Business@base.url",
"license": "The license that applies to this Business"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
post /businesses
Create a new Business.
Query Parameters
- genusType: (string)
specify a particular business type to create
Example:
type.Type%3AexampleBusinessType%40dxtera.org
- recordType: (array of )
specify support for one or more business record types
Example:
[ "type.Type%3AexampleBusinessRecordType%40campusapi.org", "..." ]
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Business",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this business, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this business, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this business for display.",
"type": "string"
},
"description": {
"description": "The description of this business.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this business. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this business. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"providerId": {
"description": "The provider of this business.",
"type": "string",
"format": "osid-id"
},
"brandingIds": {
"description": "The branding of this business. A collection of Assets.",
"type": "array",
"items" : {
"type": "string",
"format": "osid-id"
}
},
"license": {
"description": "The licensing that applies to this business.",
"type": "string"
}
}
}
Example:
{
"displayName": "Display Name of this Business",
"description": "The description of this Business",
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:Business@base.url",
"license": "The license that applies to this Business"
}
Query the collection of Businesses in a system, federation of systems, or in a default business by posting a Query object.
Submit a query using a BusinessQuery object.
post /businesses/business-query
Submit a query using a BusinessQuery object.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "BusinessQuery",
"type": "object",
"properties": {
"matchIds": {
"description": "List of Ids to match. Boolean OR performed among multiple Ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchKeywords": {
"description": "List keywords to match. Multiple keywords can be added to perform a boolean OR among them. A keyword may be applied to any of the elements defined in this object such as the display name, description or any attribute defined in or implemented by this object.",
"type": "array",
"items": {
"type": "object",
"properties": {
"keyword": {
"description": "keyword to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDisplayNames": {
"description": "List of displayName strings to match. Boolean OR performed among multiple displayNames.",
"type": "array",
"items": {
"type": "object",
"properties": {
"displayName": {
"description": "displayName to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDescriptions": {
"description": "List of discription strings to match. Boolean OR performed among multiple descriptions.",
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"description": "description to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchGenusTypeIds": {
"description": "List of genus type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "genus type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchRecordTypeIds": {
"description": "List of record type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "record type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchProviderIds": {
"description": "List of provider Ids to match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"stateId": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"providerQueries": {
"description": "resource.ResourceQuery for provider. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
},
"matchAnyProvider": {
"description": "Match providers with any value. true to match Business with any provider, false to match Business with no provider",
"type": "boolean"
}
},
"matchBrandingIds": {
"description": "List of branding asset Ids to match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"stateId": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"brandingQueries": {
"description": "repository.AssetQuery for branding. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
},
"matchAnyBranding": {
"description": "Match brandingss with any value. true to match Business with any branding, false to match Business with no branding",
"type": "boolean"
},
"matchlicenses": {
"description": "List of license strings to match. Boolean OR performed among multiple descriptions.",
"type": "array",
"items": {
"type": "object",
"properties": {
"license": {
"description": "license to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchBusinessIds": {
"description": "List of Business Id's to match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"businessId": {
"description": "Business id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"businessQueries": {
"description": "BusinessQueries to match Business. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
}
}
}
Example:
{
"matchDisplayNames": [
{
"displayName": "string to exclude",
"match": false
}
]
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.Business:2663@base.url",
"uri": "http://base.url/open/campusapi/financials/business/financials.Business%3A2663%40base.url",
"displayName": "Display Name of this Business",
"description": "The description of this Business",
"genusTypeId": "type.Type:defaultBusinessType@base.url",
"recordTypeIds": [ "type.Type:exampleBusinessRecordType@campusapi.org", "..."],
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:Business@base.url",
"license": "The license that applies to this Business"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a Business form metadata.
Get form metadata for creating a new Business.
get /businesses/metadata
Get form metadata for creating a new Business.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "Business",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this business, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this business, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this business for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Business.Business:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this business",
"linked": false
},
"description": {
"description": "The description of this business.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Business.Business:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this business",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this business. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this business. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"providerId": {
"description": "The provider of this business.",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Business.Business:provider@base.url",
"existingValue": "",
"elementLabel": "Provider",
"instructions": "Enter the provider of this business",
"linked": false
},
"brandingIds": {
"description": "The branding of this business. A list of Assets.",
"type": "array",
"items" : {
"type": "string",
"format": "osid-id",
"pattern": "",
"enum": []
},
"read-only": false,
"default": [],
"elementId": "Business.Business:branding@base.url",
"existingValue": "",
"elementLabel": "Branding",
"instructions": "Enter the branding images for this business",
"linked": false
},
"license": {
"description": "The licensing that applies to this business.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Business.Business:license@base.url",
"existingValue": "The Existing License",
"elementLabel": "License",
"instructions": "Include a license for this business",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
The root Businesses in the Business hierarchy. A node with no parents is an orphan. While all Business Ids are known to the hierarchy, an orphan does not appear in the hierarchy unless explicitly added as a root node or child of another node.
Get all root root-business
get /businesses/root-business
Get all root root-business
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.Business:2663@base.url",
"uri": "http://base.url/open/campusapi/financials/business/financials.Business%3A2663%40base.url",
"displayName": "Display Name of this Business",
"description": "The description of this Business",
"genusTypeId": "type.Type:defaultBusinessType@base.url",
"recordTypeIds": [ "type.Type:exampleBusinessRecordType@campusapi.org", "..."],
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:Business@base.url",
"license": "The license that applies to this Business"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a Business
Get a particular Business given its id.
Update a particular Business given its id.
Delete a particular Business given its id.
get /businesses/{businessId}
Get a particular Business given its id.
URI Parameters
- businessId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"id": "financials.Business:2663@base.url",
"uri": "http://base.url/open/campusapi/financials/business/financials.Business%3A2663%40base.url",
"displayName": "Display Name of this Business",
"description": "The description of this Business",
"genusTypeId": "type.Type:defaultBusinessType@base.url",
"recordTypeIds": [ "type.Type:exampleBusinessRecordType@campusapi.org", "..."],
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:Business@base.url",
"license": "The license that applies to this Business"
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "Business not found" }
put /businesses/{businessId}
Update a particular Business given its id.
URI Parameters
- businessId: required(string)
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Business",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this business, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this business, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this business for display.",
"type": "string"
},
"description": {
"description": "The description of this business.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this business. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this business. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"providerId": {
"description": "The provider of this business.",
"type": "string",
"format": "osid-id"
},
"brandingIds": {
"description": "The branding of this business. A collection of Assets.",
"type": "array",
"items" : {
"type": "string",
"format": "osid-id"
}
},
"license": {
"description": "The licensing that applies to this business.",
"type": "string"
}
}
}
Example:
{
"displayName": "Display Name of this Business",
"description": "The description of this Business",
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:Business@base.url",
"license": "The license that applies to this Business"
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The Business has been updated" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "Business not found" }
delete /businesses/{businessId}
Delete a particular Business given its id.
URI Parameters
- businessId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The Business has been deleted" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "Business not found" }
Entity representing a Business form metadata for update
Get form metadata for updating an existing Business.
get /businesses/{businessId}/metadata
Get form metadata for updating an existing Business.
URI Parameters
- businessId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "Business",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this business, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this business, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this business for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Business.Business:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this business",
"linked": false
},
"description": {
"description": "The description of this business.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Business.Business:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this business",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this business. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this business. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"providerId": {
"description": "The provider of this business.",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Business.Business:provider@base.url",
"existingValue": "",
"elementLabel": "Provider",
"instructions": "Enter the provider of this business",
"linked": false
},
"brandingIds": {
"description": "The branding of this business. A list of Assets.",
"type": "array",
"items" : {
"type": "string",
"format": "osid-id",
"pattern": "",
"enum": []
},
"read-only": false,
"default": [],
"elementId": "Business.Business:branding@base.url",
"existingValue": "",
"elementLabel": "Branding",
"instructions": "Enter the branding images for this business",
"linked": false
},
"license": {
"description": "The licensing that applies to this business.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Business.Business:license@base.url",
"existingValue": "The Existing License",
"elementLabel": "License",
"instructions": "Include a license for this business",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "business not found" }
Get child Businesses for the given Business in the hierarchy.
get /businesses/{businessId}/children
Get child Businesses for the given Business in the hierarchy.
URI Parameters
- businessId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.Business:2663@base.url",
"uri": "http://base.url/open/campusapi/financials/business/financials.Business%3A2663%40base.url",
"displayName": "Display Name of this Business",
"description": "The description of this Business",
"genusTypeId": "type.Type:defaultBusinessType@base.url",
"recordTypeIds": [ "type.Type:exampleBusinessRecordType@campusapi.org", "..."],
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:Business@base.url",
"license": "The license that applies to this Business"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Add Business as child of the given Business in the hierarchy.
Remove the given Business as a child of the given Business in the hierarchy.
put /businesses/{businessId}/children/{childId}
Add Business as child of the given Business in the hierarchy.
URI Parameters
- businessId: required(string)
- childId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The child Business has been added to the hierarchy" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "business not found" }
delete /businesses/{businessId}/children/{childId}
Remove the given Business as a child of the given Business in the hierarchy.
URI Parameters
- businessId: required(string)
- childId: required(string)
Get parent Businesses for the given Business in the hierarchy.
get /businesses/{businessId}/parents
Get parent Businesses for the given Business in the hierarchy.
URI Parameters
- businessId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.Business:2663@base.url",
"uri": "http://base.url/open/campusapi/financials/business/financials.Business%3A2663%40base.url",
"displayName": "Display Name of this Business",
"description": "The description of this Business",
"genusTypeId": "type.Type:defaultBusinessType@base.url",
"recordTypeIds": [ "type.Type:exampleBusinessRecordType@campusapi.org", "..."],
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:Business@base.url",
"license": "The license that applies to this Business"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Get all Accounts in this Business
get /businesses/{businessId}/accounts
Get all Accounts in this Business
URI Parameters
- businessId: required(string)
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
- genusTypeId: (string)
The id string to match a genusType
Example:
type.Type%3AexampleAccountType%40dxtera.org
- parentGenusTypeId: (string)
The id string to match a parent genusType
Example:
type.Type%3AparentTypeExampleAccountType%40dxtera.org
- recordTypeId: (string)
The id string to match a recordType
Example:
type.Type%3AexampleAccountType%40campusapi.org
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.Account:4240@base.url",
"uri": "http://base.url/open/campusapi/financials/account/financials.Account%3A4240%40base.url",
"displayName": "Display Name of this Account",
"description": "The description of this Account",
"genusTypeId": "type.Type:defaultAccountType@base.url",
"recordTypeIds": [ "type.Type:exampleAccountRecordType@campusapi.org", "..."],
"creditBalance": true,
"code": "This is the string for Code"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Add the given Account to this Business
Remove the given Account from the Business.
put /businesses/{businessId}/accounts/{accountId}
Add the given Account to this Business
URI Parameters
- businessId: required(string)
- accountId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "Account has been added to Business" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "Account not found" }
delete /businesses/{businessId}/accounts/{accountId}
Remove the given Account from the Business.
URI Parameters
- businessId: required(string)
- accountId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "Account has been removed" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "Account not found" }
Get all Activities in this Business
get /businesses/{businessId}/activities
Get all Activities in this Business
URI Parameters
- businessId: required(string)
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "organization", "supervisor", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
- genusTypeId: (string)
The id string to match a genusType
Example:
type.Type%3AexampleActivityType%40dxtera.org
- parentGenusTypeId: (string)
The id string to match a parent genusType
Example:
type.Type%3AparentTypeExampleActivityType%40dxtera.org
- recordTypeId: (string)
The id string to match a recordType
Example:
type.Type%3AexampleActivityType%40campusapi.org
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.Activity:6597@base.url",
"uri": "http://base.url/open/campusapi/financials/activity/financials.Activity%3A6597%40base.url",
"displayName": "Display Name of this Activity",
"description": "The description of this Activity",
"genusTypeId": "type.Type:defaultActivityType@base.url",
"recordTypeIds": [ "type.Type:exampleActivityRecordType@campusapi.org", "..."],
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"organizationId": "resource.Resource:5187@base.url",
"supervisorId": "resource.Resource:7075@base.url",
"code": "This is the string for Code"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Add the given Activity to this Business
Remove the given Activity from the Business.
put /businesses/{businessId}/activities/{activityId}
Add the given Activity to this Business
URI Parameters
- businessId: required(string)
- activityId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "Activity has been added to Business" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "Activity not found" }
delete /businesses/{businessId}/activities/{activityId}
Remove the given Activity from the Business.
URI Parameters
- businessId: required(string)
- activityId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "Activity has been removed" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "Activity not found" }
Get all FiscalPeriods in this Business
get /businesses/{businessId}/fiscal-periods
Get all FiscalPeriods in this Business
URI Parameters
- businessId: required(string)
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
- genusTypeId: (string)
The id string to match a genusType
Example:
type.Type%3AexampleFiscalPeriodType%40dxtera.org
- parentGenusTypeId: (string)
The id string to match a parent genusType
Example:
type.Type%3AparentTypeExampleFiscalPeriodType%40dxtera.org
- recordTypeId: (string)
The id string to match a recordType
Example:
type.Type%3AexampleFiscalPeriodType%40campusapi.org
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "financials.FiscalPeriod:9933@base.url",
"uri": "http://base.url/open/campusapi/financials/fiscal_period/financials.FiscalPeriod%3A9933%40base.url",
"displayName": "Display Name of this FiscalPeriod",
"description": "The description of this FiscalPeriod",
"genusTypeId": "type.Type:defaultFiscalPeriodType@base.url",
"recordTypeIds": [ "type.Type:exampleFiscalPeriodRecordType@campusapi.org", "..."],
"displayLabel": "This is the DisplayLabel",
"fiscalYear": 19,
"startDate": "2020-10-03T08:00:00.000Z",
"endDate": "2020-12-18T17:00:00.000Z",
"budgetDeadline": "2021-07-21T23:15:30.000Z",
"postingDeadline": "2021-07-21T23:15:30.000Z",
"closing": "2021-07-21T23:15:30.000Z"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Add the given FiscalPeriod to this Business
Remove the given FiscalPeriod from the Business.
put /businesses/{businessId}/fiscal-periods/{fiscalPeriodId}
Add the given FiscalPeriod to this Business
URI Parameters
- businessId: required(string)
- fiscalPeriodId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "FiscalPeriod has been added to Business" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "FiscalPeriod not found" }
delete /businesses/{businessId}/fiscal-periods/{fiscalPeriodId}
Remove the given FiscalPeriod from the Business.
URI Parameters
- businessId: required(string)
- fiscalPeriodId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "FiscalPeriod has been removed" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "FiscalPeriod not found" }