Download OpenAPI specification:Download
This page contains the Open API specification of the Orgvue API. It contains all the information needed to configure your integration.
Returns a list of JSON objects representing the datasets that are present in your tenant. Each dataset object contains additional HATEOAS link relations provided to navigate to available next actions.
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
[- {
- "datasetId": "6586F21B-AD4D-4D06-A309-712AF47184A2",
- "name": "EXAMPLE_DATASET",
- "type": "POSITIONS",
- "isPermissionedView": false,
- "_links": {
- "dataset:retrieve": {
- "method": "GET",
- "type": "application/json; charset=UTF-8"
}, - "dataset:export": {
- "method": "POST",
- "type": "application/json; charset=UTF-8"
}
}
}
]Creates a new dataset resource with a set of defined properties. Item data is uploaded via subsequent requests.
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
| name required | string The name of the dataset |
| type required | string The type of the dataset. Note type |
| autoId required | string The property key configured as autoId for this dataset |
| labelId required | string The property key configured as labelId for this dataset |
| tags | Array of strings Array of shared tags for the dataset |
| treeId | string The default hierarchy key property |
| treeParentId | string The default hierarchy parent key property |
required | Array of objects Array of property objects |
{- "name": "Positions",
- "type": "POSITIONS",
- "autoId": "position_id",
- "labelId": "position_title",
- "tags": [
- "hr"
], - "treeId": "position_id",
- "treeParentId": "position_managerid",
- "properties": [
- {
- "0": {
- "key": "firstName",
- "name": "First Name",
- "type": "text"
}, - "1": {
- "key": "position_id",
- "name": "Position ID",
- "type": "text"
}, - "2": {
- "key": "position_title",
- "name": "Position Title",
- "type": "text"
}, - "3": {
- "key": "salary",
- "name": "Salary",
- "type": "number"
}
}
]
}{- "datasetId": "6586F21B-AD4D-4D06-A309-712AF47184A2",
- "cacheKey": "abc5DeFgh3IjK5L76/ABCdeEFGHIJklMNo+pqRstuvwxYZENuHvV863y5BtEhGTuqnP2cLZhys9EQ==",
- "createdAt": "2022-03-20T17:53:23.282Z",
- "createdBy": "user@example.com",
- "modifiedAt": "2022-03-20T17:53:23.282Z",
- "modifiedBy": "user@example.com",
- "name": "Positions",
- "type": "POSITIONS",
- "autoId": "position_id",
- "labelId": "position_title",
- "tags": [
- "hr"
], - "treeId": "position_id",
- "treeParentId": "position_managerid",
- "properties": [
- {
- "key": "firstName",
- "name": "First Name",
- "type": "text"
}, - {
- "key": "position_id",
- "name": "Position ID",
- "type": "text"
}, - {
- "key": "position_title",
- "name": "Position Title",
- "type": "text"
}, - {
- "key": "salary",
- "name": "Salary",
- "type": "number"
}
]
}Updates a dataset resource. The configuration in the request payload is merged onto the existing dataset configuration.
The value null may be used for keys that are not required in order to remove them. For example, treeId and treeParentId may be set to null in order to convert a hierarchical dataset into a flat dataset.
Properties are merged based on the key value. If an existing key is matched the property is updated, otherwise a new property is created. If it is necessary to delete properties, the deleteOmittedProperties query parameter must be used. If set to true, any existing properties not matched in the provided payload by key will be removed.
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| datasetId required | string <uuid> Example: 99020AB5-EFEC-BED1-FDC5-3DDF9ED9A59B Dataset unique identifier |
| deleteOmittedProperties | boolean Default: false Only use this parameter if you wish to delete any properties that don't appear in the |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
| name | string The name of the dataset |
| type | string The type of the dataset. Note type |
| autoId | string The property key configured as autoId for this dataset |
| labelId | string The property key configured as labelId for this dataset |
| tags | Array of strings or null Array of shared tags for the dataset |
| treeId | string or null The default hierarchy key property |
| treeParentId | string or null The default hierarchy parent key property |
Array of objects (updatePropertiesListItem) Array of partial property objects. |
{- "name": "Positions",
- "type": "POSITIONS",
- "autoId": "position_id",
- "labelId": "position_title",
- "tags": [
- "hr"
], - "treeId": "string",
- "treeParentId": "string",
- "properties": [
- [
- {
- "key": "firstName",
- "name": "First Name",
- "type": "text"
}, - {
- "key": "position_id",
- "name": "Position ID",
- "type": "text"
}, - {
- "key": "position_title",
- "name": "Position Title",
- "type": "text"
}, - {
- "key": "salary",
- "name": "Salary",
- "type": "number"
}
]
]
}{- "datasetId": "6586F21B-AD4D-4D06-A309-712AF47184A2",
- "cacheKey": "abc5DeFgh3IjK5L76/ABCdeEFGHIJklMNo+pqRstuvwxYZENuHvV863y5BtEhGTuqnP2cLZhys9EQ==",
- "createdAt": "2022-03-20T17:53:23.282Z",
- "createdBy": "user@example.com",
- "modifiedAt": "2022-03-20T17:53:23.282Z",
- "modifiedBy": "user@example.com",
- "name": "Positions",
- "type": "POSITIONS",
- "autoId": "position_id",
- "labelId": "position_title",
- "tags": [
- "hr"
], - "treeId": "position_id",
- "treeParentId": "position_managerid",
- "properties": [
- {
- "key": "firstName",
- "name": "First Name",
- "type": "text"
}, - {
- "key": "position_id",
- "name": "Position ID",
- "type": "text"
}, - {
- "key": "position_title",
- "name": "Position Title",
- "type": "text"
}, - {
- "key": "salary",
- "name": "Salary",
- "type": "number"
}
]
}Returns a representation of the dataset resource
Each dataset object may contain a list of drafts. A draft contains a set of changes that may be applied on top of a dataset. It may be used to model different scenarios without modifying the underlying dataset items themselves. Once satisfied with the changes you may wish to apply them to the dataset to make them permanent changes. We provide additional HATEOAS link relations to navigate to available next actions.
Each dataset object may contain a list of linking dataset relationships. If a dataset is part of more than one links relationships, the list will contain more than one objects. A source dataset will contain "link", and "target", a linking dataset will contain "source" and "target", while a target dataset will contain "source" and "link". We provide additional HATEOAS link relations to navigate to available next actions.
Once you have received the response from this endpoint we have prepared all the data necessary for all possible linking calculations in this tenant. Track the linking relationship you care to calculate and follow the HATEOAS relation under $.linkingRelationships[index]._links.export. Use this content to perform your next request to our export endpoint.
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| datasetId required | string <uuid> Example: 99020AB5-EFEC-BED1-FDC5-3DDF9ED9A59B Dataset unique identifier |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
{- "datasetId": "6586F21B-AD4D-4D06-A309-712AF47184A2",
- "cacheKey": "abc5DeFgh3IjK5L76/ABCdeEFGHIJklMNo+pqRstuvwxYZENuHvV863y5BtEhGTuqnP2cLZhys9EQ==",
- "createdAt": "2022-03-20T17:53:23.282Z",
- "createdBy": "user@example.com",
- "modifiedAt": "2022-03-20T17:53:23.282Z",
- "modifiedBy": "user@example.com",
- "name": "Positions",
- "type": "POSITIONS",
- "autoId": "position_id",
- "labelId": "position_title",
- "tags": [
- "hr"
], - "treeId": "position_id",
- "treeParentId": "position_managerid",
- "properties": [
- {
- "key": "firstName",
- "name": "First Name",
- "type": "text"
}, - {
- "key": "position_id",
- "name": "Position ID",
- "type": "text"
}, - {
- "key": "position_title",
- "name": "Position Title",
- "type": "text"
}, - {
- "key": "salary",
- "name": "Salary",
- "type": "number"
}
], - "items": {
- "lastTransactionId": "00000172-5FD0-4411-4140-B5A82D1111CD",
- "modifiedAt": "2020-05-29T09:43:03.953Z"
}, - "drafts": [
- {
- "draftId": "36A1E02D-DC20-61C5-A11F-DD85440C652C",
- "name": "string",
- "_links": {
- "draft:retrieve": {
- "method": "GET",
- "type": "application/json; charset=UTF-8"
}
}
}
], - "linkingRelationships": [
- {
- "datasetId": "6586F21B-AD4D-4D06-A309-712AF47184A2",
- "name": "People to Positions Dataset",
- "type": "LINKS",
- "source": {
- "name": "string",
- "datasetId": "6586F21B-AD4D-4D06-A309-712AF47184A2",
- "type": "PEOPLE",
- "_links": {
- "dataset:retrieve": {
- "method": "GET",
- "type": "application/json; charset=UTF-8"
}
}
}, - "target": {
- "name": "string",
- "datasetId": "6586F21B-AD4D-4D06-A309-712AF47184A2",
- "type": "POSITIONS",
- "_links": {
- "dataset:retrieve": {
- "method": "GET",
- "type": "application/json; charset=UTF-8"
}
}
}, - "_links": {
- "export": {
- "url": "string",
- "method": "string",
- "contentType": "string",
- "jsonBody": {
- "dataset": {
- "linkingRelationships": [
- {
- "datasetId": "6586F21B-AD4D-4D06-A309-712AF47184A2"
}
]
}, - "dataset:retrieve": {
- "method": "GET",
- "type": "application/json; charset=UTF-8"
}, - "required": null
}
}
}
}
], - "_links": {
- "self": {
- "method": "GET",
- "type": "application/json; charset=UTF-8"
}, - "dataset:export:jsonRows": {
- "method": "POST",
- "type": "application/json; charset=UTF-8"
}, - "dataset:export:jsonColumns": {
- "method": "POST",
- "type": "application/json; charset=UTF-8"
}, - "dataset:export:jsonObjects": {
- "method": "POST",
- "type": "application/json; charset=UTF-8"
}, - "dataset:export:csv": {
- "method": "POST",
- "type": "application/json; charset=UTF-8"
}, - "dataset:export:tsv": {
- "method": "POST",
- "type": "application/json; charset=UTF-8"
}
}
}Creates a job in the background and produces a jobTicket resource which in turn contains a URL to poll for the requested job data. Other endpoints will lead you to the correct usage of this endpoint via HATEOAS links.
✅ Pre-Filter
✅ Post-Filter
⚙ Linking Calculations (Configurable in Request Body)
⚙ On-Demand (Configurable in Request Body)
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| datasetId required | string <uuid> Example: 99020AB5-EFEC-BED1-FDC5-3DDF9ED9A59B Dataset unique identifier |
| exportFormat | string Enum: "jsonRows" "jsonColumns" "jsonObjects" "csv" "tsv" Example: jsonRows The data format to use in the response. If no export format is provided the default |
| encoding | string Enum: "gzip" "identity" Example: encoding=gzip Determines whether the data written to the result location will be compressed using gzip. Defaults to |
| resultEncoding | string Enum: "gzip" "identity" Example: resultEncoding=gzip Determines whether the data written to the result location will be compressed using gzip. Defaults to |
| includeBOM | boolean Default: true Determines if a Byte Order Mark (BOM) is added to the beginning of the response payload. This query parameter is only implemented for requests with an |
| lineEndings | string Default: "windows" Enum: "unix" "windows" Determines the line endings (row separators) for data export. This query parameter is only implemented for requests with an |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
object (datasetLinking) Provide relevant dataset configuration information. A Links | |
object (resultLocation) Provide this object to divert your result data to a storage location of your choice. It must be a secure resource compatible with the presigned URL mechanism for an object for which you own the lifecycle, which our API can use to upload data via an http | |
object Provide this object to divert your result data to a storage location of your choice. It must be a secure resource compatible with the presigned URL mechanism for an object for which you own the lifecycle, which our API can use to upload data via an http | |
object (callbackPayload) The callback mechanism allows you to configure a request to be made by the Orgvue API when processing your asynchronous request is complete. The callback request is sent when the jobTicket is 'completed' or 'failed'. | |
| executeOnDemand | Array of strings non-empty unique On-demand properties to calculate as part of the export. These will need to be configured ahead of time, and passed to the API in the correct order for your on-demand calculation to be meaningful. |
object Query object to apply filter on exported data |
{- "dataset": {
- "linkingRelationships": [
- {
- "datasetId": "6586F21B-AD4D-4D06-A309-712AF47184A2"
}
]
}, - "callback": {
- "method": "GET",
}, - "executeOnDemand": [
- "onDemandProperty1",
- "onDemandProperty2"
], - "query": {
- "output": {
- "filter": {
- "department": "Engineering",
- "salary": {
- "$gte": 50000
}, - "employeeGrade": {
- "$lt": 5
}, - "role": {
- "$nin": [
- "Manager",
- "Senior Engineer",
- "Team Lead"
]
}
}, - "projection": {
- "id": 1,
- "age": 0,
- "salary": 1,
- "employeeGrade": 2,
- "role": 3
}, - "projectionMode": "add"
}
}
}{- "_links": {
- "self": {
- "url": "https://",
- "contentType": "application/json; charset=UTF-8",
- "type": "jobTicket"
}, - "result": {
- "url": "https://",
- "contentType": "application/json; charset=UTF-8",
- "type": "downloadLink"
}
}, - "jobStatus": "created",
- "_createdAt": "2022-03-20T17:53:23.282Z",
- "_createdBy": "user@example.com",
- "_modifiedAt": "2022-03-20T17:53:26.321Z",
- "X-Amzn-Trace-Id": "Root=1-62bcb5d3-3b211f8616879dea3bde593f",
- "errors": [
- {
- "code": "50001",
- "name": "InternalServerError",
- "message": "There was an internal error. If the issue persists you should contact support@orgvue.com.",
- "errorContentType": "application/xml",
- "errorContent": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Error><Code>NoSuchKey</Code><Message>The resource you requested does not exist</Message><Resource>/mybucket/myfoto.jpg</Resource><RequestId>4442587FB7D0A2F9</RequestId></Error>"
}
]
}Alternative to the POST version of the endpoint, for integrations that can only rely on synchronous GET requests. Use of this endpoint is not recommended as it might lead to timeouts if the data calculations exceed a certain size.
✅ Pre-Filter
✅ Post-Filter
❌ Linking Calculations
❌ On-Demand
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| datasetId required | string <uuid> Example: 99020AB5-EFEC-BED1-FDC5-3DDF9ED9A59B Dataset unique identifier |
| exportFormat | string Enum: "jsonRows" "jsonColumns" "jsonObjects" "csv" "tsv" Example: jsonRows The data format to use in the response. If no export format is provided the default |
| includeBOM | boolean Default: true Determines if a Byte Order Mark (BOM) is added to the beginning of the response payload. This query parameter is only implemented for requests with an |
| lineEndings | string Default: "windows" Enum: "unix" "windows" Determines the line endings (row separators) for data export. This query parameter is only implemented for requests with an |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
{- "headers": [
- {
- "key": "id",
- "name": "Id",
- "type": "text"
}, - {
- "key": "name",
- "name": "Name",
- "type": "text"
}, - {
- "key": "parent_id",
- "name": "Parent Id",
- "type": "text"
}, - {
- "key": "_change",
- "name": "Change",
- "type": "text"
}
], - "rows": [
- [
- "a",
- "Ana",
- null
], - [
- "b",
- "Bob",
- "a"
], - [
- "c",
- "Caz",
- "a"
]
]
}A synchronous endpoint that retrieves data from Orgvue.
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| datasetId required | string <uuid> Example: 99020AB5-EFEC-BED1-FDC5-3DDF9ED9A59B Dataset unique identifier |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
[- {
- "employee_id": 1,
- "location": "USA",
- "city": "New York",
- "_id": "970725D4-436A-EDEB-E736-5EA5139F618A",
- "_access": "Item.delete",
- "_modifiedAt": "2011-10-05T14:48:00.000Z"
}, - {
- "employee_id": 2,
- "location": "UK",
- "city": "London",
- "_id": "970725D4-436A-EDEB-E736-5EA5139F618A",
- "_access": "Item.delete",
- "_modifiedAt": "2011-10-05T14:48:00.000Z"
}
]A synchronous endpoint that retrieves and filters data from Orgvue. Internal properties are only returned when requested via a projection.
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| datasetId required | string <uuid> Example: 99020AB5-EFEC-BED1-FDC5-3DDF9ED9A59B Dataset unique identifier |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
| filter | object <MongoDB query> (mongoFilter) Row level filtering using MongoDB query |
| projection | object <{ [propertyKey]: 1 }> (itemsProjection) Property filtering using a projection object |
{- "filter": {
- "department": "Engineering",
- "salary": {
- "$gte": 50000
}, - "employeeGrade": {
- "$lt": 5
}, - "role": {
- "$nin": [
- "Manager",
- "Senior Engineer",
- "Team Lead"
]
}
}, - "projection": {
- "employee_id": 1,
- "location": 1,
- "city": 1
}
}[- {
- "employee_id": 1,
- "location": "USA",
- "city": "New York",
- "_id": "970725D4-436A-EDEB-E736-5EA5139F618A",
- "_access": "Item.delete",
- "_modifiedAt": "2011-10-05T14:48:00.000Z"
}, - {
- "employee_id": 2,
- "location": "UK",
- "city": "London",
- "_id": "970725D4-436A-EDEB-E736-5EA5139F618A",
- "_access": "Item.delete",
- "_modifiedAt": "2011-10-05T14:48:00.000Z"
}
]A synchronous endpoint that enables data ingress into Orgvue. The payload consists of a sequence of CRUD items operations, one each for an object of the dataset. Ingress behaviour can be controlled by the query parameters provided. Setting an attribute to null has the effect of clearing the value in Orgvue.
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| datasetId required | string <uuid> Example: 99020AB5-EFEC-BED1-FDC5-3DDF9ED9A59B Dataset unique identifier |
| dateFormat | string Enum: "YYYY-MM-DD" "DD/MM/YYYY" "MM/DD/YYYY" Example: dateFormat=YYYY-MM-DD The date format that items are presented in at the payload of your request. This query parameter can only be set once per request, and all items must be presented in the same format in the payload. Items presented in a different |
| onPropertyAccessDenied | string Enum: "skipProperty" "denyItemAccess" Example: onPropertyAccessDenied=denyItemAccess In the case where you do not have sufficient access rights to alter one or more properties, you can specify |
| onItemAccessDenied | string Enum: "skipAction" "failTransaction" In the case where you do not have sufficient access rights to alter one or more items, you can specify |
| onActionValidationFailure | string Enum: "skipAction" "failTransaction" Example: onActionValidationFailure=failTransaction In the case where you have provided an invalid action for one or more items, you can specify |
| autoId | boolean Example: autoId=true Relies on the automatic identifier in your dataset (the property configured as the "autoId"), instead of the internal Orgvue |
| idKey | string Example: idKey=firstName Consider the case where you can uniquely identify a node in your dataset by means of one or more property values in the node, instead of the Orgvue internal |
| mergeKey | string Example: mergeKey=area In the case of bulk updates you can use this query parameters to specify one or more properties that if present in an item, will include the item to the bulk update. |
| implicitDelete | boolean Example: implicitDelete=true Only use this query parameter when you want to replace all existing items in a dataset with the ones in this payload. Any items not in the payload of this request will be deleted in the dataset after the ingress completes. Assumes access to individual items in the dataset is granted ahead of time, for deletion purposes. If an operation is skipped the item corresponding to it will not be deleted. |
| clearToken | string Example: clearToken=REMOVE_ME A user can specify their own String values in import cells to represent clearing out a value. Null and emptyString are the default clear tokens. As such these are always applied clear tokens without the requirement to explicitly state as a query parameter |
| noopToken | string Example: noopToken=IGNORE_ME A user can specify their own String values in import cells that result in no change to the data. |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
| _action required | string (action) Enum: "create" "update" "replace" "delete" "createOrUpdate" "createOrReplace" "noop" The action to perform on this item. Please note that not all actions are available at all times. Further, you might not have permission to perform some actions. |
| _id | string The internal value used to uniquely identify an item in the dataset by Orgvue in the default mode. |
| _sortOrder | number The internal row sort order of the item |
| property name* additional property | string or boolean or number Dataset property keys paired with values, to be updated as part of this request. The keys must match dataset properties exactly. If you have specified the |
[- {
- "_action": "createOrUpdate",
- "position_id": 10,
- "position_title": "CEO"
}, - {
- "_action": "createOrUpdate",
- "position_id": 12,
- "position_title": "Admin Assistant"
}, - {
- "_action": "delete",
- "position_id": 15
}
][- {
- "_status": "success",
- "_id": "5C9EF1F8-0048-4CE9-91E7-789B857EE73C",
- "_action": "createOrUpdate"
}, - {
- "_status": "success",
- "_id": "7918D0B4-24AC-8A3E-E21C-1302FAE4937E",
- "_action": "createOrUpdate"
}, - {
- "_status": "success",
- "_id": "ECFB8805-002D-441C-92AE-39FFE9D88A20",
- "_action": "delete"
}
]An asynchronous endpoint that enables data ingress into Orgvue.
Creates a jobTicket resource which in turn contains a URL to poll for the requested job data.
Ingress behaviour can be controlled by the query parameters provided.
You can use this endpoint with the resources produced by the "Create a secure file" endpoint. Before making a request to this endpoint, upload your data to the intended import location in either JSON or CSV format. JSON payloads should have the same structure as the example provided for the PUT items endpoint. Data provided in CSV format should follow the rules outlined in the "Import Items from a CSV" section of the Usage Examples.
Note the following recommended max files sizes when used with Async import:
| File Type | Uncompressed | Zipped |
|---|---|---|
| JSON | 200MB | 300MB |
| CSV | 450MB | 400MB |
If your payload exceeds these recomendations we advise splitting larger updates into batches.
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| datasetId required | string <uuid> Example: 99020AB5-EFEC-BED1-FDC5-3DDF9ED9A59B Dataset unique identifier |
| dateFormat | string Enum: "YYYY-MM-DD" "DD/MM/YYYY" "MM/DD/YYYY" Example: dateFormat=YYYY-MM-DD The date format that items are presented in at the payload of your request. This query parameter can only be set once per request, and all items must be presented in the same format in the payload. Items presented in a different |
| onPropertyAccessDenied | string Enum: "skipProperty" "denyItemAccess" Example: onPropertyAccessDenied=denyItemAccess In the case where you do not have sufficient access rights to alter one or more properties, you can specify |
| onItemAccessDenied | string Enum: "skipAction" "failTransaction" In the case where you do not have sufficient access rights to alter one or more items, you can specify |
| onActionValidationFailure | string Enum: "skipAction" "failTransaction" Example: onActionValidationFailure=failTransaction In the case where you have provided an invalid action for one or more items, you can specify |
| autoId | boolean Example: autoId=true Relies on the automatic identifier in your dataset (the property configured as the "autoId"), instead of the internal Orgvue |
| idKey | string Example: idKey=firstName Consider the case where you can uniquely identify a node in your dataset by means of one or more property values in the node, instead of the Orgvue internal |
| mergeKey | string Example: mergeKey=area In the case of bulk updates you can use this query parameters to specify one or more properties that if present in an item, will include the item to the bulk update. |
| implicitDelete | boolean Example: implicitDelete=true Only use this query parameter when you want to replace all existing items in a dataset with the ones in this payload. Any items not in the payload of this request will be deleted in the dataset after the ingress completes. Assumes access to individual items in the dataset is granted ahead of time, for deletion purposes. If an operation is skipped the item corresponding to it will not be deleted. |
| clearToken | string Example: clearToken=REMOVE_ME A user can specify their own String values in import cells to represent clearing out a value. Null and emptyString are the default clear tokens. As such these are always applied clear tokens without the requirement to explicitly state as a query parameter |
| noopToken | string Example: noopToken=IGNORE_ME A user can specify their own String values in import cells that result in no change to the data. |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
required | object Resource location that our API will ingest data from. Must be a secure URL location to an infrastructure object the lifecycle of which you own, where our API can have access to perform a http |
object (resultLocation) Provide this object to divert your result data to a storage location of your choice. It must be a secure resource compatible with the presigned URL mechanism for an object for which you own the lifecycle, which our API can use to upload data via an http | |
object (callbackPayload) The callback mechanism allows you to configure a request to be made by the Orgvue API when processing your asynchronous request is complete. The callback request is sent when the jobTicket is 'completed' or 'failed'. |
{- "callback": {
- "method": "GET",
}
}{- "_links": {
- "self": {
- "url": "https://",
- "contentType": "application/json; charset=UTF-8",
- "type": "jobTicket"
}, - "result": {
- "url": "https://",
- "contentType": "application/json; charset=UTF-8",
- "type": "downloadLink"
}
}, - "jobStatus": "created",
- "_createdAt": "2022-03-20T17:53:23.282Z",
- "_createdBy": "user@example.com",
- "_modifiedAt": "2022-03-20T17:53:26.321Z",
- "X-Amzn-Trace-Id": "Root=1-62bcb5d3-3b211f8616879dea3bde593f",
- "errors": [
- {
- "code": "50001",
- "name": "InternalServerError",
- "message": "There was an internal error. If the issue persists you should contact support@orgvue.com.",
- "errorContentType": "application/xml",
- "errorContent": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Error><Code>NoSuchKey</Code><Message>The resource you requested does not exist</Message><Resource>/mybucket/myfoto.jpg</Resource><RequestId>4442587FB7D0A2F9</RequestId></Error>"
}
]
}An asynchronous endpoint that returns a jobTicket resource, which in turn contains a URL to poll for the result of the draft application.
The updates represented by the combined drafts will be applied to the dataset as if sent to the items import endpoint.
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| datasetId required | string <uuid> Example: 99020AB5-EFEC-BED1-FDC5-3DDF9ED9A59B Dataset unique identifier |
| encoding | string Enum: "gzip" "identity" Example: encoding=gzip Determines whether the data written to the result location will be compressed using gzip. Defaults to |
| resultEncoding | string Enum: "gzip" "identity" Example: resultEncoding=gzip Determines whether the data written to the result location will be compressed using gzip. Defaults to |
| onPropertyAccessDenied | string Enum: "skipProperty" "denyItemAccess" Example: onPropertyAccessDenied=denyItemAccess In the case where you do not have sufficient access rights to alter one or more properties, you can specify |
| onItemAccessDenied | string Enum: "skipAction" "failTransaction" In the case where you do not have sufficient access rights to alter one or more items, you can specify |
| onActionValidationFailure | string Enum: "skipAction" "failTransaction" Example: onActionValidationFailure=failTransaction In the case where you have provided an invalid action for one or more items, you can specify |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
required | Array of objects (draftLayersArray) An array of draft layer objects in the order in which they should be applied. |
| foldScheme | string Enum: "distinct" "lossless" "ordered" The type of folding required when multiple draft layers are provided. Defaults to "distinct".
|
object (callbackPayload) The callback mechanism allows you to configure a request to be made by the Orgvue API when processing your asynchronous request is complete. The callback request is sent when the jobTicket is 'completed' or 'failed'. | |
object (resultLocation) Provide this object to divert your result data to a storage location of your choice. It must be a secure resource compatible with the presigned URL mechanism for an object for which you own the lifecycle, which our API can use to upload data via an http |
{- "layers": [
- {
- "draftId": "36A1E02D-DC20-61C5-A11F-DD85440C652C",
- "layerKey": "default"
}
], - "foldScheme": "distinct",
- "callback": {
- "method": "GET",
},
}{- "_links": {
- "self": {
- "url": "https://",
- "contentType": "application/json; charset=UTF-8",
- "type": "jobTicket"
}, - "result": {
- "url": "https://",
- "contentType": "application/json; charset=UTF-8",
- "type": "downloadLink"
}
}, - "jobStatus": "created",
- "_createdAt": "2022-03-20T17:53:23.282Z",
- "_createdBy": "user@example.com",
- "_modifiedAt": "2022-03-20T17:53:26.321Z",
- "X-Amzn-Trace-Id": "Root=1-62bcb5d3-3b211f8616879dea3bde593f",
- "errors": [
- {
- "code": "50001",
- "name": "InternalServerError",
- "message": "There was an internal error. If the issue persists you should contact support@orgvue.com.",
- "errorContentType": "application/xml",
- "errorContent": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Error><Code>NoSuchKey</Code><Message>The resource you requested does not exist</Message><Resource>/mybucket/myfoto.jpg</Resource><RequestId>4442587FB7D0A2F9</RequestId></Error>"
}
]
}An asynchronous endpoint that returns a jobTicket resource, which in turn contains a URL to poll for the result of the job.
To use this endpoint your dataset needs to be configured ahead of time to contain on-demand calculations. Using this endpoint re-calculates all values for the on-demand properties in your dataset, and then applies the changes to the dataset.
Note: This endpoint performs an update on your dataset. As such, it is a governance issue on your side to ensure there are no other updates sent to the dataset at the same time. As with all updates to your datasets: the last update wins.
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| datasetId required | string <uuid> Example: 99020AB5-EFEC-BED1-FDC5-3DDF9ED9A59B Dataset unique identifier |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
| executeOnDemand required | Array of strings non-empty unique Array of unique on-demand properties to calculate and update in the dataset. These properties must be configured ahead of time. They must be passed to the API in the correct order for your on-demand calculation to be meaningful. |
object (datasetLinking) Provide relevant dataset configuration information. A Links | |
object (callbackPayload) The callback mechanism allows you to configure a request to be made by the Orgvue API when processing your asynchronous request is complete. The callback request is sent when the jobTicket is 'completed' or 'failed'. | |
object (resultLocation) Provide this object to divert your result data to a storage location of your choice. It must be a secure resource compatible with the presigned URL mechanism for an object for which you own the lifecycle, which our API can use to upload data via an http |
{- "executeOnDemand": [
- "onDemandProperty1",
- "onDemandProperty2"
], - "dataset": {
- "linkingRelationships": [
- {
- "datasetId": "6586F21B-AD4D-4D06-A309-712AF47184A2"
}
]
}, - "callback": {
- "method": "GET",
},
}{- "_links": {
- "self": {
- "url": "https://",
- "contentType": "application/json; charset=UTF-8",
- "type": "jobTicket"
}, - "result": {
- "url": "https://",
- "contentType": "application/json; charset=UTF-8",
- "type": "downloadLink"
}
}, - "jobStatus": "created",
- "_createdAt": "2022-03-20T17:53:23.282Z",
- "_createdBy": "user@example.com",
- "_modifiedAt": "2022-03-20T17:53:26.321Z",
- "X-Amzn-Trace-Id": "Root=1-62bcb5d3-3b211f8616879dea3bde593f",
- "errors": [
- {
- "code": "50001",
- "name": "InternalServerError",
- "message": "There was an internal error. If the issue persists you should contact support@orgvue.com.",
- "errorContentType": "application/xml",
- "errorContent": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Error><Code>NoSuchKey</Code><Message>The resource you requested does not exist</Message><Resource>/mybucket/myfoto.jpg</Resource><RequestId>4442587FB7D0A2F9</RequestId></Error>"
}
]
}Creates a new links dataset resource.
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
| name required | string The name of the links dataset. |
| fromDatasetId required | string <uuid> The unique identifier of the dataset you are linking from. |
| toDatasetId required | string <uuid> The unique identifier of the dataset you are linking to. |
Array of objects Array of property objects | |
| tags | Array of strings Array of shared tags for the links dataset. |
{- "name": "PEOPLE to ROLES Links Dataset",
- "fromDatasetId": "99CD8A1B-61A2-4768-87FA-3D10420FC535",
- "toDatasetId": "2B44BAD6-6680-4A19-A00C-0366832E2BD6",
- "additionalProperties": [
- {
- "0": {
- "key": "firstName",
- "name": "First Name",
- "type": "text"
}, - "1": {
- "key": "position_id",
- "name": "Position ID",
- "type": "text"
}, - "2": {
- "key": "position_title",
- "name": "Position Title",
- "type": "text"
}, - "3": {
- "key": "salary",
- "name": "Salary",
- "type": "number"
}
}
], - "tags": [
- "admin",
- "people",
- "roles"
]
}{- "datasetId": "6586F21B-AD4D-4D06-A309-712AF47184A2",
- "name": "PEOPLE to ROLES Links Dataset",
- "type": "LINKS",
- "createdBy": "user@example.com",
- "cacheKey": "abc5DeFgh3IjK5L76/ABCdeEFGHIJklMNo+pqRstuvwxYZENuHvV863y5BtEhGTuqnP2cLZhys9EQ==",
- "autoId": "link_id",
- "tags": [
- "admin",
- "people",
- "roles"
], - "properties": [
- {
- "key": "from_id",
- "name": "from_id",
- "type": "string",
- "isRequired": true
}, - {
- "key": "to_id",
- "name": "to_id",
- "type": "string",
- "isRequired": true
}, - {
- "key": "link_id",
- "name": "link_id",
- "type": "string",
- "isRequired": true
}, - {
- "key": "allocation",
- "name": "allocation",
- "type": "number",
- "isRequired": true
}
]
}Updates a links dataset resource. The configuration in the request payload is merged onto the existing links dataset configuration.
The value null may be used for keys that are not required in order to remove them. For example, tags may be set to null in order to completely remove tags from the links dataset.
Additional properties are merged based on the key value. If an existing key is matched the property is updated, otherwise a new property is created. If it is necessary to delete properties, the deleteOmittedProperties query parameter must be used. If set to true, any existing properties not matched in the provided payload by key will be removed. Note that this does not apply to the core properties from_id, to_id, allocation and link_id, which may not be modified.
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| linksDatasetId required | string <uuid> Example: 99020AB5-EFEC-BED1-FDC5-3DDF9ED9A59B Links dataset unique identifier |
| deleteOmittedProperties | boolean Default: false Only use this parameter if you wish to delete any properties that don't appear in the |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
| name | string The name of the links dataset. |
Array of objects (updatePropertiesListItem) Array of partial property objects. | |
| tags | Array of strings or null Array of shared tags for the links dataset. |
{- "name": "PEOPLE to ROLES Links Dataset",
- "additionalProperties": [
- [
- {
- "key": "firstName",
- "name": "First Name",
- "type": "text"
}, - {
- "key": "position_id",
- "name": "Position ID",
- "type": "text"
}, - {
- "key": "position_title",
- "name": "Position Title",
- "type": "text"
}, - {
- "key": "salary",
- "name": "Salary",
- "type": "number"
}
]
], - "tags": [
- "people",
- "roles"
]
}{- "datasetId": "6586F21B-AD4D-4D06-A309-712AF47184A2",
- "name": "PEOPLE to ROLES Links Dataset",
- "type": "LINKS",
- "createdBy": "user@example.com",
- "cacheKey": "abc5DeFgh3IjK5L76/ABCdeEFGHIJklMNo+pqRstuvwxYZENuHvV863y5BtEhGTuqnP2cLZhys9EQ==",
- "autoId": "link_id",
- "tags": [
- "admin",
- "people",
- "roles"
], - "properties": [
- {
- "key": "from_id",
- "name": "from_id",
- "type": "string",
- "isRequired": true
}, - {
- "key": "to_id",
- "name": "to_id",
- "type": "string",
- "isRequired": true
}, - {
- "key": "link_id",
- "name": "link_id",
- "type": "string",
- "isRequired": true
}, - {
- "key": "allocation",
- "name": "allocation",
- "type": "number",
- "isRequired": true
}
]
}If you have a single dataset which contains the from_id, to_id and allocation property of a links dataset you have already created, you can use this endpoint to automate the uploading of nodes to that links dataset.
Note: this endpoint will create or replace all nodes in the links dataset; any items in the links dataset but not in either of the source or target datasets will be deleted.
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| linksDatasetId required | string <uuid> Example: 99020AB5-EFEC-BED1-FDC5-3DDF9ED9A59B Links dataset unique identifier |
| resultEncoding | string Enum: "gzip" "identity" Example: resultEncoding=gzip Determines whether the data written to the result location will be compressed using gzip. Defaults to |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
| sourceDatasetId required | string The id of the source dataset that contains the |
| targetDatasetAutoId required | string The property which holds the |
| allocationId | string The property which holds the |
object (resultLocation) Provide this object to divert your result data to a storage location of your choice. It must be a secure resource compatible with the presigned URL mechanism for an object for which you own the lifecycle, which our API can use to upload data via an http | |
object (callbackPayload) The callback mechanism allows you to configure a request to be made by the Orgvue API when processing your asynchronous request is complete. The callback request is sent when the jobTicket is 'completed' or 'failed'. |
{- "sourceDatasetId": "6586F21B-AD4D-4D06-A309-712AF47184A2",
- "targetDatasetAutoId": "positionsId",
- "allocationId": "fte",
- "callback": {
- "method": "GET",
}
}{- "_links": {
- "self": {
- "url": "https://",
- "contentType": "application/json; charset=UTF-8",
- "type": "jobTicket"
}, - "result": {
- "url": "https://",
- "contentType": "application/json; charset=UTF-8",
- "type": "downloadLink"
}
}, - "jobStatus": "created",
- "_createdAt": "2022-03-20T17:53:23.282Z",
- "_createdBy": "user@example.com",
- "_modifiedAt": "2022-03-20T17:53:26.321Z",
- "X-Amzn-Trace-Id": "Root=1-62bcb5d3-3b211f8616879dea3bde593f",
- "errors": [
- {
- "code": "50001",
- "name": "InternalServerError",
- "message": "There was an internal error. If the issue persists you should contact support@orgvue.com.",
- "errorContentType": "application/xml",
- "errorContent": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Error><Code>NoSuchKey</Code><Message>The resource you requested does not exist</Message><Resource>/mybucket/myfoto.jpg</Resource><RequestId>4442587FB7D0A2F9</RequestId></Error>"
}
]
}A synchronous endpoint for modifying data in linking datasets (with type "LINKS").
The payload consists of a sequence of CRUD items operations, one each for an object of the dataset.
Records are uniquely identified via the combination of the from_id and to_id properties. These values will be used to generate the unique autoId value for a specific link.
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| linksDatasetId required | string <uuid> Example: 99020AB5-EFEC-BED1-FDC5-3DDF9ED9A59B Links dataset unique identifier |
| dateFormat | string Enum: "YYYY-MM-DD" "DD/MM/YYYY" "MM/DD/YYYY" Example: dateFormat=YYYY-MM-DD The date format that items are presented in at the payload of your request. This query parameter can only be set once per request, and all items must be presented in the same format in the payload. Items presented in a different |
| onPropertyAccessDenied | string Enum: "skipProperty" "denyItemAccess" Example: onPropertyAccessDenied=denyItemAccess In the case where you do not have sufficient access rights to alter one or more properties, you can specify |
| onItemAccessDenied | string Enum: "skipAction" "failTransaction" In the case where you do not have sufficient access rights to alter one or more items, you can specify |
| onActionValidationFailure | string Enum: "skipAction" "failTransaction" Example: onActionValidationFailure=failTransaction In the case where you have provided an invalid action for one or more items, you can specify |
| implicitDelete | boolean Example: implicitDelete=true Only use this query parameter when you want to replace all existing items in a dataset with the ones in this payload. Any items not in the payload of this request will be deleted in the dataset after the ingress completes. Assumes access to individual items in the dataset is granted ahead of time, for deletion purposes. If an operation is skipped the item corresponding to it will not be deleted. |
| clearToken | string Example: clearToken=REMOVE_ME A user can specify their own String values in import cells to represent clearing out a value. Null and emptyString are the default clear tokens. As such these are always applied clear tokens without the requirement to explicitly state as a query parameter |
| noopToken | string Example: noopToken=IGNORE_ME A user can specify their own String values in import cells that result in no change to the data. |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
| _action required | string (action) Enum: "create" "update" "replace" "delete" "createOrUpdate" "createOrReplace" "noop" The action to perform on this item. Please note that not all actions are available at all times. Further, you might not have permission to perform some actions. |
| from_id required | string or boolean or number or null The value of the autoId property of the node in the linked dataset you wish to create a link 'from'. You can review which dataset is configured as the 'from' dataset in Orgvue Settings. |
| to_id required | string or boolean or number or null The value of the autoId property of the node in the linked dataset you wish to create a link 'to'. You can review which dataset is configured as the 'to' dataset in Orgvue Settings. |
| property name* additional property | string or boolean or number Dataset property keys paired with values, to be updated as part of this request. The keys must match dataset properties exactly. Note that the value for the |
[- {
- "_action": "create",
- "from_id": "p_01234",
- "to_id": "pos_a123",
- "allocation": 1
}, - {
- "_action": "update",
- "from_id": "p_01269",
- "to_id": "pos_a120",
- "allocation": 0.5
}, - {
- "_action": "createOrReplace",
- "from_id": "p_01270",
- "to_id": "pos_a191"
}
][- {
- "_status": "success",
- "_id": "5C9EF1F8-0048-4CE9-91E7-789B857EE73C",
- "_action": "create",
- "link_id": "[\"p_01234\",\"pos_a123\"]"
}, - {
- "_status": "success",
- "_id": "7918D0B4-24AC-8A3E-E21C-1302FAE4937E",
- "_action": "update",
- "link_id": "[\"p_01269\",\"pos_a120\"]"
}, - {
- "_status": "success",
- "_id": "ECFB8805-002D-441C-92AE-39FFE9D88A20",
- "_action": "delete",
- "link_id": "[\"p_01270\",\"pos_a191\"]"
}
]An asynchronous endpoint that enables data ingress into Orgvue.
Creates a jobTicket resource which in turn contains a URL to poll for the requested job data.
Ingress behaviour can be controlled by the query parameters provided.
You can use this endpoint with the resources produced by the temporary resources endpoint. Before making a request to this endpoint you should upload data to the intended import location in the same format as the payload for the PUT links items endpoint.
Note that we advise splitting larger updates into batches of no more than 25,000 actions for up to 100 properties. If more properties are being updated the number of actions in a batch should be reduced proportionally.
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| linksDatasetId required | string <uuid> Example: 99020AB5-EFEC-BED1-FDC5-3DDF9ED9A59B Links dataset unique identifier |
| dateFormat | string Enum: "YYYY-MM-DD" "DD/MM/YYYY" "MM/DD/YYYY" Example: dateFormat=YYYY-MM-DD The date format that items are presented in at the payload of your request. This query parameter can only be set once per request, and all items must be presented in the same format in the payload. Items presented in a different |
| onPropertyAccessDenied | string Enum: "skipProperty" "denyItemAccess" Example: onPropertyAccessDenied=denyItemAccess In the case where you do not have sufficient access rights to alter one or more properties, you can specify |
| onItemAccessDenied | string Enum: "skipAction" "failTransaction" In the case where you do not have sufficient access rights to alter one or more items, you can specify |
| onActionValidationFailure | string Enum: "skipAction" "failTransaction" Example: onActionValidationFailure=failTransaction In the case where you have provided an invalid action for one or more items, you can specify |
| implicitDelete | boolean Example: implicitDelete=true Only use this query parameter when you want to replace all existing items in a dataset with the ones in this payload. Any items not in the payload of this request will be deleted in the dataset after the ingress completes. Assumes access to individual items in the dataset is granted ahead of time, for deletion purposes. If an operation is skipped the item corresponding to it will not be deleted. |
| clearToken | string Example: clearToken=REMOVE_ME A user can specify their own String values in import cells to represent clearing out a value. Null and emptyString are the default clear tokens. As such these are always applied clear tokens without the requirement to explicitly state as a query parameter |
| noopToken | string Example: noopToken=IGNORE_ME A user can specify their own String values in import cells that result in no change to the data. |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
required | object Resource location that our API will ingest data from. Must be a secure URL location to an infrastructure object the lifecycle of which you own, where our API can have access to perform a http |
object (resultLocation) Provide this object to divert your result data to a storage location of your choice. It must be a secure resource compatible with the presigned URL mechanism for an object for which you own the lifecycle, which our API can use to upload data via an http | |
object (callbackPayload) The callback mechanism allows you to configure a request to be made by the Orgvue API when processing your asynchronous request is complete. The callback request is sent when the jobTicket is 'completed' or 'failed'. |
{- "callback": {
- "method": "GET",
}
}{- "_links": {
- "self": {
- "url": "https://",
- "contentType": "application/json; charset=UTF-8",
- "type": "jobTicket"
}, - "result": {
- "url": "https://",
- "contentType": "application/json; charset=UTF-8",
- "type": "downloadLink"
}
}, - "jobStatus": "created",
- "_createdAt": "2022-03-20T17:53:23.282Z",
- "_createdBy": "user@example.com",
- "_modifiedAt": "2022-03-20T17:53:26.321Z",
- "X-Amzn-Trace-Id": "Root=1-62bcb5d3-3b211f8616879dea3bde593f",
- "errors": [
- {
- "code": "50001",
- "name": "InternalServerError",
- "message": "There was an internal error. If the issue persists you should contact support@orgvue.com.",
- "errorContentType": "application/xml",
- "errorContent": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Error><Code>NoSuchKey</Code><Message>The resource you requested does not exist</Message><Resource>/mybucket/myfoto.jpg</Resource><RequestId>4442587FB7D0A2F9</RequestId></Error>"
}
]
}A synchronous endpoint that retrieves drafts for a tenant from Orgvue with specified filters and/ or projections.
Note: You can only filter by a draft's name, description or createdBy.
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
| filter | object <MongoDB query> Row level filtering using MongoDB query. Note: for this endpoint you can only filter by a draft's |
| projection | object <{ [propertyKey]: 1 }> (itemsProjection) Property filtering using a projection object |
{- "filter": {
- "name": "John Smith"
}, - "projection": {
- "draftId": 1,
- "name": 1,
- "description": 1
}
}{- "draftId": "36A1E02D-DC20-61C5-A11F-DD85440C652C",
- "name": "Finance Scenario Model",
- "description": "A scenario of our future Finance organization structure.",
- "createdBy": "user@example.com",
- "modifiedAt": "2020-05-29T09:43:03.953Z",
- "tags": [
- "Finance"
], - "_links": {
- "self": {
- "method": "GET",
- "type": "application/json; charset=UTF-8"
}, - "draft:actions": {
- "jsonBody": {
- "layers": [
- {
- "draftId": "36A1E02D-DC20-61C5-A11F-DD85440C652C",
- "layerKey": "default"
}
]
}, - "method": "POST",
- "type": "application/json; charset=UTF-8"
}
}
}| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| draftId required | string <uuid> Example: 99020AB5-EFEC-BED1-FDC5-3DDF9ED9A59B Draft unique identifier |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
{- "draftId": "36A1E02D-DC20-61C5-A11F-DD85440C652C",
- "name": "Finance Scenario Model",
- "description": "A scenario of our future Finance organization structure.",
- "createdBy": "user@example.com",
- "modifiedAt": "2020-05-29T09:43:03.953Z",
- "tags": [
- "Finance"
], - "_links": {
- "self": {
- "method": "GET",
- "type": "application/json; charset=UTF-8"
}, - "draft:actions": {
- "jsonBody": {
- "layers": [
- {
- "draftId": "36A1E02D-DC20-61C5-A11F-DD85440C652C",
- "layerKey": "default"
}
]
}, - "method": "POST",
- "type": "application/json; charset=UTF-8"
}
}
}An asynchronous endpoint that returns a jobTicket resource, which in turn contains a URL to poll for the requested data. An array of item actions represented by the requested draft layers will be written to the result location once the process is complete. These actions may be sent to the items import endpoint to apply the draft changes to the dataset.
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| encoding | string Enum: "gzip" "identity" Example: encoding=gzip Determines whether the data written to the result location will be compressed using gzip. Defaults to |
| resultEncoding | string Enum: "gzip" "identity" Example: resultEncoding=gzip Determines whether the data written to the result location will be compressed using gzip. Defaults to |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
required | Array of objects (draftLayersArray) An array of draft layer objects in the order in which they should be applied. |
| foldScheme | string Enum: "distinct" "lossless" "ordered" The type of folding required when multiple draft layers are provided. Defaults to "distinct".
|
object (callbackPayload) The callback mechanism allows you to configure a request to be made by the Orgvue API when processing your asynchronous request is complete. The callback request is sent when the jobTicket is 'completed' or 'failed'. | |
object (resultLocation) Provide this object to divert your result data to a storage location of your choice. It must be a secure resource compatible with the presigned URL mechanism for an object for which you own the lifecycle, which our API can use to upload data via an http |
{- "layers": [
- {
- "draftId": "36A1E02D-DC20-61C5-A11F-DD85440C652C",
- "layerKey": "default"
}
], - "foldScheme": "distinct",
- "callback": {
- "method": "GET",
},
}{- "_links": {
- "self": {
- "url": "https://",
- "contentType": "application/json; charset=UTF-8",
- "type": "jobTicket"
}, - "result": {
- "url": "https://",
- "contentType": "application/json; charset=UTF-8",
- "type": "downloadLink"
}
}, - "jobStatus": "created",
- "_createdAt": "2022-03-20T17:53:23.282Z",
- "_createdBy": "user@example.com",
- "_modifiedAt": "2022-03-20T17:53:26.321Z",
- "X-Amzn-Trace-Id": "Root=1-62bcb5d3-3b211f8616879dea3bde593f",
- "errors": [
- {
- "code": "50001",
- "name": "InternalServerError",
- "message": "There was an internal error. If the issue persists you should contact support@orgvue.com.",
- "errorContentType": "application/xml",
- "errorContent": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Error><Code>NoSuchKey</Code><Message>The resource you requested does not exist</Message><Resource>/mybucket/myfoto.jpg</Resource><RequestId>4442587FB7D0A2F9</RequestId></Error>"
}
]
}Remove all or specific edits, changes, or additions that you have made to the dataset in draft.
To remove specific edits include the filter object and properties you want to filter by.
Otherwise, all edits will be removed and the dataset will be restored to its original state. This would effectively erase all of your work on the draft.
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
required | Array of objects An array of draft layer objects in the order in which they will be cleared. |
object An object containing mongoDB queries that filter the actions you want cleared from the draft layers specified in 'layers'. |
{- "layers": [
- {
- "draftId": "331413BF-591C-031E-BAC4-D1C39AA28958",
- "layerKey": "default"
}, - {
- "draftId": "7918D0B4-24AC-8A3E-E21C-1302FAE4937E",
- "layerKey": "default"
}, - {
- "draftId": "ECFB8805-002D-441C-92AE-39FFE9D88A20",
- "layerKey": "default"
}
], - "filter": {
- "location": {
- "$in": [
- "UK",
- "USA"
]
}, - "approval_status": "Approved"
}
}[- {
- "status": "success",
- "draftId": "331413BF-591C-031E-BAC4-D1C39AA28958",
- "layerKey": "default"
}, - {
- "status": "success",
- "draftId": "7918D0B4-24AC-8A3E-E21C-1302FAE4937E",
- "layerKey": "default"
}, - {
- "status": "success",
- "draftId": "ECFB8805-002D-441C-92AE-39FFE9D88A20",
- "layerKey": "default"
}
]Generates a temporary secure file location and provides GET and PUT URLs to read from and write to the location. Data written to the location is securely encrypted at rest, and will be automatically deleted after a set period. The GET and PUT URLs also have fixed lifespans so that access is completely restricted once a reasonable usage period has concluded.
This secure location can be used in tandem with import and export processes.
For import, you would upload your required updates via the PUT URL and then send us the GET URL to process the update.
For export, you would send us the PUT URL and use the GET URL to access your requested data once processing is complete.
See the respective endpoints for further details.
| tenantId required | string^[A-Z][A-Z0-9_]{0,29}$ Example: TENANT_ID Tenant identifier |
| Accept-Encoding | string Enum: "gzip" "identity" Add this request header to compress the response you receive. For asynchronous endpoints using this header compresses the response containing the |
| targetType required | string Enum: "json" "csv" "tsv" Determines format of the data written to the file |
| targetEncoding required | string Enum: "gzip" "identity" Determines whether the data written to the file is compressed by gzip |
{- "targetType": "json",
- "targetEncoding": "identity"
}{
}The asynchronous result entity produced by the export API, containing next link actions
required | object HATEOAS next available actions links |
| jobStatus required | string Enum: "created" "running" "failed" "completed" The status of the job tracked by this jobTicket |
| _createdAt required | string ISO8601 creation timestamp of this job |
| _createdBy required | string <email> Email address of the account that created this job |
| _modifiedAt | string ISO8601 latest update timestamp of this job |
| X-Amzn-Trace-Id required | string Unique tracking identifier for this request |
Array of objects Only present if the job has completed in the |
{- "_links": {
- "self": {
- "url": "https://",
- "contentType": "application/json; charset=UTF-8",
- "type": "jobTicket"
}, - "result": {
- "url": "https://",
- "contentType": "application/json; charset=UTF-8",
- "type": "downloadLink"
}
}, - "jobStatus": "created",
- "_createdAt": "2022-03-20T17:53:23.282Z",
- "_createdBy": "user@example.com",
- "_modifiedAt": "2022-03-20T17:53:26.321Z",
- "X-Amzn-Trace-Id": "Root=1-62bcb5d3-3b211f8616879dea3bde593f",
- "errors": [
- {
- "code": "50001",
- "name": "InternalServerError",
- "message": "There was an internal error. If the issue persists you should contact support@orgvue.com.",
- "errorContentType": "application/xml",
- "errorContent": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Error><Code>NoSuchKey</Code><Message>The resource you requested does not exist</Message><Resource>/mybucket/myfoto.jpg</Resource><RequestId>4442587FB7D0A2F9</RequestId></Error>"
}
]
}The self link to the jobTicket entity produced by the export API
| url | string <url> |
| contentType | string Value: "application/json; charset=UTF-8" |
| type | string Value: "jobTicket" |
{- "url": "https://",
- "contentType": "application/json; charset=UTF-8",
- "type": "jobTicket"
}The link to the dataset export location produced by the export API
| url | string <url> |
| contentType | string Enum: "application/json; charset=UTF-8" "text/csv; charset=UTF-8" "text/tab-separated-values; charset=UTF-8" |
| type | string Enum: "downloadLink" "uploadLink" |
{- "url": "https://",
- "contentType": "application/json; charset=UTF-8",
- "type": "downloadLink"
}Receiving one or more of these objects in a response indicates that the server cannot process the request due to a client side error. You can use the information in the error object to correct and retry your request.
Array of objects | |||||||||||||||
Array
| |||||||||||||||
{- "errors": [
- {
- "code": "400020",
- "name": "FieldMustNotBeMultivalued",
- "message": "You cannot specify this field multiple times.",
- "pathParameter": "{tenantId}",
- "queryParameter": "includeBOM",
- "jsonBody": "$.dataset.drafts[0].draftId",
- "resourcePath": "MY_TENANT/datasets/99020AB5-EFEC-BED1-FDC5-3DDF9ED9A59B"
}
]
}Receiving one or more of these objects in a response indicates that the server cannot process the request due to an internal server error. You may or may not be able to retry your request.
If the request specified that customer owned infrastructure be used, the server might encounter asynchronous errors. Optional error attributes will contain the downstream error received by the server from the customer owned resource. The request can be retried after issues with the resource have been addressed.
Array of objects | |||||||||||
Array
| |||||||||||
{- "errors": [
- {
- "code": "50001",
- "name": "InternalServerError",
- "message": "There was an internal error. If the issue persists you should contact support@orgvue.com.",
- "errorContentType": "application/xml",
- "errorContent": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Error><Code>NoSuchKey</Code><Message>The resource you requested does not exist</Message><Resource>/mybucket/myfoto.jpg</Resource><RequestId>4442587FB7D0A2F9</RequestId></Error>"
}
]
}