Download OpenAPI specification:Download
This is the V2 On Demand Land API. We are working hard to provide the next generation of getting data in and out of On Demand Land. We don't expect breaking changes. But if we have to make a breaking change, then we will contact you before the change reaches production. We also will update this page when new features are exposed for you to use.
The requests we expect and the responses we return follow the JSON-API standard. Check out the JSON-API website to learn more about the standard. Each endpoint will also document the expected shape of the request and response.
We use Auth0 to generate a JWT for authentication.
Issue a POST request to https://landdox.auth0.com/oauth/token with the following JSON payload using the client id and the client secret we provide you with:
{
"client_id":"<client id>",
"client_secret":"<client secret>",
"audience":"api.landdox.com",
"grant_type":"client_credentials"
}
The response will include an access_token that is a JWT. Include the JWT token in the authorization header when sending a request to the On Demand Land API:
Authorization: Bearer <access_token>
This token is valid for 12 hours. Please store and use this token until it expires. The easiest way to tell if you need a new token is if you get a 401 in response to any request. When this happens, request a new one from Auth0 as above.
https://api.ondemandquorum.com/land
We are moving to Subscription Key Authentication. We will provide you with a subscription key that you will include in the header of your requests.
Ocp-Apim-Subscription-Key: <subscription key>
This key will be unique to each organization and will be used to authenticate your requests.
If you wish to begin using Subscription Key Authentication, please request your subscription key through a ticket in the support portal.
Operations for reading, creating, updating, and deleting Agreements.
These endpoints support dynamic form schema names using the pattern:
{METHOD} /v2/{form_schema_name}
Supported form_schema_name values:
Update Agreement Interests - Only WI owners are supported at this time
| id required | integer Lease ID |
Agreement interests object in JSON-API format; This data is used to update the Agreement Interests
object |
{- "data": {
- "working_interests": [
- {
- "id": 0,
- "gross_working_interest": "string",
- "contact_id": 0
}
]
}
}{- "data": {
- "working_interests": [
- {
- "id": 0,
- "gross_working_interest": "string",
- "contact_id": 0
}
]
}
}Get a list of Agreement Interests. This includes connected mineral interests, NPRIs, and working interests and burdens on agreements.
| id required | integer Lease ID |
{- "data": [
- {
- "tracts": [
- {
- "name": "string",
- "mineral_interests_total": 0,
- "mineral_interests": [
- {
- "working_interests_percent_total": 0,
- "working_interests_nri_total": 0,
- "working_interests": [
- {
- "percent": 0,
- "ownership_participant_id": 0,
- "nri_per_wi": 0,
- "nri": 0,
- "net_co_acres": 0,
- "interest_type": 0,
- "id": 0,
- "contact_name": "string",
- "contact_id": 0,
- "contact_entity_code": "string",
- "burdens_percent_total": 0,
- "burdens_nri_total": 0,
- "burdens": [
- null
], - "acres": 0
}
], - "percent": 0,
- "net_leased_acres": 0,
- "id": 0,
- "contact_name": "string",
- "contact_id": 0,
- "contact_entity_code": "string",
- "burdens_percent_total": 0,
- "burdens_nri_total": 0,
- "burdens": [
- {
- "percent": 0,
- "ownership_participant_id": 0,
- "nri": 0,
- "interest_type": "string",
- "id": 0,
- "contact_name": "string",
- "contact_id": 0,
- "contact_entity_code": "string",
- "allocation": 0
}
]
}
], - "id": 0,
- "has_executive_interest": true,
- "gross_acres": 0
}
], - "specify_per_mi": true
}
]
}Update an Agreement
| id required | integer ID of Agreement to update |
Agreement object in JSON-API format; This data is used to update the Agreement status
object |
{- "data": {
- "attributes": {
- "status_change_reason_id": "string",
- "status_change_date": "2019-08-24",
- "property_status_id": "string",
- "next_expiration_date": "2019-08-24",
- "name": "string",
- "max_expiration_date": "2019-08-24T14:15:22Z",
- "lease_effective_date": "2019-08-24T14:15:22Z",
- "draft_agreement_status": "string"
}
}
}{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "specify_per_mi": true,
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "gross_acreage": 0,
- "entity_code": "string",
- "attributes": {
- "status_change_reason_label": "string",
- "status_change_reason_id": "string",
- "status_change_date": "2019-08-24",
- "property_status_label": "string",
- "property_status_id": 0,
- "next_expiration_date": "2019-08-24",
- "name": "string",
- "max_expiration_date": "2019-08-24T14:15:22Z",
- "lease_effective_date": "2019-08-24T14:15:22Z",
- "expiration_date": "2019-08-24T14:15:22Z",
- "draft_agreement_status": "string",
- "data_validation_status_updated_at": "2019-08-24",
- "data_validation_status": "string"
}
}
}{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "specify_per_mi": true,
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "gross_acreage": 0,
- "entity_code": "string",
- "attributes": {
- "status_change_reason_label": "string",
- "status_change_reason_id": "string",
- "status_change_date": "2019-08-24",
- "property_status_label": "string",
- "property_status_id": 0,
- "next_expiration_date": "2019-08-24",
- "name": "string",
- "max_expiration_date": "2019-08-24T14:15:22Z",
- "lease_effective_date": "2019-08-24T14:15:22Z",
- "expiration_date": "2019-08-24T14:15:22Z",
- "draft_agreement_status": "string",
- "data_validation_status_updated_at": "2019-08-24",
- "data_validation_status": "string"
}
}
}Delete an Agreement
| id required | integer ID of Agreement to delete |
{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "specify_per_mi": true,
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "gross_acreage": 0,
- "entity_code": "string",
- "attributes": {
- "status_change_reason_label": "string",
- "status_change_reason_id": "string",
- "status_change_date": "2019-08-24",
- "property_status_label": "string",
- "property_status_id": 0,
- "next_expiration_date": "2019-08-24",
- "name": "string",
- "max_expiration_date": "2019-08-24T14:15:22Z",
- "lease_effective_date": "2019-08-24T14:15:22Z",
- "expiration_date": "2019-08-24T14:15:22Z",
- "draft_agreement_status": "string",
- "data_validation_status_updated_at": "2019-08-24",
- "data_validation_status": "string"
}
}
}Create an Agreement
Agreement object in JSON-API format; This data is used to create the Agreement
object |
{- "data": {
- "attributes": {
- "status_change_reason_id": "string",
- "status_change_date": "2019-08-24",
- "property_status_id": "string",
- "next_expiration_date": "2019-08-24",
- "name": "string",
- "max_expiration_date": "2019-08-24T14:15:22Z",
- "lease_effective_date": "2019-08-24T14:15:22Z",
- "form_status": "string",
- "draft_agreement_status": "string",
- "active": true
}
}
}{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "specify_per_mi": true,
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "gross_acreage": 0,
- "entity_code": "string",
- "attributes": {
- "status_change_reason_label": "string",
- "status_change_reason_id": "string",
- "status_change_date": "2019-08-24",
- "property_status_label": "string",
- "property_status_id": 0,
- "next_expiration_date": "2019-08-24",
- "name": "string",
- "max_expiration_date": "2019-08-24T14:15:22Z",
- "lease_effective_date": "2019-08-24T14:15:22Z",
- "expiration_date": "2019-08-24T14:15:22Z",
- "draft_agreement_status": "string",
- "data_validation_status_updated_at": "2019-08-24",
- "data_validation_status": "string"
}
}
}Get a list of Agreements. Uses pagination with default page size of 10. To retrieve further information on an individual Agreement, use the individual Agreement request.
| page[size] | integer >= 1 Number of elements per page |
| page[number] | integer >= 1 Number of the page |
| updated_since | string ISO8601 formatted date |
| show_relationships | string Show relationships (true or false), false by default |
| draft_agreement_status | string Enum: "new" "pending" "approved" "rejected" Filter leases by draft agreement status |
| data_validation_status | string Enum: "new" "pending" "approved" "rejected" "edited_after_approval" Filter leases by data validation status |
| data_validation_status_updated_at_from | string Filter leases by data validation status updated at (from date, inclusive). Example: '2024-01-01T00:00:00.000000Z' |
| data_validation_status_updated_at_to | string Filter leases by data validation status updated at (to date, inclusive). Example: '2024-12-31T23:59:59.000000Z' |
{- "meta": {
- "total_pages": 0,
- "total_entries": 0,
- "page_size": 0,
- "page_number": 0
}, - "data": [
- {
- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "specify_per_mi": true,
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "gross_acreage": 0,
- "entity_code": "string",
- "attributes": {
- "status_change_reason_label": "string",
- "status_change_reason_id": "string",
- "status_change_date": "2019-08-24",
- "property_status_label": "string",
- "property_status_id": 0,
- "next_expiration_date": "2019-08-24",
- "name": "string",
- "max_expiration_date": "2019-08-24T14:15:22Z",
- "lease_effective_date": "2019-08-24T14:15:22Z",
- "expiration_date": "2019-08-24T14:15:22Z",
- "draft_agreement_status": "string",
- "data_validation_status_updated_at": "2019-08-24",
- "data_validation_status": "string"
}
}
}
]
}Update an Agreement Status
| id required | integer ID of Agreement to update |
Agreement object in JSON-API format; This data is used to update the Agreement status
object | |
| active | boolean Lease status, true or false |
{- "data": {
- "attributes": {
- "status_change_reason": "string",
- "status_change_date": "string",
- "mode": "string"
}
}, - "active": true
}{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "specify_per_mi": true,
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "gross_acreage": 0,
- "entity_code": "string",
- "attributes": {
- "status_change_reason_label": "string",
- "status_change_reason_id": "string",
- "status_change_date": "2019-08-24",
- "property_status_label": "string",
- "property_status_id": 0,
- "next_expiration_date": "2019-08-24",
- "name": "string",
- "max_expiration_date": "2019-08-24T14:15:22Z",
- "lease_effective_date": "2019-08-24T14:15:22Z",
- "expiration_date": "2019-08-24T14:15:22Z",
- "draft_agreement_status": "string",
- "data_validation_status_updated_at": "2019-08-24",
- "data_validation_status": "string"
}
}
}Updates the Agreement participant list for a lease
| id required | integer Agreement ID |
List of Agreement participants to set
Array of objects (Lease Participant Payload) |
{- "data": [
- {
- "type": "string",
- "signed": true,
- "contact_id": 0
}
]
}{- "data": [
- {
- "type": "string",
- "signed": true,
- "lease_name": "string",
- "lease_id": 0,
- "id": 0,
- "entity_code": "string",
- "contact_name": "string",
- "contact_id": 0,
- "contact_entity_code": "string"
}
]
}Gets a list of Agreement participants (lessees and lessors)
| id required | integer Agreement ID |
{- "data": [
- {
- "type": "string",
- "signed": true,
- "lease_name": "string",
- "lease_id": 0,
- "id": 0,
- "entity_code": "string",
- "contact_name": "string",
- "contact_id": 0,
- "contact_entity_code": "string"
}
]
}Create a Contact
Contact object in JSON-API format; This data is used to create the Contact
object |
{- "data": {
- "attributes": {
- "name": "string",
- "form_status": "string",
- "active": true
}
}
}{- "data": {
- "type": "string",
- "payor": true,
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "internal_company": true,
- "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}Get a list of Contacts. Uses pagination with default page size of 10. To retrieve further information on an individual Contact, use the individual Contact request.
| updated_since | string ISO8601 formatted date |
| page[size] | integer >= 1 Number of elements per page |
| page[number] | integer >= 1 Number of the page |
| show_relationships | string Show relationships (true or false), false by default |
{- "updated_since": "string",
- "meta": {
- "total_pages": 0,
- "total_entries": 0,
- "page_size": 0,
- "page_number": 0
}, - "data": [
- {
- "data": {
- "type": "string",
- "payor": true,
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "internal_company": true,
- "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}
]
}Update a Contact
| id required | integer ID of Contact to update |
Contact object in JSON-API format; This data is used to update the Contact
object |
{- "data": {
- "attributes": { }
}
}{- "data": {
- "type": "string",
- "payor": true,
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "internal_company": true,
- "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}Get a Contact by id
| id required | integer Contact ID |
| show_relationships | string Show relationships (true or false), false by default |
{- "data": {
- "type": "string",
- "payor": true,
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "internal_company": true,
- "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}Delete a Contact
| id required | integer ID of Contact to delete |
{- "data": {
- "type": "string",
- "payor": true,
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "internal_company": true,
- "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}Update a Contact Status
| id required | integer ID of Contact to update |
Contact object in JSON-API format; This data is used to update the Contact status
object | |
| active | boolean Contact status, true or false |
{- "data": {
- "attributes": {
- "status_change_reason": "string",
- "status_change_date": "string",
- "mode": "string"
}
}, - "active": true
}{- "data": {
- "type": "string",
- "payor": true,
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "internal_company": true,
- "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}Create a Contact Address for a Contact
| contact_id required | integer Contact ID |
Contact Address object in JSON-API format
object |
{- "data": {
- "attributes": {
- "usages": [
- {
- "type": "string",
- "primary": true,
- "id": "string"
}
], - "state_fip": 0,
- "postal_code": "string",
- "country_fip": "st",
- "city": "string",
- "attention": "string",
- "address_type_id": "string",
- "address_line_3": "string",
- "address_line_2": "string",
- "address_line_1": "string"
}
}
}{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": 0,
- "attributes": {
- "usages": [
- {
- "type": "string",
- "primary": true,
- "id": "string"
}
], - "state_label": "string",
- "state_fip": 0,
- "postal_code": "string",
- "country_label": "string",
- "country_fip": "st",
- "city": "string",
- "attention": "string",
- "address_type_label": "string",
- "address_type_id": "string",
- "address_suffix": 0,
- "address_line_3": "string",
- "address_line_2": "string",
- "address_line_1": "string"
}, - "active": true
}
}Get a list of addresses for a Contact.
| contact_id required | integer Contact ID |
{- "data": [
- {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": 0,
- "attributes": {
- "usages": [
- {
- "type": "string",
- "primary": true,
- "id": "string"
}
], - "state_label": "string",
- "state_fip": 0,
- "postal_code": "string",
- "country_label": "string",
- "country_fip": "st",
- "city": "string",
- "attention": "string",
- "address_type_label": "string",
- "address_type_id": "string",
- "address_suffix": 0,
- "address_line_3": "string",
- "address_line_2": "string",
- "address_line_1": "string"
}, - "active": true
}
]
}Update a Contact Address
| contact_id required | integer Contact ID |
| id required | integer Contact Address ID |
Contact Address object in JSON-API format
object |
{- "data": {
- "attributes": {
- "usages": [
- {
- "type": "string",
- "primary": true,
- "id": "string"
}
], - "state_fip": 0,
- "postal_code": "string",
- "country_fip": "st",
- "city": "string",
- "attention": "string",
- "address_type_id": "string",
- "address_line_3": "string",
- "address_line_2": "string",
- "address_line_1": "string"
}
}
}{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": 0,
- "attributes": {
- "usages": [
- {
- "type": "string",
- "primary": true,
- "id": "string"
}
], - "state_label": "string",
- "state_fip": 0,
- "postal_code": "string",
- "country_label": "string",
- "country_fip": "st",
- "city": "string",
- "attention": "string",
- "address_type_label": "string",
- "address_type_id": "string",
- "address_suffix": 0,
- "address_line_3": "string",
- "address_line_2": "string",
- "address_line_1": "string"
}, - "active": true
}
}Get a Contact Address by id
| contact_id required | integer Contact ID |
| id required | integer Contact Address ID |
{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": 0,
- "attributes": {
- "usages": [
- {
- "type": "string",
- "primary": true,
- "id": "string"
}
], - "state_label": "string",
- "state_fip": 0,
- "postal_code": "string",
- "country_label": "string",
- "country_fip": "st",
- "city": "string",
- "attention": "string",
- "address_type_label": "string",
- "address_type_id": "string",
- "address_suffix": 0,
- "address_line_3": "string",
- "address_line_2": "string",
- "address_line_1": "string"
}, - "active": true
}
}Delete a Contact Address
| contact_id required | integer Contact ID |
| id required | integer Contact Address ID |
{- "errors": [
- {
- "title": "string",
- "status": "string",
- "source": "string",
- "meta": { },
- "detail": "string",
- "code": "string"
}
]
}Create a Document with custom attributes. Returns document data and a presigned upload URL in the meta.upload_url field. To upload the file, send an HTTP PUT request to the upload URL with the binary file content as the request body. The upload URL expires after 24 hours.
Document object in JSON-API format; This data is used to create the Document
object |
{- "data": {
- "type": "string",
- "attributes": {
- "ocr_text": "string",
- "name": "string",
- "file_type": "string"
}
}
}{- "meta": {
- "upload_url": "string"
}, - "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": 0,
- "attributes": {
- "name": "string",
- "file_type": "string"
}, - "active": true
}
}Get a list of Documents. Uses paging with default page size of 10. To retrieve further information on an individual Document, use the individual Document request.
| updated_since | string ISO8601 formatted date |
| page[size] | integer >= 1 Number of elements per page |
| page[number] | integer >= 1 Number of the page |
| show_relationships | string Show relationships (true or false), false by default |
{- "meta": {
- "total_pages": 0,
- "total_entries": 0,
- "page_size": 0,
- "page_number": 0
}, - "data": [
- {
- "user_id": 0,
- "updated_at": "string",
- "status": "processing",
- "size": 0,
- "name": "string",
- "id": 0,
- "created_at": "string"
}
]
}Update a Document with custom attributes
| id required | integer ID of Document to update |
Document object in JSON-API format; This data is used to update the Document
object |
{- "data": {
- "type": "string",
- "attributes": {
- "ocr_text": "string",
- "name": "string",
- "file_type": "string"
}
}
}{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "attributes": {
- "wells": [
- null
], - "units": [
- null
], - "tracts": [
- null
], - "status": "PROCESSING",
- "revenue_payments": [
- null
], - "projects": [
- null
], - "ocr_text": "string",
- "name": "string",
- "leases": [
- null
], - "file_type": "string",
- "expense_payments": [
- null
], - "document_type": "string",
- "contacts": [
- null
], - "afes": [
- null
]
}, - "active": true
}
}Get a Document by id including custom attributes
| id required | integer Document ID |
| show_relationships | string Show relationships (true or false), false by default |
{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "attributes": {
- "wells": [
- null
], - "units": [
- null
], - "tracts": [
- null
], - "status": "PROCESSING",
- "revenue_payments": [
- null
], - "projects": [
- null
], - "ocr_text": "string",
- "name": "string",
- "leases": [
- null
], - "file_type": "string",
- "expense_payments": [
- null
], - "document_type": "string",
- "contacts": [
- null
], - "afes": [
- null
]
}, - "active": true
}
}Delete a Document by id
| id required | integer ID of Document to delete |
{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "attributes": {
- "wells": [
- null
], - "units": [
- null
], - "tracts": [
- null
], - "status": "PROCESSING",
- "revenue_payments": [
- null
], - "projects": [
- null
], - "ocr_text": "string",
- "name": "string",
- "leases": [
- null
], - "file_type": "string",
- "expense_payments": [
- null
], - "document_type": "string",
- "contacts": [
- null
], - "afes": [
- null
]
}, - "active": true
}
}Get a list of directories with optional filtering and sorting
| page | integer Page number (default: 1) |
| page_size | integer Page size (default: 100, max: 500) |
| sort_by | string Field to sort by: name, path, created_at (default: name) |
| sort_order | string Sort order: asc or desc (default: asc) |
| search | string Search term to filter by name or path |
{- "meta": {
- "total_pages": 0,
- "total_entries": 0,
- "page_size": 0,
- "page_number": 0
}, - "data": [
- {
- "type": "string",
- "id": "string",
- "attributes": {
- "updated_at": "string",
- "path": "string",
- "name": "string",
- "created_at": "string"
}
}
]
}Returns formula calculation details for expense payments within a project, grouped by owner.
| id required | integer Project ID |
| due_date_from required | string Start date for payment due date range (ISO 8601 format) |
| due_date_to required | string End date for payment due date range (ISO 8601 format) |
| lease_id | integer Filter by Lease ID |
| payor_id | integer Filter by Payor Contact ID |
| payee_id | integer Filter by Payee (owner) Contact ID |
{- "data": {
- "project_id": 0,
- "owners": [
- {
- "payor_name": "string",
- "payor_address": "string",
- "payments": [
- {
- "settlement_type": "string",
- "payment_id": "string",
- "payee_percent": 0,
- "payee_amount": 0,
- "formula_results": [
- {
- "id": "string",
- "formula_id": 0,
- "form_schema_name": "string",
- "data": { }
}
], - "form_schema_name": "string",
- "date": "string",
- "amount_in_cents": 0,
- "agreement_name": "string",
- "agreement_code": "string"
}
], - "payee_name": "string",
- "payee_id": 0,
- "payee_address": "string"
}
]
}
}Create a Project
Project object in JSON-API format; This data is used to create the Project
object |
{- "data": {
- "attributes": {
- "project_phase_name": "string",
- "name": "string",
- "form_status": "string",
- "active": true
}
}
}{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}Get a list of Projects. Uses pagination with default page size of 10. To retrieve further information on an individual Project, use the individual Project request.
| page[size] | integer >= 1 Number of elements per page |
| page[number] | integer >= 1 Number of the page |
| updated_since | string ISO8601 formatted date |
| show_relationships | string Show relationships (true or false), false by default |
{- "meta": {
- "total_pages": 0,
- "total_entries": 0,
- "page_size": 0,
- "page_number": 0
}, - "data": [
- {
- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}
]
}Update a Project Status
| id required | integer ID of Project to update |
Project object in JSON-API format; This data is used to update the Project
object | |
| active | boolean Project status, true or false |
{- "data": {
- "attributes": {
- "status_change_reason_id": "string",
- "status_change_date": "string"
}
}, - "active": true
}{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}Update a Project
| id required | integer ID of Project to update |
Project object in JSON-API format; This data is used to update the Project status
object |
{- "data": {
- "attributes": { }
}
}{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}Get a Project by id
| id required | integer Project ID |
| show_relationships | string Show relationships (true or false), false by default |
{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}Operations for reading, creating, updating, and deleting Tracts. Also endpoints for Tract Ownerships and Interests.
Set ownerships on a tract when Tract DOI feature is enabled.
| id required | integer Tract ID |
List of ownerships params in JSON-API format; This data is used to save ownerships on the tract.
object |
{- "data": {
- "ownerships": [
- {
- "tract_id": 0,
- "percent": 0,
- "owner_id": 0,
- "lri": 0,
- "lease_id": 0,
- "interest_type": "string",
- "id": 0,
- "factor": 0,
- "acquisition_name": "string"
}
]
}
}{- "data": [
- {
- "tract_name": "string",
- "tract_id": 0,
- "percent": 0,
- "owner_name": "string",
- "owner_known_acres": 0,
- "owner_id": 0,
- "owner_entity_code": "string",
- "nri_acres": 0,
- "nri": 0,
- "lri": 0,
- "lease_name": "string",
- "lease_id": 0,
- "lease_form_schema_name": "string",
- "lease_form_id": 0,
- "lease_entity_code": "string",
- "lease_active": true,
- "interest_type": "string",
- "id": 0,
- "factor": 0,
- "acquisition_name": "string"
}
]
}Get a list of Tract Ownerships when Tract DOI feature is enabled.
| id required | integer Tract ID |
{- "data": [
- {
- "tract_name": "string",
- "tract_id": 0,
- "percent": 0,
- "owner_name": "string",
- "owner_known_acres": 0,
- "owner_id": 0,
- "owner_entity_code": "string",
- "nri_acres": 0,
- "nri": 0,
- "lri": 0,
- "lease_name": "string",
- "lease_id": 0,
- "lease_form_schema_name": "string",
- "lease_form_id": 0,
- "lease_entity_code": "string",
- "lease_active": true,
- "interest_type": "string",
- "id": 0,
- "factor": 0,
- "acquisition_name": "string"
}
]
}Get acreage information for a Tract
| id required | integer Tract ID |
{- "data": {
- "tract_name": "string",
- "tract_id": 0,
- "net_surface_acres_counted": 0,
- "net_surface_acres": 0,
- "net_owner_known_acres_counted": 0,
- "net_owner_known_acres": 0,
- "net_mineral_acres": 0,
- "net_leased_acres_counted": 0,
- "net_leased_acres": 0,
- "mineral_interests": [
- {
- "surface_acres_counted": 0,
- "surface_acres": 0,
- "signed": true,
- "percent": 0,
- "owner_known_acres_counted": 0,
- "owner_known_acres": 0,
- "leased_acres_counted": 0,
- "leased_acres": 0,
- "lease_name": "string",
- "lease_id": 0,
- "id": 0,
- "executive_interest": 0
}
], - "max_net_leased_acres": 0,
- "max_internal_co_net_acres": 0,
- "max_gross_acres": 0,
- "internal_co_net_acres_counted": 0,
- "internal_co_net_acres": 0,
- "gross_acres_counted": 0,
- "gross_acres": 0
}
}Create a Tract
Tract object in JSON-API format; This data is used to create the Tract
object |
{- "data": {
- "tract_status": "string",
- "prospect": [
- null
], - "name": "string",
- "gross_acres": 0,
- "depth": "string"
}
}{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": {
- "tract_status": "string",
- "prospect": [
- null
], - "name": "string",
- "formations": [
- "string"
], - "depth": "string",
- "data_validation_status_updated_at": "string",
- "data_validation_status": "string"
}
}
}Get a list of Tracts. Uses pagination with default page size of 10. To retrieve further information on an individual Tract, use the individual Tract request.
| updated_since | string ISO8601 formatted date |
| page[size] | integer >= 1 Number of elements per page |
| page[number] | integer >= 1 Number of the page |
| show_relationships | string Show relationships (true or false), false by default |
| data_validation_status | string Enum: "new" "pending" "approved" "rejected" "edited_after_approval" Filter tracts by data validation status |
{- "meta": {
- "total_pages": 0,
- "total_entries": 0,
- "page_size": 0,
- "page_number": 0
}, - "data": [
- {
- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": {
- "tract_status": "string",
- "prospect": [
- null
], - "name": "string",
- "formations": [
- "string"
], - "depth": "string",
- "data_validation_status_updated_at": "string",
- "data_validation_status": "string"
}
}
}
]
}Update a Tract
| id required | integer ID of Tract to update |
Tract object in JSON-API format; This data is used to update the Tract
object |
{- "data": {
- "tract_status": "string",
- "prospect": [
- null
], - "name": "string",
- "gross_acres": 0,
- "depth": "string"
}
}{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": {
- "tract_status": "string",
- "prospect": [
- null
], - "name": "string",
- "formations": [
- "string"
], - "depth": "string",
- "data_validation_status_updated_at": "string",
- "data_validation_status": "string"
}
}
}Get a Tract by id
| id required | integer Tract ID |
| show_relationships | string Show relationships (true or false), false by default |
| include_formations | string Include formations data (true or false), false by default |
{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": {
- "tract_status": "string",
- "prospect": [
- null
], - "name": "string",
- "formations": [
- "string"
], - "depth": "string",
- "data_validation_status_updated_at": "string",
- "data_validation_status": "string"
}
}
}Get a list of Tract Interests. This includes connected mineral interests, NPRIs, and working interests and burdens on leases.
| id required | integer Tract ID |
{- "data": [
- {
- "tract_name": "string",
- "tract_id": 0,
- "tract_acres": 0,
- "percent": 0,
- "owner_name": "string",
- "owner_id": 0,
- "nri": 0,
- "lease_name": "string",
- "lease_id": 0,
- "is_burden": true,
- "interest_type": "string",
- "interest_id": 0,
- "burdening_type": "string",
- "burdening_id": 0
}
]
}Set formations on a Tract
| id required | integer Tract ID |
Formations data in JSON-API format
object |
{- "data": {
- "formations": [
- 1,
- 5,
- 12,
- 23
]
}
}{- "data": [
- {
- "view_order": 0,
- "name": "string",
- "id": 0
}
]
}Set ownerships on a tract
| id required | integer Tract ID |
List of ownerships params in JSON-API format; This data is used to save ownerships on the tract.
object |
{- "data": {
- "ownerships": [
- {
- "tract_id": 0,
- "percent": 0,
- "owner_known_acres": 0,
- "owner_id": 0,
- "npris": [
- {
- "percent": 0,
- "owner_id": 0,
- "id": 0
}
], - "lease_id": 0,
- "id": 0,
- "executive_interest": 0
}
]
}
}{- "data": [
- {
- "tract_name": "string",
- "tract_id": 0,
- "surface_interest": 0,
- "surface_acres": 0,
- "percent": 0,
- "owner_name": "string",
- "owner_known_acres": 0,
- "owner_id": 0,
- "owner_entity_code": "string",
- "npris": [
- {
- "percent": 0,
- "owner_name": "string",
- "owner_id": 0,
- "owner_entity_code": "string",
- "id": 0
}
], - "lease_name": "string",
- "lease_id": 0,
- "lease_form_schema_name": "string",
- "lease_form_id": 0,
- "lease_entity_code": "string",
- "lease_active": true,
- "id": 0,
- "executive_interest": 0
}
]
}Get a list of Tract Ownerships.
| id required | integer Tract ID |
{- "data": [
- {
- "tract_name": "string",
- "tract_id": 0,
- "surface_interest": 0,
- "surface_acres": 0,
- "percent": 0,
- "owner_name": "string",
- "owner_known_acres": 0,
- "owner_id": 0,
- "owner_entity_code": "string",
- "npris": [
- {
- "percent": 0,
- "owner_name": "string",
- "owner_id": 0,
- "owner_entity_code": "string",
- "id": 0
}
], - "lease_name": "string",
- "lease_id": 0,
- "lease_form_schema_name": "string",
- "lease_form_id": 0,
- "lease_entity_code": "string",
- "lease_active": true,
- "id": 0,
- "executive_interest": 0
}
]
}Update a Unit
| id required | integer ID of Unit to update |
Unit object in JSON-API format; This data is used to update the Unit
object |
{- "data": {
- "attributes": { }
}
}{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}Get a Unit by id
| id required | integer Unit ID |
| show_relationships | string Show relationships (true or false), false by default |
{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}Create a Unit
Unit object in JSON-API format; This data is used to create the Unit
object |
{- "data": {
- "attributes": { }
}
}{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}Get a list of Units. Uses paging with default page size of 10. To retrieve further information on an individual Unit, use the individual Unit request.
| updated_since | string ISO8601 formatted date |
| page[size] | integer >= 1 Number of elements per page |
| page[number] | integer >= 1 Number of the page |
| show_relationships | string Show relationships (true or false), false by default |
{- "updated_since": "string",
- "meta": {
- "total_pages": 0,
- "total_entries": 0,
- "page_size": 0,
- "page_number": 0
}, - "data": [
- {
- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}
]
}Create a Well
Well object in JSON-API format; This data is used to create the Well
object |
{- "data": {
- "attributes": { }
}
}{- "type": "string",
- "data": {
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}Get a list of Wells. Uses paging with default page size of 10. To retrieve further information on an individual Well, use the individual Well request.
| updated_since | string ISO8601 formatted date |
| page[size] | integer >= 1 Number of elements per page |
| page[number] | integer >= 1 Number of the page |
| show_relationships | string Show relationships (true or false), false by default |
{- "meta": {
- "total_pages": 0,
- "total_entries": 0,
- "page_size": 0,
- "page_number": 0
}, - "data": [
- {
- "type": "string",
- "data": {
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}
]
}Update a Well
| id required | integer ID of Well to update |
Well object in JSON-API format; This data is used to update the Well
object |
{- "data": {
- "attributes": { }
}
}{- "type": "string",
- "data": {
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}Get a Well by id
| id required | integer Well ID |
| show_relationships | string Show relationships (true or false), false by default |
{- "type": "string",
- "data": {
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}{- "type": "string",
- "data": {
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": { }
}
}Operations for creating, patching, listing, updating, reading, and deleting expense payments.
Create a Expense Payment
Payment payload in JSON-API format; This data is used to create the Payment
| type | string JSON-API type. Will always be 'payments'. |
object |
{- "type": "string",
- "data": {
- "attributes": {
- "recurring_payment_template_id": "string",
- "payment_type": "string",
- "payment_subtype_id": "string",
- "payer_id": 0,
- "payer_address_id": 0,
- "payees": [
- {
- "percent": 0,
- "payee_name": "string",
- "payee_id": 0,
- "payee_code": "string",
- "payee_address_id": 0,
- "description": "string",
- "amount": 0
}
], - "parties": [
- {
- "percent": 0,
- "party_name": "string",
- "party_id": 0,
- "party_code": "string",
- "party_active": true,
- "amount": 0
}
], - "invoice_date": "string",
- "form_schema_name": "string",
- "form_schema_label": "string",
- "form_name": "string",
- "form_id": 0,
- "date": "string",
- "billings": [
- {
- "expense_deck_name": "string",
- "expense_deck_id": "string",
- "expense_deck_code": "string",
- "description": "string",
- "billing_property_name": "string",
- "billing_property_id": "string",
- "billing_property_form_schema_name": "string",
- "billing_property_form_id": 0,
- "billing_property_code": "string",
- "amount": 0,
- "afe_name": "string",
- "afe_id": "string",
- "afe_code": "string",
- "account_name": "string",
- "account_id": "string",
- "account_code": "string"
}
], - "amount_in_cents": 0
}
}
}{- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": "string",
- "entity_code": "string",
- "attributes": {
- "recurring_payment_template_id": "string",
- "payment_type": "string",
- "payment_subtype_name": "string",
- "payment_subtype_id": "string",
- "payment_status": "string",
- "payer_name": "string",
- "payer_id": 0,
- "payer_address_suffix": 0,
- "payer_address_id": 0,
- "payees": [
- {
- "percent": 0,
- "payee_name": "string",
- "payee_id": 0,
- "payee_code": "string",
- "payee_address_suffix": 0,
- "payee_address_id": 0,
- "description": "string",
- "amount": 0
}
], - "parties": [
- {
- "percent": 0,
- "party_name": "string",
- "party_id": 0,
- "party_code": "string",
- "party_active": true,
- "amount": 0
}
], - "invoice_date": "string",
- "form_schema_name": "string",
- "form_schema_label": "string",
- "form_name": "string",
- "form_id": 0,
- "form_active": true,
- "date": "string",
- "billings": [
- {
- "expense_deck_name": "string",
- "expense_deck_id": "string",
- "expense_deck_code": "string",
- "description": "string",
- "billing_property_name": "string",
- "billing_property_id": "string",
- "billing_property_form_schema_name": "string",
- "billing_property_form_id": 0,
- "billing_property_code": "string",
- "amount": 0,
- "afe_name": "string",
- "afe_id": "string",
- "afe_code": "string",
- "account_name": "string",
- "account_id": "string",
- "account_code": "string"
}
], - "amount_in_cents": 0
}, - "active": true
}Bulk update many payments by id.
Payload to bulk update many payments by id.
object |
{- "data": {
- "ids": [
- "string"
], - "attributes": {
- "recurring_payment_template_id": "string",
- "payment_type": "string",
- "payment_subtype_id": "string",
- "payment_status": "string",
- "invoice_date": "string",
- "date": "string",
- "amount_in_cents": 0
}
}
}{- "data": {
- "message": "string"
}
}Get a list of Expense Payments. Uses pagination with default page size of 10.
| page[size] | integer >= 1 Number of elements per page |
| page[number] | integer >= 1 Number of the page |
| filters[payment_status] | string Filter by payment workflow status. Allowed values: 'new', 'pending', 'rejected', 'approved', 'processed', 'failed_integration' |
| filters[>payment_due_date] | string Filter by payment due date greater than a specified date in ISO 8601 format |
| filters[<payment_due_date] | string Filter by payment due date less than a specified date in ISO 8601 format |
{- "meta": {
- "filters": [
- {
- "values": "string",
- "name": "string"
}
]
}, - "data": [
- {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": "string",
- "entity_code": "string",
- "attributes": {
- "recurring_payment_template_id": "string",
- "payment_type": "string",
- "payment_subtype_name": "string",
- "payment_subtype_id": "string",
- "payment_status": "string",
- "payer_name": "string",
- "payer_id": 0,
- "payer_address_suffix": 0,
- "payer_address_id": 0,
- "payees": [
- {
- "percent": 0,
- "payee_name": "string",
- "payee_id": 0,
- "payee_code": "string",
- "payee_address_suffix": 0,
- "payee_address_id": 0,
- "description": "string",
- "amount": 0
}
], - "parties": [
- {
- "percent": 0,
- "party_name": "string",
- "party_id": 0,
- "party_code": "string",
- "party_active": true,
- "amount": 0
}
], - "invoice_date": "string",
- "form_schema_name": "string",
- "form_schema_label": "string",
- "form_name": "string",
- "form_id": 0,
- "form_active": true,
- "date": "string",
- "billings": [
- {
- "expense_deck_name": "string",
- "expense_deck_id": "string",
- "expense_deck_code": "string",
- "description": "string",
- "billing_property_name": "string",
- "billing_property_id": "string",
- "billing_property_form_schema_name": "string",
- "billing_property_form_id": 0,
- "billing_property_code": "string",
- "amount": 0,
- "afe_name": "string",
- "afe_id": "string",
- "afe_code": "string",
- "account_name": "string",
- "account_id": "string",
- "account_code": "string"
}
], - "amount_in_cents": 0
}, - "active": true
}
]
}Update a Expense Payment
| id required | string Payment ID |
Payment payload in JSON-API format; This data is used to update the Payment
| type | string JSON-API type. Will always be 'payments'. |
object |
{- "type": "string",
- "data": {
- "attributes": {
- "recurring_payment_template_id": "string",
- "payment_type": "string",
- "payment_subtype_id": "string",
- "payer_id": 0,
- "payer_address_id": 0,
- "payees": [
- {
- "percent": 0,
- "payee_name": "string",
- "payee_id": 0,
- "payee_code": "string",
- "payee_address_id": 0,
- "description": "string",
- "amount": 0
}
], - "parties": [
- {
- "percent": 0,
- "party_name": "string",
- "party_id": 0,
- "party_code": "string",
- "party_active": true,
- "amount": 0
}
], - "invoice_date": "string",
- "form_schema_name": "string",
- "form_schema_label": "string",
- "form_name": "string",
- "form_id": 0,
- "date": "string",
- "billings": [
- {
- "expense_deck_name": "string",
- "expense_deck_id": "string",
- "expense_deck_code": "string",
- "description": "string",
- "billing_property_name": "string",
- "billing_property_id": "string",
- "billing_property_form_schema_name": "string",
- "billing_property_form_id": 0,
- "billing_property_code": "string",
- "amount": 0,
- "afe_name": "string",
- "afe_id": "string",
- "afe_code": "string",
- "account_name": "string",
- "account_id": "string",
- "account_code": "string"
}
], - "amount_in_cents": 0
}
}
}{- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": "string",
- "entity_code": "string",
- "attributes": {
- "recurring_payment_template_id": "string",
- "payment_type": "string",
- "payment_subtype_name": "string",
- "payment_subtype_id": "string",
- "payment_status": "string",
- "payer_name": "string",
- "payer_id": 0,
- "payer_address_suffix": 0,
- "payer_address_id": 0,
- "payees": [
- {
- "percent": 0,
- "payee_name": "string",
- "payee_id": 0,
- "payee_code": "string",
- "payee_address_suffix": 0,
- "payee_address_id": 0,
- "description": "string",
- "amount": 0
}
], - "parties": [
- {
- "percent": 0,
- "party_name": "string",
- "party_id": 0,
- "party_code": "string",
- "party_active": true,
- "amount": 0
}
], - "invoice_date": "string",
- "form_schema_name": "string",
- "form_schema_label": "string",
- "form_name": "string",
- "form_id": 0,
- "form_active": true,
- "date": "string",
- "billings": [
- {
- "expense_deck_name": "string",
- "expense_deck_id": "string",
- "expense_deck_code": "string",
- "description": "string",
- "billing_property_name": "string",
- "billing_property_id": "string",
- "billing_property_form_schema_name": "string",
- "billing_property_form_id": 0,
- "billing_property_code": "string",
- "amount": 0,
- "afe_name": "string",
- "afe_id": "string",
- "afe_code": "string",
- "account_name": "string",
- "account_id": "string",
- "account_code": "string"
}
], - "amount_in_cents": 0
}, - "active": true
}Get an Expense Payment by id
| id required | string Payment ID |
{- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": "string",
- "entity_code": "string",
- "attributes": {
- "recurring_payment_template_id": "string",
- "payment_type": "string",
- "payment_subtype_name": "string",
- "payment_subtype_id": "string",
- "payment_status": "string",
- "payer_name": "string",
- "payer_id": 0,
- "payer_address_suffix": 0,
- "payer_address_id": 0,
- "payees": [
- {
- "percent": 0,
- "payee_name": "string",
- "payee_id": 0,
- "payee_code": "string",
- "payee_address_suffix": 0,
- "payee_address_id": 0,
- "description": "string",
- "amount": 0
}
], - "parties": [
- {
- "percent": 0,
- "party_name": "string",
- "party_id": 0,
- "party_code": "string",
- "party_active": true,
- "amount": 0
}
], - "invoice_date": "string",
- "form_schema_name": "string",
- "form_schema_label": "string",
- "form_name": "string",
- "form_id": 0,
- "form_active": true,
- "date": "string",
- "billings": [
- {
- "expense_deck_name": "string",
- "expense_deck_id": "string",
- "expense_deck_code": "string",
- "description": "string",
- "billing_property_name": "string",
- "billing_property_id": "string",
- "billing_property_form_schema_name": "string",
- "billing_property_form_id": 0,
- "billing_property_code": "string",
- "amount": 0,
- "afe_name": "string",
- "afe_id": "string",
- "afe_code": "string",
- "account_name": "string",
- "account_id": "string",
- "account_code": "string"
}
], - "amount_in_cents": 0
}, - "active": true
}Create Expense Payment Payee Histories by payment_id and payee_id
| payment_id required | string Payment ID |
| payee_id required | integer Payee ID |
Payment Payee payload in JSON-API format; This data is used to create the Payment Payee Histories
object |
{- "data": {
- "type": "string",
- "attributes": {
- "histories": [
- {
- "voucher_number": "string",
- "void_date": "string",
- "payment_type": "string",
- "payment_status": "string",
- "payment_number": "string",
- "payment_date": "string",
- "payment_amount": 0,
- "cleared_date": "string"
}
]
}
}
}{- "type": "string",
- "payment_id": "string",
- "payee_id": 0,
- "attributes": {
- "percent": 0,
- "payee_name": "string",
- "payee_code": "string",
- "histories": {
- "voucher_number": "string",
- "void_date": "string",
- "payment_type": "string",
- "payment_status": "string",
- "payment_number": "string",
- "payment_date": "string",
- "payment_amount": 0,
- "id": "string",
- "cleared_date": "string"
}, - "amount": 0
}
}Patch Expense Payment Payee Histories by payment_id and payee_id
| payment_id required | string Payment ID |
| payee_id required | integer Payee ID |
Payment Payee payload in JSON-API format; This data is used to patch Payment Payee Histories
object |
{- "data": {
- "type": "string",
- "attributes": {
- "histories": {
- "voucher_number": "string",
- "void_date": "string",
- "payment_type": "string",
- "payment_status": "string",
- "payment_number": "string",
- "payment_date": "string",
- "payment_amount": 0,
- "id": "string",
- "cleared_date": "string"
}
}
}
}{- "type": "string",
- "payment_id": "string",
- "payee_id": 0,
- "attributes": {
- "percent": 0,
- "payee_name": "string",
- "payee_code": "string",
- "histories": {
- "voucher_number": "string",
- "void_date": "string",
- "payment_type": "string",
- "payment_status": "string",
- "payment_number": "string",
- "payment_date": "string",
- "payment_amount": 0,
- "id": "string",
- "cleared_date": "string"
}, - "amount": 0
}
}Get Expense Payment Payee with Payee Histories by payment_id and payee_id
| payment_id required | string Payment ID |
| payee_id required | integer Payee ID |
{- "type": "string",
- "payment_id": "string",
- "payee_id": 0,
- "attributes": {
- "percent": 0,
- "payee_name": "string",
- "payee_code": "string",
- "histories": {
- "voucher_number": "string",
- "void_date": "string",
- "payment_type": "string",
- "payment_status": "string",
- "payment_number": "string",
- "payment_date": "string",
- "payment_amount": 0,
- "id": "string",
- "cleared_date": "string"
}, - "amount": 0
}
}Operations for updating, reading, deleting, creating, patching, and listing Revenue Payments.
Update a Revenue Payment
| id required | string Payment ID |
Payment payload in JSON-API format; This data is used to update the Payment
| type | string JSON-API type. Will always be 'payments'. |
object |
{- "type": "string",
- "data": {
- "attributes": {
- "payment_type": "string",
- "payment_subtype_id": "string",
- "payer_id": 0,
- "payer_address_id": 0,
- "payees": [
- {
- "percent": 0,
- "payee_name": "string",
- "payee_id": 0,
- "payee_code": "string",
- "payee_address_id": 0,
- "description": "string",
- "amount": 0
}
], - "parties": [
- {
- "percent": 0,
- "party_name": "string",
- "party_id": 0,
- "party_code": "string",
- "party_active": true,
- "amount": 0
}
], - "invoice_date": "string",
- "form_schema_name": "string",
- "form_schema_label": "string",
- "form_name": "string",
- "form_id": 0,
- "date": "string",
- "billings": [
- {
- "expense_deck_name": "string",
- "expense_deck_id": "string",
- "expense_deck_code": "string",
- "description": "string",
- "billing_property_name": "string",
- "billing_property_id": "string",
- "billing_property_form_schema_name": "string",
- "billing_property_form_id": 0,
- "billing_property_code": "string",
- "amount": 0,
- "afe_name": "string",
- "afe_id": "string",
- "afe_code": "string",
- "account_name": "string",
- "account_id": "string",
- "account_code": "string"
}
], - "amount_in_cents": 0
}
}
}{- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": "string",
- "entity_code": "string",
- "attributes": {
- "payment_type": "string",
- "payment_subtype_name": "string",
- "payment_subtype_id": "string",
- "payment_status": "string",
- "payer_name": "string",
- "payer_id": 0,
- "payer_address_suffix": 0,
- "payer_address_id": 0,
- "payees": [
- {
- "percent": 0,
- "payee_name": "string",
- "payee_id": 0,
- "payee_code": "string",
- "payee_address_suffix": 0,
- "payee_address_id": 0,
- "description": "string",
- "amount": 0
}
], - "parties": [
- {
- "percent": 0,
- "party_name": "string",
- "party_id": 0,
- "party_code": "string",
- "party_active": true,
- "amount": 0
}
], - "invoice_date": "string",
- "form_schema_name": "string",
- "form_schema_label": "string",
- "form_name": "string",
- "form_id": 0,
- "form_active": true,
- "date": "string",
- "billings": [
- {
- "expense_deck_name": "string",
- "expense_deck_id": "string",
- "expense_deck_code": "string",
- "description": "string",
- "billing_property_name": "string",
- "billing_property_id": "string",
- "billing_property_form_schema_name": "string",
- "billing_property_form_id": 0,
- "billing_property_code": "string",
- "amount": 0,
- "afe_name": "string",
- "afe_id": "string",
- "afe_code": "string",
- "account_name": "string",
- "account_id": "string",
- "account_code": "string"
}
], - "amount_in_cents": 0
}, - "active": true
}Get a Revenue Payment by id
| id required | string Payment ID |
{- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": "string",
- "entity_code": "string",
- "attributes": {
- "payment_type": "string",
- "payment_subtype_name": "string",
- "payment_subtype_id": "string",
- "payment_status": "string",
- "payer_name": "string",
- "payer_id": 0,
- "payer_address_suffix": 0,
- "payer_address_id": 0,
- "payees": [
- {
- "percent": 0,
- "payee_name": "string",
- "payee_id": 0,
- "payee_code": "string",
- "payee_address_suffix": 0,
- "payee_address_id": 0,
- "description": "string",
- "amount": 0
}
], - "parties": [
- {
- "percent": 0,
- "party_name": "string",
- "party_id": 0,
- "party_code": "string",
- "party_active": true,
- "amount": 0
}
], - "invoice_date": "string",
- "form_schema_name": "string",
- "form_schema_label": "string",
- "form_name": "string",
- "form_id": 0,
- "form_active": true,
- "date": "string",
- "billings": [
- {
- "expense_deck_name": "string",
- "expense_deck_id": "string",
- "expense_deck_code": "string",
- "description": "string",
- "billing_property_name": "string",
- "billing_property_id": "string",
- "billing_property_form_schema_name": "string",
- "billing_property_form_id": 0,
- "billing_property_code": "string",
- "amount": 0,
- "afe_name": "string",
- "afe_id": "string",
- "afe_code": "string",
- "account_name": "string",
- "account_id": "string",
- "account_code": "string"
}
], - "amount_in_cents": 0
}, - "active": true
}Create a Revenue Payment
Payment payload in JSON-API format; This data is used to create the Payment
| type | string JSON-API type. Will always be 'payments'. |
object |
{- "type": "string",
- "data": {
- "attributes": {
- "payment_type": "string",
- "payment_subtype_id": "string",
- "payer_id": 0,
- "payer_address_id": 0,
- "payees": [
- {
- "percent": 0,
- "payee_name": "string",
- "payee_id": 0,
- "payee_code": "string",
- "payee_address_id": 0,
- "description": "string",
- "amount": 0
}
], - "parties": [
- {
- "percent": 0,
- "party_name": "string",
- "party_id": 0,
- "party_code": "string",
- "party_active": true,
- "amount": 0
}
], - "invoice_date": "string",
- "form_schema_name": "string",
- "form_schema_label": "string",
- "form_name": "string",
- "form_id": 0,
- "date": "string",
- "billings": [
- {
- "expense_deck_name": "string",
- "expense_deck_id": "string",
- "expense_deck_code": "string",
- "description": "string",
- "billing_property_name": "string",
- "billing_property_id": "string",
- "billing_property_form_schema_name": "string",
- "billing_property_form_id": 0,
- "billing_property_code": "string",
- "amount": 0,
- "afe_name": "string",
- "afe_id": "string",
- "afe_code": "string",
- "account_name": "string",
- "account_id": "string",
- "account_code": "string"
}
], - "amount_in_cents": 0
}
}
}{- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": "string",
- "entity_code": "string",
- "attributes": {
- "payment_type": "string",
- "payment_subtype_name": "string",
- "payment_subtype_id": "string",
- "payment_status": "string",
- "payer_name": "string",
- "payer_id": 0,
- "payer_address_suffix": 0,
- "payer_address_id": 0,
- "payees": [
- {
- "percent": 0,
- "payee_name": "string",
- "payee_id": 0,
- "payee_code": "string",
- "payee_address_suffix": 0,
- "payee_address_id": 0,
- "description": "string",
- "amount": 0
}
], - "parties": [
- {
- "percent": 0,
- "party_name": "string",
- "party_id": 0,
- "party_code": "string",
- "party_active": true,
- "amount": 0
}
], - "invoice_date": "string",
- "form_schema_name": "string",
- "form_schema_label": "string",
- "form_name": "string",
- "form_id": 0,
- "form_active": true,
- "date": "string",
- "billings": [
- {
- "expense_deck_name": "string",
- "expense_deck_id": "string",
- "expense_deck_code": "string",
- "description": "string",
- "billing_property_name": "string",
- "billing_property_id": "string",
- "billing_property_form_schema_name": "string",
- "billing_property_form_id": 0,
- "billing_property_code": "string",
- "amount": 0,
- "afe_name": "string",
- "afe_id": "string",
- "afe_code": "string",
- "account_name": "string",
- "account_id": "string",
- "account_code": "string"
}
], - "amount_in_cents": 0
}, - "active": true
}Bulk update many payments by id.
Payload to bulk update many payments by id.
object |
{- "data": {
- "ids": [
- "string"
], - "attributes": {
- "payment_type": "string",
- "payment_subtype_id": "string",
- "payment_status": "string",
- "invoice_date": "string",
- "date": "string",
- "amount_in_cents": 0
}
}
}{- "data": {
- "message": "string"
}
}Get a list of Revenue Payments. Uses pagination with default page size of 10.
| page[size] | integer >= 1 Number of elements per page |
| page[number] | integer >= 1 Number of the page |
| payment_status | string Filter by payment workflow status. Allowed values: 'new', 'pending', 'rejected', 'approved', 'processed', 'failed_integration' |
| >payment_due_date | string Filter by payment due date greater than a specified date in ISO 8601 format |
| <payment_due_date | string Filter by payment due date less than a specified date in ISO 8601 format |
{- "meta": {
- "filters": [
- {
- "values": "string",
- "name": "string"
}
]
}, - "data": [
- {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": "string",
- "entity_code": "string",
- "attributes": {
- "payment_type": "string",
- "payment_subtype_name": "string",
- "payment_subtype_id": "string",
- "payment_status": "string",
- "payer_name": "string",
- "payer_id": 0,
- "payer_address_suffix": 0,
- "payer_address_id": 0,
- "payees": [
- {
- "percent": 0,
- "payee_name": "string",
- "payee_id": 0,
- "payee_code": "string",
- "payee_address_suffix": 0,
- "payee_address_id": 0,
- "description": "string",
- "amount": 0
}
], - "parties": [
- {
- "percent": 0,
- "party_name": "string",
- "party_id": 0,
- "party_code": "string",
- "party_active": true,
- "amount": 0
}
], - "invoice_date": "string",
- "form_schema_name": "string",
- "form_schema_label": "string",
- "form_name": "string",
- "form_id": 0,
- "form_active": true,
- "date": "string",
- "billings": [
- {
- "expense_deck_name": "string",
- "expense_deck_id": "string",
- "expense_deck_code": "string",
- "description": "string",
- "billing_property_name": "string",
- "billing_property_id": "string",
- "billing_property_form_schema_name": "string",
- "billing_property_form_id": 0,
- "billing_property_code": "string",
- "amount": 0,
- "afe_name": "string",
- "afe_id": "string",
- "afe_code": "string",
- "account_name": "string",
- "account_id": "string",
- "account_code": "string"
}
], - "amount_in_cents": 0
}, - "active": true
}
]
}Create a Standard Relationship
Supported relationships:
| parent_form_schema_name required | string Parent Form Schema Name |
| id required | integer Form ID |
| form_schema_name required | string Form Schema Name |
A list of form ids to attach to parent form
| data | Array of integers |
{- "data": [
- 0
]
}{- "name": "string",
- "id": 0,
- "form_schema_name": "string",
- "entity_code": "string",
- "active": true
}Get a list of Form Schemas. Uses pagination with default page size of 10.
Supported relationships:
| parent_form_schema_name required | string Parent Form Schema Name |
| id required | integer Form ID |
| form_schema_name required | string Form Schema Name |
{- "name": "string",
- "id": 0,
- "form_schema_name": "string",
- "entity_code": "string",
- "active": true
}Delete a Standard Relationship
Supported relationships:
| parent_form_schema_name required | string Parent Form Schema Name |
| id required | integer Form ID |
| form_schema_name required | string Form Schema Name |
A list of form ids to detach from parent form
| data | Array of integers |
{- "data": [
- 0
]
}{- "name": "string",
- "id": 0,
- "form_schema_name": "string",
- "entity_code": "string",
- "active": true
}Create a Custom Form
| form_schema_name required | string Form Schema Name |
Custom Form object in JSON-API format; This data is used to create the Custom Form
object |
{- "data": {
- "attributes": {
- "name": "string"
}
}
}{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": {
- "name": "string",
- "data_validation_status_updated_at": "string",
- "data_validation_status": "string"
}
}
}Get a list of Custom Forms. Uses pagination with default page size of 10. To retrieve further information on an individual Custom Form, use the individual Custom Form request.
| form_schema_name required | string Form Schema Name |
| updated_since | string ISO8601 formatted date |
| page[size] | integer >= 1 Number of elements per page |
| page[number] | integer >= 1 Number of the page |
| show_relationships | string Show relationships (true or false), false by default |
| data_validation_status | string Enum: "new" "pending" "approved" "rejected" "edited_after_approval" Filter forms by data validation status |
| data_validation_status_updated_at | string Filter forms by data validation status updated at (ISO8601 formatted date) |
{- "meta": {
- "total_pages": 0,
- "total_entries": 0,
- "page_size": 0,
- "page_number": 0
}, - "data": [
- {
- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": {
- "name": "string",
- "data_validation_status_updated_at": "string",
- "data_validation_status": "string"
}
}
}
]
}Update a Custom Form
| id required | integer ID of Custom Form to update |
| form_schema_name required | string Form Schema Name |
Custom Form object in JSON-API format; This data is used to update the Custom Form
object |
{- "data": {
- "attributes": {
- "name": "string"
}
}
}{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": {
- "name": "string",
- "data_validation_status_updated_at": "string",
- "data_validation_status": "string"
}
}
}Get a Custom Form by id
| id required | integer Form ID |
| form_schema_name required | string Form Schema Name |
| show_relationships | string Show relationships (true or false), false by default |
{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": {
- "name": "string",
- "data_validation_status_updated_at": "string",
- "data_validation_status": "string"
}
}
}Delete a Custom Form
| id required | integer ID of Custom Form to delete |
| form_schema_name required | string Form Schema Name |
{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "show_relationships": true,
- "created_at": "string"
}, - "id": 0,
- "entity_code": "string",
- "attributes": {
- "name": "string",
- "data_validation_status_updated_at": "string",
- "data_validation_status": "string"
}
}
}Operations for reading Form Schemas. Form Schemas define the name, label, icon, and fields on Forms. Contacts, Leases, Tracts, Units, Wells, and Custom Forms are all types of Forms. That means they also have a Form Schema that define what fields each form has.
This endpoint is useful for getting the name of a Custom Form. The name is used in the route. At this time, you can not edit the name of a Form Schema through the On Demand Land app. You can only change its label.
Get a list of Form Schemas. Uses pagination with default page size of 10.
| page[size] | integer >= 1 Number of elements per page |
| page[number] | integer >= 1 Number of the page |
{- "meta": {
- "total_pages": 0,
- "total_entries": 0,
- "page_size": 0,
- "page_number": 0
}, - "data": [
- {
- "version": "string",
- "reserved": true,
- "parent_name": "string",
- "parent_label": "string",
- "name": "string",
- "meta": { },
- "label": "string",
- "json_schema": { },
- "id": 0,
- "icon": "string",
- "fields": { },
- "ai_scan_enabled": true
}
]
}The Shapefile Importer allows you to upload a .zip shapefile to On Demand Land. This will update the tracts or units geometries within On Demand Land. We do not allow deleting of geometries with the importer.
To import a shapefile, you first create a shapefile import job. This will start the import in a background process. This may take some time depending on the size of the import.
You can then check the status of that job using the id returned from the create shapefile import endpoint. We will return the current status including any errors or the number of tracts/units that were updated.
To ensure a successful import:
Get a Shapefile Job by id. You get the id for a Shapefile Job from the Create Import Job endpoint. This endpoint will allow you to check on the status of your Shapfile Import.
| id required | integer Shapefile ID |
{- "data": {
- "status": "string",
- "imported_by": {
- "name": "string",
- "id": 0
}, - "id": 0,
- "filename": "string",
- "errors": { },
- "changelog": { }
}
}Allows creating a Shapefile Job. This starts a background job to perform the actual import. Be sure to save the id of the import because you will need it to check on the status of the import.
Request body for Shapefile Payload
| filename | string Name of the file uploaded as part of this shapefile import |
| file | string Binary of the .zip shapefile |
{- "filename": "string",
- "file": "string"
}{- "data": {
- "status": "string",
- "imported_by": {
- "name": "string",
- "id": 0
}, - "id": 0,
- "filename": "string",
- "errors": { },
- "changelog": { }
}
}Operations for creating, listing, updating, reading, and deleting Billing Properties.
Create a Billing Property
Billing Property payload in JSON-API format; This data is used to create the Billing Property
object |
{- "data": {
- "type": "string",
- "attributes": {
- "name": "string",
- "form_schema_name": "string",
- "form_id": 0,
- "code": "string",
- "active": true
}
}
}{- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": "string",
- "attributes": {
- "type": "string",
- "name": "string",
- "form_schema_name": "string",
- "form_id": 0,
- "code": "string",
- "active": true
}
}Get a list of Billing Properties. Uses pagination with default page size of 10.
| page[size] | integer >= 1 Number of elements per page |
| page[number] | integer >= 1 Number of the page |
{- "data": [
- {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": "string",
- "attributes": {
- "type": "string",
- "name": "string",
- "form_schema_name": "string",
- "form_id": 0,
- "code": "string",
- "active": true
}
}
]
}Update a Billing Property
| id required | string Billing Property ID |
Billing Property payload in JSON-API format; This data is used to update the Billing Property
object |
{- "data": {
- "type": "string",
- "attributes": {
- "name": "string",
- "form_schema_name": "string",
- "form_id": 0,
- "code": "string",
- "active": true
}
}
}{- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": "string",
- "attributes": {
- "type": "string",
- "name": "string",
- "form_schema_name": "string",
- "form_id": 0,
- "code": "string",
- "active": true
}
}Get a Billing Property by id
| id required | string Billing Property ID |
{- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": "string",
- "attributes": {
- "type": "string",
- "name": "string",
- "form_schema_name": "string",
- "form_id": 0,
- "code": "string",
- "active": true
}
}Get a list of Calendar events for a date range.
| from_date required | string From Date |
| to_date required | string To Date |
{- "data": [
- {
- "attributes": {
- "rent_amount": 0,
- "note_title": "string",
- "note_labels": [
- {
- "name": "string"
}
], - "note_id": "string",
- "note_contents": "string",
- "form_schema_label": "string",
- "form_name": "string",
- "form_id": 0,
- "due_date": "string",
- "date_type": "expense payment"
}
}
]
}Returns interests calculated for a well. This includes all the leased and unleased interests from units, tracts, and leases tied to the well.
| well_id required | integer ID of Well |
| deck_type required | string Deck type: either revenue or expense |
{- "data": [
- {
- "well_name": "string",
- "well_id": 0,
- "unit_name": "string",
- "unit_id": 0,
- "unit_acres": 0,
- "tract_name": "string",
- "tract_id": 0,
- "tract_acres": 0,
- "percent": 0,
- "owner_name": "string",
- "owner_id": 0,
- "nri": 0,
- "lease_name": "string",
- "lease_id": 0,
- "is_burden": true,
- "interest_type": "string",
- "interest_id": 0,
- "deck_type": "string",
- "burdening_type": "string",
- "burdening_id": 0
}
]
}Creates a custom well deck with the passed in values for a well.
Custom well deck values are tied to either a calculated well deck (aka interest) or a custom interest.
If you are entering a value for a custom interest, then you are required to have the custom interest id. You can find the custom interest id from getting the custom sections for a well.
| well_id required | integer ID of Well |
| deck_type required | string Deck type: either revenue or expense |
Well deck payload; This data and values are used to create the well deck.
Array of objects | |
| order | integer Order of Well Deck. |
| name | string Name of Well Deck. |
| active | boolean Flag Well Deck as active or inactive. |
{- "values": [
- {
- "value": "string",
- "interest_type": "string",
- "custom_interest_id": 0
}
], - "order": 0,
- "name": "string",
- "active": true
}{- "data": {
- "well_name": "string",
- "well_id": 0,
- "values": [
- {
- "values": [
- {
- "value": "string",
- "unit_name": "string",
- "unit_id": 0,
- "tract_name": "string",
- "tract_id": 0,
- "owner_name": "string",
- "owner_id": 0,
- "lease_name": "string",
- "lease_id": 0,
- "interest_id": 0,
- "id": 0
}
], - "order": 0,
- "name": "string",
- "id": 0,
- "active": true
}
], - "order": 0,
- "name": "string",
- "id": 0,
- "decktype": "string",
- "active": "string"
}
}Returns custom well decks, custom sections, and their values for a well.
| well_id required | integer ID of Well |
| deck_type required | string Deck type: either revenue or expense |
{- "data": [
- {
- "values": [
- {
- "value": "string",
- "unit_name": "string",
- "unit_id": 0,
- "tract_name": "string",
- "tract_id": 0,
- "owner_name": "string",
- "owner_id": 0,
- "lease_name": "string",
- "lease_id": 0,
- "interest_id": 0,
- "id": 0
}
], - "order": 0,
- "name": "string",
- "id": 0,
- "active": true
}
]
}Operations for reading, creating, updating, and deleting Custom Well Deck Sections.
Updates a custom section that can be used for custom well decks for the well.
| well_id required | integer ID of Well |
| deck_type required | string Deck type: either revenue or expense |
| custom_section_id required | integer ID of Custom Section |
Custom section payload
object |
{- "data": {
- "order": 0,
- "name": "string"
}
}{- "data": [
- {
- "data": {
- "order": 0,
- "name": "string",
- "id": 0,
- "deck_type": "string",
- "custom_interests": [
- {
- "order": 0,
- "id": 0,
- "custom_interest_type_label": "string",
- "custom_interest_type_code": "string",
- "contact_name": "string",
- "contact_id": 0
}
]
}
}
]
}Delete a custom section and its related custom interests.
| well_id required | integer ID of Well |
| deck_type required | string Deck type: either revenue or expense |
| custom_section_id required | integer ID of Custom Section |
{- "data": [
- {
- "data": {
- "order": 0,
- "name": "string",
- "id": 0,
- "deck_type": "string",
- "custom_interests": [
- {
- "order": 0,
- "id": 0,
- "custom_interest_type_label": "string",
- "custom_interest_type_code": "string",
- "contact_name": "string",
- "contact_id": 0
}
]
}
}
]
}Accepts a payload representing a custom section with custom interests and their deck values. Replaces the current custom section with the passed in payload.
| well_id required | integer ID of Well |
| deck_type required | string Deck type: either revenue or expense |
Custom section payload
object |
{- "data": {
- "name": "string",
- "interests": [
- {
- "owner_id": 0,
- "interest_type": "string",
- "decks": [
- {
- "value": "string",
- "name": "string"
}
]
}
]
}
}{- "message": "string"
}Creates custom section that can be used for custom welldecks for the well.
| well_id required | integer ID of Well |
| deck_type required | string Deck type: either revenue or expense |
Custom section payload
object |
{- "data": {
- "order": 0,
- "name": "string"
}
}{- "data": [
- {
- "data": {
- "order": 0,
- "name": "string",
- "id": 0,
- "deck_type": "string",
- "custom_interests": [
- {
- "order": 0,
- "id": 0,
- "custom_interest_type_label": "string",
- "custom_interest_type_code": "string",
- "contact_name": "string",
- "contact_id": 0
}
]
}
}
]
}Returns custom sections and their custom interests for well decks for a well.
| well_id required | integer ID of Well |
| deck_type required | string Deck type: either revenue or expense |
{- "data": [
- {
- "data": {
- "order": 0,
- "name": "string",
- "id": 0,
- "deck_type": "string",
- "custom_interests": [
- {
- "order": 0,
- "id": 0,
- "custom_interest_type_label": "string",
- "custom_interest_type_code": "string",
- "contact_name": "string",
- "contact_id": 0
}
]
}
}
]
}Operations for reading, creating, updating, and deleting Custom Well Deck Interests.
Deletes a custom interest for a custom section on a well.
| well_id required | integer ID of Well |
| deck_type required | string Deck type: either revenue or expense |
| custom_section_id required | integer Custom Section ID |
| id required | integer ID of Custom Interest |
{- "message": "string"
}Creates a custom interest for a custom section on a well.
| well_id required | integer ID of Well |
| deck_type required | string Deck type: either revenue or expense |
| id required | integer Custom Section ID |
Custom interest payload
object |
{- "data": {
- "order": 0,
- "custom_interest_type_code": "string",
- "contact_id": 0
}
}{- "data": {
- "order": 0,
- "id": 0,
- "custom_interest_type_label": "string",
- "custom_interest_type_code": "string",
- "contact_name": "string",
- "contact_id": 0
}
}Returns a list of form ids for the form schema that do not have an integration for the passed in vendor name. Requires a start and end date that at most can be 90 days apart.
| form_schema_name required | string Form schema name |
| vendor_name required | string Vendor name |
| start_date required | string Date time in ISO 8601 format |
| end_date required | string Date time in ISO 8601 format |
{- "data": {
- "array": "string"
}
}Saves an integration record on a form. If a record already exists for the given form and the given vendor_id matches the existing vendor_id, the record will be updated. An error will be returned if the given and existing vendor_ids do not match. To update the record instead of producing an error, pass the option 'on_conflict=update'.
| vendor_name required | string Name of integration / vendor name |
| on_conflict | string Enum: "error" "update" Option to determine the endpoint's behavior when an existing record is found for the given form under a different vendor_id. Should be 'update' or 'error'. Defaults to 'error'. |
Integration payload; The intended attributes of the integration record.
object |
{- "data": {
- "vendor_name": "string",
- "vendor_id": "string",
- "vendor_data": { },
- "form_schema_name": "string",
- "form_id": 0
}
}{- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": 0,
- "attributes": {
- "vendor_name": "string",
- "vendor_id": "string",
- "vendor_data": { },
- "form_schema_name": "string",
- "form_id": 0
}
}
}Gets a list of integration records by vendor name and vendor ids
| vendor_name required | string Name of integration / vendor name |
| vendor_ids | string Comma delimited string of vendor IDs to return records for. |
{- "data": [
- {
- "data": {
- "type": "string",
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": 0,
- "attributes": {
- "vendor_name": "string",
- "vendor_id": "string",
- "vendor_data": { },
- "form_schema_name": "string",
- "form_id": 0
}
}
}
]
}Deletes an integration record with the given vendor_id, vendor_name, form_id, and form_schema_name. Errors if the given vendor_id does not match the vendor_id found on the record.
| vendor_name required | string Name of integration / vendor name |
| vendor_id required | string Vendor ID associated with the integration record |
Payload of attributes required to locate and delete the integration.
object |
{- "data": {
- "form_schema_name": "string",
- "form_id": 0
}
}{- "data": {
- "meta": { },
- "message": "string"
}
}| form_schema_name required | string Form Schema Name |
| id required | integer Form ID |
Location object in JSON-API format; This data is used to update the location. Full payload is needed to update locations on a form.
Array of objects (Location Payload) |
{- "data": [
- {
- "tax_parcel_id": "string",
- "tax_parcel_district_township": "string",
- "survey": "string",
- "state_fip": "string",
- "section": "string",
- "plss_township_number": "string",
- "plss_township_direction": "string",
- "plss_section": "string",
- "plss_range_number": "string",
- "plss_range_direction": "string",
- "plss_meridian": "string",
- "offshore_region": "string",
- "offshore_protraction_area_name": "string",
- "offshore_protraction_area_code": "string",
- "offshore_block": "string",
- "grid_source": "string",
- "county_fip": "string",
- "block": "string",
- "abstract": "string"
}
]
}{- "valid": true,
- "tax_parcel_id": "string",
- "tax_parcel_district_township": "string",
- "survey": "string",
- "state_name": "string",
- "state_fip": "string",
- "state_abbr": "string",
- "section": "string",
- "plss_township_number": "string",
- "plss_township_direction": "string",
- "plss_section": "string",
- "plss_range_number": "string",
- "plss_range_direction": "string",
- "plss_meridian": "string",
- "offshore_region": "string",
- "offshore_protraction_area_name": "string",
- "offshore_protraction_area_code": "string",
- "offshore_block": "string",
- "location_id": "string",
- "grid_source": "string",
- "formatted_location": "string",
- "county_name": "string",
- "county_fip": "string",
- "block": "string",
- "abstract": "string"
}| form_schema_name required | string Form Schema Name |
| id required | integer Form ID |
{- "valid": true,
- "tax_parcel_id": "string",
- "tax_parcel_district_township": "string",
- "survey": "string",
- "state_name": "string",
- "state_fip": "string",
- "state_abbr": "string",
- "section": "string",
- "plss_township_number": "string",
- "plss_township_direction": "string",
- "plss_section": "string",
- "plss_range_number": "string",
- "plss_range_direction": "string",
- "plss_meridian": "string",
- "offshore_region": "string",
- "offshore_protraction_area_name": "string",
- "offshore_protraction_area_code": "string",
- "offshore_block": "string",
- "location_id": "string",
- "grid_source": "string",
- "formatted_location": "string",
- "county_name": "string",
- "county_fip": "string",
- "block": "string",
- "abstract": "string"
}| form_schema_name required | string Form Schema Name |
| id required | integer Form ID |
Shape object in JSON-API format; This data is used to update the shape. Full payload is needed to update shapes on a form.
Array of objects (Shape Payload) |
{- "data": [
- {
- "geometry": "string"
}
]
}{- "mapping_status": "string",
- "id": 0,
- "geometry": "string",
- "capture_method": "string",
- "calculated_acreage": 0
}| form_schema_name required | string Form Schema Name |
| id required | integer Form ID |
{- "data": [
- {
- "update_user_name": "string",
- "update_user_id": 0,
- "mapping_status": "string",
- "id": 0,
- "geometry": "string",
- "capture_method": "string",
- "calculated_acreage": 0
}
]
}Update a Note
| id required | integer ID of Note to update |
Note object in JSON-API format; This data is used to update the Note
object | |
| id | integer ID of the Note |
object |
{- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": 0,
- "attributes": {
- "title": "string",
- "reminder": {
- "start_date": "2021-03-01T11:00:00-06:00",
- "interval": 0,
- "frequency": "string",
- "end_date": "2021-03-01T11:00:00-06:00"
}, - "labels": [
- {
- "name": "string"
}
], - "due_date": "2021-03-01T11:00:00-06:00",
- "contents": "string"
}
}{- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": 0,
- "attributes": {
- "title": "string",
- "reminder": {
- "start_date": "2021-03-01T11:00:00-06:00",
- "interval": 0,
- "frequency": "string",
- "end_date": "2021-03-01T11:00:00-06:00"
}, - "labels": [
- {
- "name": "string"
}
], - "due_date": "2021-03-01T11:00:00-06:00",
- "contents": "string"
}
}{- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": 0,
- "attributes": {
- "title": "string",
- "reminder": {
- "start_date": "2021-03-01T11:00:00-06:00",
- "interval": 0,
- "frequency": "string",
- "end_date": "2021-03-01T11:00:00-06:00"
}, - "labels": [
- {
- "name": "string"
}
], - "due_date": "2021-03-01T11:00:00-06:00",
- "contents": "string"
}
}Create a Note on a Form
| form_schema_name required | string Form Schema Name |
| form_id required | string Form ID |
Note object in JSON-API format; This data is used to create the Note
object | |
| id | integer ID of the Note |
object |
{- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": 0,
- "attributes": {
- "title": "string",
- "reminder": {
- "start_date": "2021-03-01T11:00:00-06:00",
- "interval": 0,
- "frequency": "string",
- "end_date": "2021-03-01T11:00:00-06:00"
}, - "labels": [
- {
- "name": "string"
}
], - "due_date": "2021-03-01T11:00:00-06:00",
- "contents": "string"
}
}{- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": 0,
- "attributes": {
- "title": "string",
- "reminder": {
- "start_date": "2021-03-01T11:00:00-06:00",
- "interval": 0,
- "frequency": "string",
- "end_date": "2021-03-01T11:00:00-06:00"
}, - "labels": [
- {
- "name": "string"
}
], - "due_date": "2021-03-01T11:00:00-06:00",
- "contents": "string"
}
}Get a list of Notes attached to a Form. To retrieve further information on an individual Note, use the individual Note request.
| form_schema_name required | string Form Schema Name |
| form_id required | string Form ID |
{- "data": [
- {
- "meta": {
- "updated_at": "string",
- "created_at": "string"
}, - "id": 0,
- "attributes": {
- "title": "string",
- "reminder": {
- "start_date": "2021-03-01T11:00:00-06:00",
- "interval": 0,
- "frequency": "string",
- "end_date": "2021-03-01T11:00:00-06:00"
}, - "labels": [
- {
- "name": "string"
}
], - "due_date": "2021-03-01T11:00:00-06:00",
- "contents": "string"
}
}
]
}Get a list of provisions. Uses pagination with default page size of 10.
| page[size] | integer >= 1 Number of elements per page |
| page[number] | integer >= 1 Number of the page |
{- "id": 0,
- "attributes": {
- "name": "string",
- "has_obligation": true,
- "has_document": true,
- "has_attribute": true,
- "apply_default": "string",
- "active": true
}, - "assets": {
- "form_schema_name": "string",
- "form_schema_label": "string"
}
}Get a list of provision models. Uses pagination with default page size of 10.
| page[size] | integer >= 1 Number of elements per page |
| page[number] | integer >= 1 Number of the page |
{- "provisions": {
- "order": 0,
- "name": "string",
- "id": 0
}, - "id": 0,
- "attributes": {
- "name": "string",
- "active": true
}, - "assets": {
- "form_schema_name": "string",
- "form_schema_label": "string"
}
}| form_schema_name required | string Form Schema Name |
| form_id required | string Form ID |
Provision object in JSON-API format; This data is used to update the provision. Full payload is needed to update provisions on a form.
Array of objects (Provision Payload) |
{- "data": [
- {
- "reminder": {
- "start_date": "string",
- "never_end": true,
- "interval": 0,
- "frequency": "string",
- "end_date": "string"
}, - "provision_model_id": 0,
- "provision_id": 0,
- "fields": { },
- "due_date": "string",
- "document_paragraph": 0,
- "document_page": 0,
- "document_content": "string",
- "comments": "string",
- "apply": "string"
}
]
}{- "provision_id": 0,
- "id": 0,
- "form_id": 0
}| form_schema_name required | string Form Schema Name |
| form_id required | string Form ID |
{- "reminder": {
- "start_date": "string",
- "never_end": true,
- "interval": 0,
- "frequency": "string",
- "end_date": "string"
}, - "provision_name": "string",
- "provision_model_name": "string",
- "provision_model_id": 0,
- "provision_id": 0,
- "next_due_date": "string",
- "fields": { },
- "due_date": "string",
- "document_paragraph": 0,
- "document_page": 0,
- "document_name": "string",
- "document_content": "string",
- "comments": "string",
- "apply": "string"
}Creates a new user in the organization with specified roles and collections.
User object in JSON-API format; This data is used to create the User
| roles | Array of strings List of role IDs to assign to the user |
| name required | string User's full name |
| email required | string User's email address |
| collections | Array of strings List of collection IDs to assign to the user |
{- "roles": [
- "string"
], - "name": "string",
- "email": "string",
- "collections": [
- "string"
]
}{- "roles": [
- {
- "name": "string",
- "id": "string"
}
], - "name": "string",
- "id": 0,
- "email": "string",
- "collections": [
- {
- "name": "string",
- "id": "string"
}
], - "active": true
}Returns a list of your users. Uses pagination with default page size of 50.
| page[size] | integer >= 1 Number of elements per page |
| page[number] | integer >= 1 Number of the page |
{- "meta": {
- "total_pages": 0,
- "total_entries": 0,
- "page_size": 0,
- "page_number": 0
}, - "data": [
- {
- "roles": [
- {
- "name": "string",
- "id": "string"
}
], - "name": "string",
- "id": 0,
- "email": "string",
- "collections": [
- {
- "name": "string",
- "id": "string"
}
], - "active": true
}
]
}Updates an existing user in the organization with specified roles and collections.
| id required | string User ID |
User object in JSON-API format; This data is used to update the User
| name | string User's full name |
string User's email address |
{- "name": "string",
- "email": "string"
}{- "roles": [
- {
- "name": "string",
- "id": "string"
}
], - "name": "string",
- "id": 0,
- "email": "string",
- "collections": [
- {
- "name": "string",
- "id": "string"
}
], - "active": true
}Creates a new role for the organization with specified privileges and users.
Role object; used to create the Role
object (Role Payload Data) Data for creating or updating a Role |
{- "data": {
- "user_ids": [
- "string"
], - "privileges": [
- "string"
], - "name": "string"
}
}{- "data": {
- "users": {
- "meta": {
- "total_pages": 0,
- "total_entries": 0,
- "sort": "string",
- "page_size": 0,
- "page_number": 0
}, - "items": [
- {
- "name": "string",
- "id": 0,
- "email": "string"
}
]
}, - "privileges": [
- {
- "name": "string"
}
], - "organization_id": "string",
- "name": "string",
- "id": "string",
- "can_delete": true
}
}Get a list of Roles. Uses paging with default page size of 10.
| page[size] | integer >= 1 Number of elements per page |
| page[number] | integer >= 1 Number of the page |
{- "meta": {
- "totalPages": 0,
- "totalEntries": 0,
- "pageSize": 0,
- "pageNumber": 0
}, - "data": [
- {
- "name": "string",
- "id": "string"
}
]
}Updates an existing role's name, privileges, and/or assigned users. Only the fields included in the request will be modified.
Note: the 'access_user_roles' privilege is protected. If the role currently holds it, it will be automatically retained even if excluded from the privileges list.
| id required | string Role ID |
Role object; used to update the Role
object (Role Payload Data) Data for creating or updating a Role |
{- "data": {
- "user_ids": [
- "string"
], - "privileges": [
- "string"
], - "name": "string"
}
}{- "data": {
- "users": {
- "meta": {
- "total_pages": 0,
- "total_entries": 0,
- "sort": "string",
- "page_size": 0,
- "page_number": 0
}, - "items": [
- {
- "name": "string",
- "id": 0,
- "email": "string"
}
]
}, - "privileges": [
- {
- "name": "string"
}
], - "organization_id": "string",
- "name": "string",
- "id": "string",
- "can_delete": true
}
}Get a Role by id, including its assigned privileges and users.
| id required | string Role ID |
| page[size] | integer >= 1 Number of elements per page |
| page[number] | integer >= 1 Number of the page |
{- "data": {
- "users": {
- "meta": {
- "total_pages": 0,
- "total_entries": 0,
- "sort": "string",
- "page_size": 0,
- "page_number": 0
}, - "items": [
- {
- "name": "string",
- "id": 0,
- "email": "string"
}
]
}, - "privileges": [
- {
- "name": "string"
}
], - "organization_id": "string",
- "name": "string",
- "id": "string",
- "can_delete": true
}
}Replaces the full set of users assigned to a role.
| id required | string Role ID |
List of user IDs to assign to the role
object |
{- "data": {
- "user_ids": [
- "string"
]
}
}{- "data": {
- "users": {
- "meta": {
- "total_pages": 0,
- "total_entries": 0,
- "sort": "string",
- "page_size": 0,
- "page_number": 0
}, - "items": [
- {
- "name": "string",
- "id": 0,
- "email": "string"
}
]
}, - "privileges": [
- {
- "name": "string"
}
], - "organization_id": "string",
- "name": "string",
- "id": "string",
- "can_delete": true
}
}Replaces the full set of roles assigned to a user.
| id required | string User ID |
List of role IDs to assign to the user
object |
{- "data": {
- "role_ids": [
- "string"
]
}
}{- "data": {
- "roles": [
- {
- "name": "string",
- "id": "string"
}
], - "name": "string",
- "id": "string",
- "email": "string",
- "active": true
}
}Get a list of Collections. Uses paging with default page size of 10.
| page[size] | integer >= 1 Number of elements per page |
| page[number] | integer >= 1 Number of the page |
{- "meta": {
- "totalPages": 0,
- "totalEntries": 0,
- "pageSize": 0,
- "pageNumber": 0
}, - "data": [
- {
- "name": "string",
- "is_automated": true,
- "id": "string",
- "filters": [
- {
- "name": "string",
- "filters": {
- "types": "string",
- "sort": "string"
}, - "description": "string"
}
], - "description": "string",
- "automation_type": "string",
- "active": true
}
]
}