Download OpenAPI specification:Download
The Syngenta Base Platform offers common functionality for digital agriculture apps (such as OAuth-based Single Sign-On, properties, seasons, field records, etc). The Base API is built on HTTP and is mostly RESTful: It has predictable resource URLs, returns HTTP response codes to indicate errors. It also accepts and returns JSON in the HTTP body.
Contact Syngenta to obtain the following info needed to connect your app:
client_id
and client_secret
Please note this API doc is not for wider circulation at this time.
This API is describe in OpenAPI 3.0 format. You can download the OpenAPI spec with the link at the top of the doc portal (or find it attached in the bundle sent to you).
With that, you can use your favorite HTTP/REST client to import the spec (use the Download link above or directly import https://docs.cropwise.com/api/alpha/openapi.yaml). There are also code generation tools for many programming languages.
Some notes:
BasicError
or ErrorCollection
models. Full error handling docs is in progress.strix-ui
. That is, add the Authorization: Basic c3RyaXgtdWk6
header in access management endpoints which need the client ID to be identified.Accept-Language
header value. Examples: en, es, pt-BRAn Organization is a master entity that has a set of properties. This entity groups and controls all the resources involved in the culture, for instance, different crops, seasons, etc.
A property is the representation of a farm with a set of regions and fields.
The platform has a system of hierarchical representation of geographical structures, composed of Fields and Regions. A region may contain fields or other regions. Regions work like trees: a region can be a root or a node - when it contains other child regions - or a leaf - when it is an actual field, defined by a specific geometry.
A field is a specialization of a region. Fields are specifically identified as the leaf of the region tree. It is specifically the only entity which has an actual polygon that describes its size and position in the world.
The Crop Cycle is a generical entity responsible for grouping a list of fields with a crop assigned over time.
Crop Cycle Property is the association of a Crop Cycle to a property (or part of its fields). This way a property can have different cycles running at the same time, depending on the type of crops that are cultivated in this property.
Crop Cycle Field is a cycle defined to a field of a property. This way the property can have multiple cycles assigned depending on how many fields with different crops it has.
Season is a legacy concept of representing crop cycles, this name is still used inside the API for backward compatibility measures.
The Cropwise platform has a system of hierarchical representation of geographical structures, composed of Field and Regions. A region may contain fields or other regions.
The geographic objects of API use the GeoJSON (RFC 7946) format. The regions and fields can be represented
as GeoJSON Features
with a specific property schema. The geometry
field can optionally be specified as
null
when the Feature
is a Region.
Each region or field is identified at a Property by a key, a unique client-provided string
aliased by
the structure FeatureID
.
Their names and other properties are represented using the FeatureProperties
schema. The hierarchy of regions
and fields is established by using the parent_id
field, which is used to specify an field or region as belonging to another field or region.
Regions and fields can be created, modified and deleted by a GeometryUpdateRequest
, which is a resource representing
the map update request operation with is payload and some additional operation-wide controls.
The FeatureProperties
structure specifies the operation codes and allows conditional changes to avoid
race conditions.
Every version of a region is identified by a revision hash. To avoid race conditions, clients SHOULD use
conditions on the regions, which makes the system perform the change only if the conditions are satisfied. Using
Conditional Changes and strict
mode is strongly recommended.
This scope of the API can be called at most 100 times per hour, and request bodies are limited to 5 MB.
A crop is something that can be grown and harvested extensively for profit or subsistence. E.g: Soybean, Cotton, Coffee.
A Product is an input that can be used in a property. Products could be Fungicides, Herbicides, Pesticides, Seeds and so on.
Some unauthenticated endpoints (singup, password recovery, etc) MAY refuse requests under some circumstances unless a CAPTCHA is provided. To provide a CAPTCHA, include the following field in the object root:
"_captcha": { "type": "recapcha", "token": "<issue reCaptcha token>" }
Requests should return appropriate error codes (e.g. 400 for most request-caused errors) and a JSON object containing error details.
{
"timestamp": "2019-02-27T04:21:17.740+0000",
"status": 404,
"error": "Not Found",
"code": "EACC012",
"message": "Account does not exist",
"path": "/v2/accounts/34550190-7d4f-4a03-91ec-4f5568e50029"
}
All error messages should be mapped with error codes.
These codes will be at this following format: E{3 character for context}{3 digit for indexing}
.
EARG001
: Missing field on request body. This error will occur when a required field is not being set on the request body.EIAM001
: Account is not authorized to perform this operation. This error will occur when the user tries to perform an API operation without the required authorities to do so.EINT001
: Intenal server error. If this error shows up, please contact the support team. It's an unexpected error and it should not happen.For more information, see https://digitial-product-engineering.atlassian.net/wiki/x/YQHZvw
Security Scheme Type | OAuth2 |
---|---|
implict OAuth Flow | Scopes:
|
NOTE: OAuth URLs are relative to the server root and do not include the v2/
prefix.
Security Scheme Type | OAuth2 |
---|---|
password OAuth Flow | Token URL: /oauth/token Refresh URL: /oauth/token Scopes:
|
authorizationCode OAuth Flow | Authorization URL: /oauth/authorize Token URL: /oauth/token Refresh URL: /oauth/token Scopes:
|
{- "content": [
- {
- "name": "Akash",
- "authorities": [
- {
- "context": "ORGANIZATION",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "TEMPLATES"
}, - {
- "scope": "READ",
- "name": "FARMSHOTS"
}, - {
- "scope": "WRITE",
- "name": "VENDORS"
}, - {
- "scope": "WRITE",
- "name": "SUPPLIES"
}, - {
- "scope": "WRITE",
- "name": "PRODUCTS"
}, - {
- "scope": "WRITE",
- "name": "BUDGETS"
}, - {
- "scope": "WRITE",
- "name": "REPORTS"
}, - {
- "scope": "WRITE",
- "name": "REVENUES"
}, - {
- "scope": "WRITE",
- "name": "SEASONS"
}, - {
- "scope": "WRITE",
- "name": "USERS"
}, - {
- "scope": "WRITE",
- "name": "ASSIGNEES"
}, - {
- "scope": "WRITE",
- "name": "PURCHASE_ORDERS"
}, - {
- "scope": "WRITE",
- "name": "PROPERTIES"
}, - {
- "scope": "WRITE",
- "name": "EXPENSES"
}, - {
- "scope": "WRITE",
- "name": "ORG"
}, - {
- "scope": "WRITE",
- "name": "TRACKER"
}
], - "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}, - {
- "context": "PROPERTY",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "FIELDS"
}, - {
- "scope": "WRITE",
- "name": "WAREHOUSES"
}, - {
- "scope": "WRITE",
- "name": "EQUIPMENTS"
}, - {
- "scope": "WRITE",
- "name": "INFORMATION"
}, - {
- "scope": "WRITE",
- "name": "TASKS"
}
], - "id": "dc2b45a4-3554-4c81-ab55-635d231c2810"
}
], - "type": "USER",
- "orgs": [
- {
- "name": "Akash's Organization",
- "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}
], - "ssn": null,
- "role": null,
- "phone": "+91 98765-4321",
- "locale": "en",
- "country_code": "BR",
- "clock_format": "LET_LOCALE_DECIDE",
- "login": "akash_anand.rangari@syngenta.com",
- "email": "akash_anand.rangari@syngenta.com",
- "auto_created_org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "opt_ins": [
- {
- "type": "CELLPHONE_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "15587d25-67bd-4b45-8ae4-f8d06f780940"
}, - {
- "type": "EMAIL_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
}
], - "id": "c8f6a433-a8a2-481d-83c9-c2ee29681f6b"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Return the roles of an account
account_id required | string Account ID. |
last_key | string |
size | integer |
{- "content": [
- {
- "id": "account:a13924d5-cb9d-47a3-96d9-b31a169e6e09/system/WorkspaceOwner/crn:workspace:636f56f2-e0db-415c-8d31-237931c9e9b7",
- "account_id": "a13924d5-cb9d-47a3-96d9-b31a169e6e09",
- "role_id": "WorkspaceOwner",
- "name": "Workspace Owner",
- "context": "system",
- "version": 13,
- "level": "workspace",
- "resource_attachment": "crn:workspace:636f56f2-e0db-415c-8d31-237931c9e9b7",
- "resources": [
- "crn:workspace:636f56f2-e0db-415c-8d31-237931c9e9b7",
- "crn:workspace:636f56f2-e0db-415c-8d31-237931c9e9b7/org/*"
]
}
], - "pageable": {
- "current_key": null,
- "size": 2500,
- "next_key": null
}, - "number_of_elements": 1,
- "last": true,
- "first": true,
- "empty": false
}
Retrieve an Account
with the specified id.
account_id required | string Account ID. |
include_extended | boolean |
exclude_attributes | string Attributes to exclude |
internal_authorities | boolean Include internal authorities |
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "name": "string",
- "type": "string",
- "role": "GROWER",
- "ssn": "string",
- "tutorial_complete": true,
- "phone": "+5531900000000",
- "authorities": [
- {
- "context": "string",
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "permissions": [
- {
- "scope": "READ",
- "name": "string"
}
]
}
], - "locale": "string",
- "clock_format": "ALWAYS_12",
- "pending_change_password": true,
- "default_workspace_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "workspaces": [
- {
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "workspace_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "contracts": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
], - "name": "string",
- "use_type": "TEST"
}
], - "login": "string",
- "country_code": "st",
- "photo_uri": "string",
- "email": "user@example.com",
- "auto_created_org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}
Edits an existing Account
with the specified id.
account_id required | string Account ID. |
include_extended | boolean |
role required | string (Account Role) Enum: "GROWER" "MANAGER" "ADMIN" "DEALER" "CONSULTANT" "AGRONOMIST" "OTHER" |
ssn required | string |
phone required | string (Phone Number) E.164 international phone number formatting |
Array of objects (Signup Opt In) | |
locale | string |
country_code | string 2 characters |
photo_uri | string |
id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
name required | string |
{- "role": "GROWER",
- "ssn": "123456",
- "phone": "+5531900000000",
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "name": "Caiubi Oliveira Fonseca",
- "locale": "en",
- "country_code": "BR",
- "opt_ins": [
- {
- "type": "CELLPHONE_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "15587d25-67bd-4b45-8ae4-f8d06f780940"
}, - {
- "type": "EMAIL_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
}
]
}
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "name": "string",
- "type": "string",
- "role": "GROWER",
- "ssn": "string",
- "tutorial_complete": true,
- "phone": "+5531900000000",
- "authorities": [
- {
- "context": "string",
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "permissions": [
- {
- "scope": "READ",
- "name": "string"
}
]
}
], - "locale": "string",
- "clock_format": "ALWAYS_12",
- "pending_change_password": true,
- "default_workspace_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "workspaces": [
- {
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "workspace_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "contracts": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
], - "name": "string",
- "use_type": "TEST"
}
], - "login": "string",
- "country_code": "st",
- "photo_uri": "string",
- "email": "user@example.com",
- "auto_created_org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}
Return the roles of accounts
last_key | string |
size | integer |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "id": "account:a13924d5-cb9d-47a3-96d9-b31a169e6e09/system/WorkspaceOwner/crn:workspace:636f56f2-e0db-415c-8d31-237931c9e9b7",
- "account_id": "a13924d5-cb9d-47a3-96d9-b31a169e6e09",
- "role_id": "WorkspaceOwner",
- "name": "Workspace Owner",
- "context": "system",
- "version": 13,
- "level": "workspace",
- "resource_attachment": "crn:workspace:636f56f2-e0db-415c-8d31-237931c9e9b7",
- "resources": [
- "crn:workspace:636f56f2-e0db-415c-8d31-237931c9e9b7",
- "crn:workspace:636f56f2-e0db-415c-8d31-237931c9e9b7/org/*"
]
}
], - "pageable": {
- "current_key": null,
- "size": 2500,
- "next_key": null
}, - "number_of_elements": 1,
- "last": true,
- "first": true,
- "empty": false
}
Get Accounts by its Ids. If an id does not exist, it does not return it.
attributes | Array of strings Items Enum: "workspaces" "licensing_accounts" Return the users' relantionship workspace-organization |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "name": "Akash",
- "authorities": [
- {
- "context": "ORGANIZATION",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "TEMPLATES"
}, - {
- "scope": "READ",
- "name": "FARMSHOTS"
}, - {
- "scope": "WRITE",
- "name": "VENDORS"
}, - {
- "scope": "WRITE",
- "name": "SUPPLIES"
}, - {
- "scope": "WRITE",
- "name": "PRODUCTS"
}, - {
- "scope": "WRITE",
- "name": "BUDGETS"
}, - {
- "scope": "WRITE",
- "name": "REPORTS"
}, - {
- "scope": "WRITE",
- "name": "REVENUES"
}, - {
- "scope": "WRITE",
- "name": "SEASONS"
}, - {
- "scope": "WRITE",
- "name": "USERS"
}, - {
- "scope": "WRITE",
- "name": "ASSIGNEES"
}, - {
- "scope": "WRITE",
- "name": "PURCHASE_ORDERS"
}, - {
- "scope": "WRITE",
- "name": "PROPERTIES"
}, - {
- "scope": "WRITE",
- "name": "EXPENSES"
}, - {
- "scope": "WRITE",
- "name": "ORG"
}, - {
- "scope": "WRITE",
- "name": "TRACKER"
}
], - "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}, - {
- "context": "PROPERTY",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "FIELDS"
}, - {
- "scope": "WRITE",
- "name": "WAREHOUSES"
}, - {
- "scope": "WRITE",
- "name": "EQUIPMENTS"
}, - {
- "scope": "WRITE",
- "name": "INFORMATION"
}, - {
- "scope": "WRITE",
- "name": "TASKS"
}
], - "id": "dc2b45a4-3554-4c81-ab55-635d231c2810"
}
], - "type": "USER",
- "orgs": [
- {
- "name": "Akash's Organization",
- "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}
], - "ssn": null,
- "role": null,
- "phone": "+91 98765-4321",
- "locale": "en",
- "country_code": "BR",
- "clock_format": "LET_LOCALE_DECIDE",
- "login": "akash_anand.rangari@syngenta.com",
- "email": "akash_anand.rangari@syngenta.com",
- "auto_created_org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "opt_ins": [
- {
- "type": "CELLPHONE_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "15587d25-67bd-4b45-8ae4-f8d06f780940"
}, - {
- "type": "EMAIL_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
}
], - "id": "c8f6a433-a8a2-481d-83c9-c2ee29681f6b"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Requests current signed user basic info, permissions and organizations.
exclude_attributes | string Attributes to exclude |
internal_authorities | boolean Include internal authorities |
{- "name": "User",
- "authorities": [
- {
- "context": "ORGANIZATION",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "TEMPLATES"
}, - {
- "scope": "READ",
- "name": "FARMSHOTS"
}, - {
- "scope": "WRITE",
- "name": "VENDORS"
}, - {
- "scope": "WRITE",
- "name": "SUPPLIES"
}, - {
- "scope": "WRITE",
- "name": "PRODUCTS"
}, - {
- "scope": "WRITE",
- "name": "BUDGETS"
}, - {
- "scope": "WRITE",
- "name": "REPORTS"
}, - {
- "scope": "WRITE",
- "name": "REVENUES"
}, - {
- "scope": "WRITE",
- "name": "SEASONS"
}, - {
- "scope": "WRITE",
- "name": "USERS"
}, - {
- "scope": "WRITE",
- "name": "ASSIGNEES"
}, - {
- "scope": "WRITE",
- "name": "PURCHASE_ORDERS"
}, - {
- "scope": "WRITE",
- "name": "PROPERTIES"
}, - {
- "scope": "WRITE",
- "name": "EXPENSES"
}, - {
- "scope": "WRITE",
- "name": "ORG"
}, - {
- "scope": "WRITE",
- "name": "TRACKER"
}
], - "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}, - {
- "context": "PROPERTY",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "FIELDS"
}, - {
- "scope": "WRITE",
- "name": "WAREHOUSES"
}, - {
- "scope": "WRITE",
- "name": "EQUIPMENTS"
}, - {
- "scope": "WRITE",
- "name": "INFORMATION"
}, - {
- "scope": "WRITE",
- "name": "TASKS"
}
], - "id": "dc2b45a4-3554-4c81-ab55-635d231c2810"
}
], - "type": "USER",
- "ssn": null,
- "role": null,
- "phone": "+91 98765-4321",
- "locale": "en",
- "country_code": "BR",
- "clock_format": "LET_LOCALE_DECIDE",
- "login": "user@email.com",
- "email": "user@email.com",
- "auto_created_org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "opt_ins": [
- {
- "type": "CELLPHONE_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "15587d25-67bd-4b45-8ae4-f8d06f780940"
}, - {
- "type": "EMAIL_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
}
], - "id": "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "default_licensing_account_id": "ed2031da-94eb-4892-9f76-f41cd993c8be",
- "default_workspace_id": "ed2031da-94eb-4892-9f76-f41cd993c8be"
}
To the given user, it translates the provided Role to Legacy permissions, it can be done synchronously or asynchronously.
account_id required | string Account ID. |
run_async | boolean Run process asynchronously |
operation | string Enum: "add" "remove" |
role_id | string |
workspace_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
organization_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
property_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
app_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
account_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "role_id": "A role",
- "operation": "add",
- "workspace_id": "dc2b45a4-3554-4c81-ab55-635d231c2810",
- "organization_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "property_id": "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "app_id": "aa68ea62-7ab1-42b7-84da-bbb4d1c54536",
- "account_id": "c8f6a433-a8a2-481d-83c9-c2ee29681f6b"
}
Get the Account
s related to given parameters.
login | string |
name | string |
phone | string |
exclude_attributes | string |
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "name": "string",
- "type": "string",
- "role": "GROWER",
- "ssn": "string",
- "tutorial_complete": true,
- "phone": "+5531900000000",
- "authorities": [
- {
- "context": "string",
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "permissions": [
- {
- "scope": "READ",
- "name": "string"
}
]
}
], - "locale": "string",
- "clock_format": "ALWAYS_12",
- "pending_change_password": true,
- "default_workspace_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "workspaces": [
- {
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "workspace_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "contracts": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
], - "name": "string",
- "use_type": "TEST"
}
], - "login": "string",
- "country_code": "st",
- "photo_uri": "string",
- "email": "user@example.com",
- "auto_created_org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}
org_id required | string |
exclude_attributes | string List of attributes to be excluded, must be separated by comma |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
{- "$ref": "#/components/examples/PagedAccount"
}
Get Accounts by its org's Ids. If an id does not exist, it does not return it.
include_deleted | boolean Return only non-deleted or both deleted and non-deleted accounts |
exclude_attributes | string List of attributes to be excluded |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "name": "Akash",
- "authorities": [
- {
- "context": "ORGANIZATION",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "TEMPLATES"
}, - {
- "scope": "READ",
- "name": "FARMSHOTS"
}, - {
- "scope": "WRITE",
- "name": "VENDORS"
}, - {
- "scope": "WRITE",
- "name": "SUPPLIES"
}, - {
- "scope": "WRITE",
- "name": "PRODUCTS"
}, - {
- "scope": "WRITE",
- "name": "BUDGETS"
}, - {
- "scope": "WRITE",
- "name": "REPORTS"
}, - {
- "scope": "WRITE",
- "name": "REVENUES"
}, - {
- "scope": "WRITE",
- "name": "SEASONS"
}, - {
- "scope": "WRITE",
- "name": "USERS"
}, - {
- "scope": "WRITE",
- "name": "ASSIGNEES"
}, - {
- "scope": "WRITE",
- "name": "PURCHASE_ORDERS"
}, - {
- "scope": "WRITE",
- "name": "PROPERTIES"
}, - {
- "scope": "WRITE",
- "name": "EXPENSES"
}, - {
- "scope": "WRITE",
- "name": "ORG"
}, - {
- "scope": "WRITE",
- "name": "TRACKER"
}
], - "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}, - {
- "context": "PROPERTY",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "FIELDS"
}, - {
- "scope": "WRITE",
- "name": "WAREHOUSES"
}, - {
- "scope": "WRITE",
- "name": "EQUIPMENTS"
}, - {
- "scope": "WRITE",
- "name": "INFORMATION"
}, - {
- "scope": "WRITE",
- "name": "TASKS"
}
], - "id": "dc2b45a4-3554-4c81-ab55-635d231c2810"
}
], - "type": "USER",
- "orgs": [
- {
- "name": "Akash's Organization",
- "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}
], - "ssn": null,
- "role": null,
- "phone": "+91 98765-4321",
- "locale": "en",
- "country_code": "BR",
- "clock_format": "LET_LOCALE_DECIDE",
- "login": "akash_anand.rangari@syngenta.com",
- "email": "akash_anand.rangari@syngenta.com",
- "auto_created_org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "opt_ins": [
- {
- "type": "CELLPHONE_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "15587d25-67bd-4b45-8ae4-f8d06f780940"
}, - {
- "type": "EMAIL_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
}
], - "id": "c8f6a433-a8a2-481d-83c9-c2ee29681f6b"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Get Invites by its org's Ids. If an id does not exist, it does not return it.
status_list | string A comma seperated list of status to be returned in response. |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "$ref": "#/components/examples/PagedInviteStatus"
}
Get Root owners from the orgs that the workspace id is linked. If an id does not exist, it does not return it.
include_deleted | boolean Return only non-deleted or both deleted and non-deleted accounts |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "name": "Akash",
- "authorities": [
- {
- "context": "ORGANIZATION",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "TEMPLATES"
}, - {
- "scope": "READ",
- "name": "FARMSHOTS"
}, - {
- "scope": "WRITE",
- "name": "VENDORS"
}, - {
- "scope": "WRITE",
- "name": "SUPPLIES"
}, - {
- "scope": "WRITE",
- "name": "PRODUCTS"
}, - {
- "scope": "WRITE",
- "name": "BUDGETS"
}, - {
- "scope": "WRITE",
- "name": "REPORTS"
}, - {
- "scope": "WRITE",
- "name": "REVENUES"
}, - {
- "scope": "WRITE",
- "name": "SEASONS"
}, - {
- "scope": "WRITE",
- "name": "USERS"
}, - {
- "scope": "WRITE",
- "name": "ASSIGNEES"
}, - {
- "scope": "WRITE",
- "name": "PURCHASE_ORDERS"
}, - {
- "scope": "WRITE",
- "name": "PROPERTIES"
}, - {
- "scope": "WRITE",
- "name": "EXPENSES"
}, - {
- "scope": "WRITE",
- "name": "ORG"
}, - {
- "scope": "WRITE",
- "name": "TRACKER"
}
], - "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}, - {
- "context": "PROPERTY",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "FIELDS"
}, - {
- "scope": "WRITE",
- "name": "WAREHOUSES"
}, - {
- "scope": "WRITE",
- "name": "EQUIPMENTS"
}, - {
- "scope": "WRITE",
- "name": "INFORMATION"
}, - {
- "scope": "WRITE",
- "name": "TASKS"
}
], - "id": "dc2b45a4-3554-4c81-ab55-635d231c2810"
}
], - "type": "USER",
- "orgs": [
- {
- "name": "Akash's Organization",
- "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}
], - "ssn": null,
- "role": null,
- "phone": "+91 98765-4321",
- "locale": "en",
- "country_code": "BR",
- "clock_format": "LET_LOCALE_DECIDE",
- "login": "akash_anand.rangari@syngenta.com",
- "email": "akash_anand.rangari@syngenta.com",
- "auto_created_org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "opt_ins": [
- {
- "type": "CELLPHONE_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "15587d25-67bd-4b45-8ae4-f8d06f780940"
}, - {
- "type": "EMAIL_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
}
], - "id": "c8f6a433-a8a2-481d-83c9-c2ee29681f6b"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Get Accounts by their default workspace ids. If an id does not exist, it does not return it.
include_deleted | boolean Return only non-deleted or both deleted and non-deleted accounts |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "name": "Akash",
- "authorities": [
- {
- "context": "ORGANIZATION",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "TEMPLATES"
}, - {
- "scope": "READ",
- "name": "FARMSHOTS"
}, - {
- "scope": "WRITE",
- "name": "VENDORS"
}, - {
- "scope": "WRITE",
- "name": "SUPPLIES"
}, - {
- "scope": "WRITE",
- "name": "PRODUCTS"
}, - {
- "scope": "WRITE",
- "name": "BUDGETS"
}, - {
- "scope": "WRITE",
- "name": "REPORTS"
}, - {
- "scope": "WRITE",
- "name": "REVENUES"
}, - {
- "scope": "WRITE",
- "name": "SEASONS"
}, - {
- "scope": "WRITE",
- "name": "USERS"
}, - {
- "scope": "WRITE",
- "name": "ASSIGNEES"
}, - {
- "scope": "WRITE",
- "name": "PURCHASE_ORDERS"
}, - {
- "scope": "WRITE",
- "name": "PROPERTIES"
}, - {
- "scope": "WRITE",
- "name": "EXPENSES"
}, - {
- "scope": "WRITE",
- "name": "ORG"
}, - {
- "scope": "WRITE",
- "name": "TRACKER"
}
], - "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}, - {
- "context": "PROPERTY",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "FIELDS"
}, - {
- "scope": "WRITE",
- "name": "WAREHOUSES"
}, - {
- "scope": "WRITE",
- "name": "EQUIPMENTS"
}, - {
- "scope": "WRITE",
- "name": "INFORMATION"
}, - {
- "scope": "WRITE",
- "name": "TASKS"
}
], - "id": "dc2b45a4-3554-4c81-ab55-635d231c2810"
}
], - "type": "USER",
- "orgs": [
- {
- "name": "Akash's Organization",
- "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}
], - "ssn": null,
- "role": null,
- "phone": "+91 98765-4321",
- "locale": "en",
- "country_code": "BR",
- "clock_format": "LET_LOCALE_DECIDE",
- "login": "akash_anand.rangari@syngenta.com",
- "email": "akash_anand.rangari@syngenta.com",
- "auto_created_org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "opt_ins": [
- {
- "type": "CELLPHONE_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "15587d25-67bd-4b45-8ae4-f8d06f780940"
}, - {
- "type": "EMAIL_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
}
], - "id": "c8f6a433-a8a2-481d-83c9-c2ee29681f6b"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
email required | string Either |
login | string Either |
name | string |
password | string Mandatory when |
role | string |
Array of any (Authority) | |
by_concierge | boolean |
redirect_uri | string |
client_id | string Mandatory when |
locale required | string Enum: "bg" "da" "de" "el" "en" "en_GB" "es" "es_419" "fr" "hi" "hu" "ja" "nl" "pl" "pt_BR" "ro" "sv" "uk" |
{- "email": "user@example.com",
- "locale": "pt-BR",
- "name": "string",
- "type": "USER",
- "role": "GROWER",
- "authorities": [
- {
- "id": "aab63ec2-4756-11ea-8d24-5e6d0beb7caa",
- "context": "ORGANIZATION",
- "permissions": [
- {
- "scope": "READ",
- "name": "SEASONS"
}
]
}, - {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "context": "PROPERTY",
- "permissions": [
- {
- "scope": "READ",
- "name": "FIELDS"
}
]
}
]
}
Creates an Account
for an user using the specified info.
This model has the required information to create an Account
.
The org_creation_strategy
field value behavior is:
force
: A Company
will be created with a default name.no
: The user will have to manually create a Company later.auto
: The server will decide.id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
type required | string Value: "signup_request" |
email required | string <email> |
phone | string (Phone Number) E.164 international phone number formatting |
first_name required | string |
last_name required | string |
locale required | string |
role | string (Account Role) Enum: "GROWER" "MANAGER" "ADMIN" "DEALER" "CONSULTANT" "AGRONOMIST" "OTHER" |
identity_provider | string Enum: "GOOGLE" "MICROSOFT" "SOCIAL" This is optional, if not present, the user will authenticate itself as usual. "SOCIAL" should be used when an account use an undefined external identity provider. |
{- "id": "aac63ee2-4727-43ra-8d24-5e6d0wqq9cda",
- "org_creation_strategy": "auto",
- "locale": "en",
- "country_code": "BR",
- "first_name": "Donald",
- "last_name": "Byrd",
- "phone": "+5591900044675",
- "email": "donald.byrd@gmail.com",
- "type": "signup_request",
- "role": "OTHER",
- "identity_provider": "GOOGLE"
}
{- "name": "user",
- "type": "USER",
- "ssn": null,
- "role": null,
- "phone": "+91 88976-5467",
- "locale": "en",
- "country_code": "BR",
- "clock_format": "LET_LOCALE_DECIDE",
- "login": "user_new@email.com",
- "email": "user_new@email.com",
- "auto_created_org_id": "85010338-88c4-49ca-a480-79b7146c2058",
- "opt_ins": [
- {
- "type": "CELLPHONE_OFFERS",
- "accepted_on": "2020-06-02T17:37:35.000+0000",
- "id": "40229519-20a6-454d-b760-50a561b78838"
}, - {
- "type": "EMAIL_OFFERS",
- "accepted_on": "2020-06-02T17:37:35.000+0000",
- "id": "50dc5ae7-396e-4c3e-afe6-f586229f5c11"
}
], - "id": "d33ecea2-d056-4b1e-890e-76ed045774ab"
}
Apply the password change using a recovery_id
.
recovery_id required | string |
Represents a new password to be associated with an Account
.
email required | string <email> |
new_password required | string <password> [ 8 .. 100 ] characters |
{- "email": "john@example.com",
- "new_password": "N3wStr0ngP4_ss"
}
Sends a link to the account email address that will guide the user to change the account password.
email required | string <email> |
locale required | string Enum: "pt-BR" "en" "es" |
recovery_url | string Informs the url to be sent on recovery password email. |
custom_email_template | boolean If true, it use the email template of the client_id's app. If the app doesn't have an email template, the default password recovery email template will be used. |
{- "email": "user@example.com",
- "locale": "pt-BR"
}
account_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
old_password | string |
new_password | string |
{- "account_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "old_password": "V3ryStr0ngP4ssw0rd",
- "new_password": "N3wStr0ngP4_ss"
}
Creates an Account
for an user using the specified info.
This model has the required information to create an Account
.
The org_creation_strategy
field value behavior is:
force
: A Company
will be created with a default name.no
: The user will have to manually create a Company later.auto
: The server will decide.type required | string Value: "signup_request" |
email required | string <email> |
phone required | string (Phone Number) E.164 international phone number formatting |
password required | string <password> |
name required | string |
locale required | string |
invite_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
role | string (Account Role) Enum: "GROWER" "MANAGER" "ADMIN" "DEALER" "CONSULTANT" "AGRONOMIST" "OTHER" |
org_creation_strategy required | string Enum: "no" "force" "auto"
|
terms_accepted_on | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
required | Array of objects (Signup Opt In) |
photo_uri | string |
{- "opt_ins": [
- {
- "type": "EMAIL_OFFERS",
- "accepted_on": "2019-10-02T15:00:00Z"
}, - {
- "type": "CELLPHONE_OFFERS",
- "accepted_on": "2019-10-02T15:00:00Z"
}
], - "terms_accepted_on": "2019-10-02T15:00:00Z",
- "org_creation_strategy": "auto",
- "invite_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "locale": "en",
- "name": "John Doe",
- "password": "V3ryStr0ngP4ssw0rd",
- "phone": "+5531900000000",
- "email": "john@example.com",
- "type": "signup_request",
- "role": "OTHER"
}
{- "name": "user",
- "authorities": [
- {
- "context": "ORGANIZATION",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "TEMPLATES"
}, - {
- "scope": "READ",
- "name": "FARMSHOTS"
}, - {
- "scope": "WRITE",
- "name": "VENDORS"
}, - {
- "scope": "WRITE",
- "name": "SUPPLIES"
}, - {
- "scope": "WRITE",
- "name": "PRODUCTS"
}, - {
- "scope": "WRITE",
- "name": "BUDGETS"
}, - {
- "scope": "WRITE",
- "name": "REPORTS"
}, - {
- "scope": "WRITE",
- "name": "REVENUES"
}, - {
- "scope": "WRITE",
- "name": "SEASONS"
}, - {
- "scope": "WRITE",
- "name": "USERS"
}, - {
- "scope": "WRITE",
- "name": "PURCHASE_ORDERS"
}, - {
- "scope": "WRITE",
- "name": "PROPERTIES"
}, - {
- "scope": "WRITE",
- "name": "ASSIGNEES"
}, - {
- "scope": "WRITE",
- "name": "EXPENSES"
}, - {
- "scope": "WRITE",
- "name": "ORG"
}, - {
- "scope": "WRITE",
- "name": "TRACKER"
}
], - "id": "85010338-88c4-49ca-a480-79b7146c2058"
}
], - "type": "USER",
- "ssn": null,
- "role": null,
- "phone": "+91 88976-5467",
- "locale": "en",
- "coutry_code": "BR",
- "clock_format": "LET_LOCALE_DECIDE",
- "login": "user_new@email.com",
- "email": "user_new@email.com",
- "auto_created_org_id": "85010338-88c4-49ca-a480-79b7146c2058",
- "opt_ins": [
- {
- "type": "CELLPHONE_OFFERS",
- "accepted_on": "2020-06-02T17:37:35.000+0000",
- "id": "40229519-20a6-454d-b760-50a561b78838"
}, - {
- "type": "EMAIL_OFFERS",
- "accepted_on": "2020-06-02T17:37:35.000+0000",
- "id": "50dc5ae7-396e-4c3e-afe6-f586229f5c11"
}
], - "id": "d33ecea2-d056-4b1e-890e-76ed045774ab",
- "default_licensing_account_id": "ed2031da-94eb-4892-9f76-f41cd993c8be",
- "default_workspace_id": "ed2031da-94eb-4892-9f76-f41cd993c8be"
}
** NOTE: ** This is NOT IMPLEMENTED yet. It is still work in progress.
name required | string |
short_description | string |
published | boolean |
supported_apps | Array of objects <uuid> (UUID Canonical textual representation) |
site_uri | string <uri> |
apple_store_uri | string <uri> |
play_store_uri | string <uri> |
icon_uri required | string <uri> |
image_uri | string <uri> |
type required | string |
detailed_description | string |
object | |
api_version | string |
object (AppIntegrations) |
{- "name": "string",
- "short_description": "string",
- "published": true,
- "supported_apps": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "type": "string",
- "detailed_description": "string",
- "authentication": {
- "type": "string"
}, - "api_version": "string",
- "integrations": {
- "menu_items": [
], - "side_panels": [
]
}
}
{- "name": "string",
- "short_description": "string",
- "published": true,
- "supported_apps": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "type": "string",
- "detailed_description": "string",
- "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",
- "fallback_details_language": "string",
- "details_review_status": "string"
}
app_id required | string |
last_key | string |
size | integer |
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "active": true,
- "duration": 0,
- "start_date": "2019-08-24T14:15:22Z",
- "id": "string",
- "name": "string",
- "notes": "string",
- "plans": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "app": "string",
- "default": true,
- "default_duration": 0,
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "name": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0
}
], - "valid_countries": [
- "string"
], - "accounts": [
- "string"
], - "location": "string",
- "legalDocuments": [
- "string"
]
}
], - "voucher_count": 0,
- "available_vouchers": 0,
- "shareable_links": [
- {
- "id": "string",
- "initial_usage_quota": 0,
- "remaining_quota": 0,
- "used_quota": 0
}
], - "created_at": "2019-08-24T14:15:22Z",
- "sv": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "vouchers": [
- "string"
]
}
]
}
app_id required | string |
Accept-Language | string |
{- "name": "string",
- "short_description": "string",
- "published": true,
- "supported_apps": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "type": "string",
- "detailed_description": "string"
}
** NOTE: ** This is NOT IMPLEMENTED yet. It is still work in progress.
app_id required | string |
required | Array of any (Authority) |
org_id required | object <uuid> (UUID Canonical textual representation) Recursive A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "consents": [
- {
- "context": "string",
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "permissions": [
- {
- "scope": "READ",
- "name": "string"
}
]
}
], - "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}
Get oauth2 client by App ID.
app_id required | string |
{- "content": [
- {
- "id": "f0d59ad7-b2c2-490a-965c-2899fc09c44b",
- "app_id": "f0d59ad7-b2c2-490a-965c-2899fc09c44b",
- "name": "Basic App Name",
- "client_id": "Client_id goes here",
- "created_at": "2020-07-31T09:06:26.418+0000",
- "last_access": "2020-07-31T09:06:26.418+0000",
- "revoked": true,
- "create_secret": true
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
{- "id": "f0d59ad7-b2c2-490a-965c-2899fc09c44b",
- "org_id": "f0d59ad7-b2c2-490a-965c-2899fc09c44b",
- "name": "Basic App Name",
- "short_description": "Short description goes here",
- "detailed_description": "Detailed description goes here",
- "published": true,
- "type": "APPLICATION",
- "supported_apps": [
- "0d4c5747-9c83-439e-8bfe-2398212b1f98"
], - "fallback_details_language": "en",
- "details_review_status": "PENDING"
}
Update a App.
app_id required | string |
Details of the App to be Updated
name required | string |
short_description | string |
published | boolean |
supported_apps | Array of objects <uuid> (UUID Canonical textual representation) |
site_uri | string <uri> |
apple_store_uri | string <uri> |
play_store_uri | string <uri> |
icon_uri required | string <uri> |
image_uri | string <uri> |
type required | string |
detailed_description | string |
org_id | string <uuid> |
fallback_details_language | string |
details_review_status | string |
{- "org_id": "f0d59ad7-b2c2-490a-965c-2899fc09c44b",
- "name": "Basic App Name",
- "short_description": "Short description goes here",
- "detailed_description": "Detailed description goes here",
- "published": true,
- "type": "APPLICATION",
- "supported_apps": [
- "0d4c5747-9c83-439e-8bfe-2398212b1f98"
], - "fallback_details_language": "en",
- "details_review_status": "PENDING"
}
{- "id": "f0d59ad7-b2c2-490a-965c-2899fc09c44b",
- "org_id": "f0d59ad7-b2c2-490a-965c-2899fc09c44b",
- "name": "Basic App Name",
- "short_description": "Short description goes here",
- "detailed_description": "Detailed description goes here",
- "published": true,
- "type": "APPLICATION",
- "supported_apps": [
- "0d4c5747-9c83-439e-8bfe-2398212b1f98"
], - "fallback_details_language": "en",
- "details_review_status": "PENDING"
}
** NOTE: ** This is NOT IMPLEMENTED yet. It is still work in progress.
{- "content": [
- {
- "name": "string",
- "short_description": "string",
- "published": true,
- "supported_apps": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "type": "string",
- "detailed_description": "string",
- "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",
- "fallback_details_language": "string",
- "details_review_status": "string"
}
], - "empty": true,
- "first": true,
- "last": true,
- "number": 0,
- "number_of_elements": 0,
- "size": 0,
- "total_elements": 0,
- "total_pages": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "page": 0,
- "size": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}
}
}
** NOTE: ** This is NOT IMPLEMENTED yet. It is still work in progress. List apps from market place
{- "content": [
- {
- "name": "string",
- "short_description": "string",
- "published": true,
- "supported_apps": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "type": "string",
- "detailed_description": "string",
- "installed": true
}
], - "empty": true,
- "first": true,
- "last": true,
- "number": 0,
- "number_of_elements": 0,
- "size": 0,
- "total_elements": 0,
- "total_pages": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "page": 0,
- "size": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}
}
}
Create a App.
Details of the App to be created
name required | string |
short_description | string |
published | boolean |
supported_apps | Array of objects <uuid> (UUID Canonical textual representation) |
site_uri | string <uri> |
apple_store_uri | string <uri> |
play_store_uri | string <uri> |
icon_uri required | string <uri> |
image_uri | string <uri> |
type required | string |
detailed_description | string |
org_id | string <uuid> |
fallback_details_language | string |
details_review_status | string |
{- "org_id": "f0d59ad7-b2c2-490a-965c-2899fc09c44b",
- "name": "Basic App Name",
- "short_description": "Short description goes here",
- "detailed_description": "Detailed description goes here",
- "published": true,
- "type": "APPLICATION",
- "supported_apps": [
- "0d4c5747-9c83-439e-8bfe-2398212b1f98"
], - "fallback_details_language": "en",
- "details_review_status": "PENDING"
}
{- "id": "f0d59ad7-b2c2-490a-965c-2899fc09c44b",
- "org_id": "f0d59ad7-b2c2-490a-965c-2899fc09c44b",
- "name": "Basic App Name",
- "short_description": "Short description goes here",
- "detailed_description": "Detailed description goes here",
- "published": true,
- "type": "APPLICATION",
- "supported_apps": [
- "0d4c5747-9c83-439e-8bfe-2398212b1f98"
], - "fallback_details_language": "en",
- "details_review_status": "PENDING"
}
Get All Apps
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
parent_region_id required | object <uuid> (UUID Canonical textual representation) Example: parent_region_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
attributes | Array of strings Items Value: "geometry" Enable geometry in response |
{- "content": [
- {
- "id": "f0d59ad7-b2c2-490a-965c-2899fc09c44b",
- "org_id": "f0d59ad7-b2c2-490a-965c-2899fc09c44b",
- "name": "Basic App Name",
- "short_description": "Short description goes here",
- "detailed_description": "Detailed description goes here",
- "published": true,
- "fallback_details_language": "en",
- "details_review_status": "PENDING"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Get App By Id in Store
app_id required | string |
workspace_id required | string |
include_expired_contracts | boolean Search for App in Store with expired contract |
{- "id": "f0d59ad7-b2c2-490a-965c-2899fc09c44b",
- "name": "Basic App Name",
- "short_description": "Short description goes here",
- "detailed_description": "Detailed description goes here",
- "published": true,
}
List Apps in Store per workspace, for all the workspaces with at least one organization.
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
filter_by_language | boolean Filter apps by accept-language header. Default true |
include_default_workspace | boolean Includes the default workspace on the response, even if it doesn't have an org. Default false |
include_unpublished | boolean Returns unpublished apps as well as published ones. Default false |
{- "content": [
- {
- "name": "Workspace A,",
- "workspace_id": "1ebe3408-cf14-4424-ab39-ebee50ec8047",
- "workspace_apps": [
- {
- "updated_at": "2021-11-24T13:46:29.000+0000",
- "last_updated_by_id": "df20403e-36bc-456e-8465-b4385d7b5284",
- "name": "Cropwise Base",
- "short_description": "Set up the digital representation of your farm and its areas.",
- "detailed_description": "Set up the digital representation of your farm and its areas.",
- "published": true,
- "type": "APPLICATION",
- "supported_apps": [ ],
- "id": "43524f50-5749-5345-4253-434149554249\""
}
]
}, - {
- "name": "Workspace B",
- "workspace_id": "06954e91-c0da-4f1a-a3ea-142ade8b0e90",
- "workspace_apps": [
- {
- "updated_at": "2022-03-04T12:18:38.000+0000",
- "last_updated_by_id": "a6dbc7c8-f976-40cb-b0f9-b2b09172d45a",
- "name": "Strider Tracker",
- "short_description": "Strider Tracker",
- "detailed_description": "null,",
- "published": true,
- "type": "APPLICATION",
- "supported_apps": [ ],
- "id": "53444454-5241-434b-4552-434149554249\""
}, - {
- "updated_at": "2021-11-24T13:46:29.000+0000",
- "last_updated_by_id": "df20403e-36bc-456e-8465-b4385d7b5284",
- "name": "Cropwise Base",
- "short_description": "Set up the digital representation of your farm and its areas.",
- "detailed_description": "Set up the digital representation of your farm and its areas.",
- "published": true,
- "type": "APPLICATION",
- "supported_apps": [ ],
- "id": "43524f50-5749-5345-4253-434149554249\""
}
]
}, - {
- "name": "Workspace C",
- "workspace_id": "d35ef7dc-269a-4507-abc9-d969abd3577e",
- "workspace_apps": [
- {
- "updated_at": "2021-11-24T13:46:29.000+0000",
- "last_updated_by_id": "df20403e-36bc-456e-8465-b4385d7b5284",
- "name": "Cropwise Base",
- "short_description": "Set up the digital representation of your farm and its areas.",
- "detailed_description": "Set up the digital representation of your farm and its areas.",
- "published": true,
- "type": "APPLICATION",
- "supported_apps": [ ],
- "id": "43524f50-5749-5345-4253-434149554249\""
}, - {
- "updated_at": "2021-08-03T16:37:25.000+0000",
- "last_updated_by_id": "df20403e-36bc-456e-8465-b4385d7b5284",
- "name": "Protector",
- "short_description": "Cropwise Protector",
- "detailed_description": "null,",
- "published": true,
- "type": "APPLICATION",
- "supported_apps": [ ],
- "id": "50524f54-4543-544f-5226-434149554249\""
}, - {
- "updated_at": "2022-03-04T12:18:38.000+0000",
- "last_updated_by_id": "a6dbc7c8-f976-40cb-b0f9-b2b09172d45a",
- "name": "Strider Tracker",
- "short_description": "Strider Tracker",
- "detailed_description": "null,",
- "published": true,
- "type": "APPLICATION",
- "supported_apps": [ ],
- "id": "53444454-5241-434b-4552-434149554249\""
}
]
}
], - "pageable": {
- "sort": {
- "sorted": "false,",
- "unsorted": "true,",
- "empty": true
}, - "page_number": "0,",
- "page_size": "2147483647,",
- "offset": "0,",
- "paged": "true,",
- "unpaged": false
}, - "total_elements": "3,",
- "total_pages": "1,",
- "last": "true,",
- "first": "true,",
- "number": "0,",
- "sort": {
- "sorted": "false,",
- "unsorted": "true,",
- "empty": true
}, - "number_of_elements": "3,",
- "size": "2147483647,",
- "empty": false
}
List Apps in Store
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
workspace_id | object <uuid> (UUID Canonical textual representation) Example: workspace_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
licensing_account_id | object <uuid> (UUID Canonical textual representation) Example: licensing_account_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
filter_by_language | string Filter apps by accept-language header. Default true |
include_default_workspace | string include default workspace. Default false |
include_unpublished | string Include unpublished apps. Default false |
include_clients_info | string Include clients info. Default false |
{- "content": [
- {
- "id": "f0d59ad7-b2c2-490a-965c-2899fc09c44b",
- "name": "Basic App Name",
- "short_description": "Short description goes here",
- "detailed_description": "Detailed description goes here",
- "published": true,
- "workspaces": [
- "e0b09521-b881-4485-aa6d-cb09530c6be0",
- "03ab1f1a-a01a-480a-b9d5-ae2f8f0c1486"
]
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Confirmate a Contract Payment.
workspace_id required | string |
contract_id required | string |
{- "status": 100,
- "code": "string",
- "error": "string",
- "message": "string",
- "path": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
Create a Payment Id and Returns the Payment URL.
workspace_id required | string |
payment_page_url | string |
object |
{- "payment_page_url": "string",
- "contract": {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
}
{- "price_id": "string",
- "transaction_mode": "string",
- "product_quantity": 0,
- "cancel_callback_url": "string",
- "success_callback_url": "string",
- "contract": {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
}
Add a plan to a campaign
campaignId required | string Numeric ID of the campaign to toggle activation |
planId required | string |
{- "planId": "string"
}
{- "active": true,
- "duration": 0,
- "start_date": "2019-08-24T14:15:22Z",
- "id": "string",
- "name": "string",
- "notes": "string",
- "plans": [
- {
- "id": "string"
}
], - "voucher_count": 0,
- "available_vouchers": 0,
- "shareable_links": [
- {
- "id": "string",
- "initial_usage_quota": 0,
- "remaining_quota": 0,
- "used_quota": 0
}
], - "created_at": "2019-08-24T14:15:22Z",
- "sv": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "vouchers": [
- "string"
]
}
Redeem a voucher using a campaign link
campaignId required | string Numeric ID of the campaign |
linkId required | string Numeric ID of the campaign link used to redeem a voucher |
account required | string |
{- "account": "string"
}
{- "apps": [
- {
- "id": "string",
- "is_new": true,
- "name": "string",
- "plan": {
- "plan_id": "string",
- "plan_name": "string"
}, - "icon_uri": "string"
}
]
}
Get a single campaign
campaignId required | string Numeric ID of the campaign to get |
{- "active": true,
- "duration": 0,
- "start_date": "2019-08-24T14:15:22Z",
- "id": "string",
- "name": "string",
- "notes": "string",
- "plans": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "app": "string",
- "default": true,
- "default_duration": 0,
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "name": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0
}
], - "valid_countries": [
- "string"
], - "accounts": [
- "string"
], - "location": "string",
- "legalDocuments": [
- "string"
]
}
], - "voucher_count": 0,
- "available_vouchers": 0,
- "shareable_links": [
- {
- "id": "string",
- "initial_usage_quota": 0,
- "remaining_quota": 0,
- "used_quota": 0
}
], - "created_at": "2019-08-24T14:15:22Z",
- "sv": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "vouchers": [
- "string"
]
}
Updates a single campaign
campaignId required | string Numeric ID of the campaign to update |
name | string |
active | boolean |
duration | number |
start_date | string |
notes | string |
voucher_count | number |
{- "name": "string",
- "active": true,
- "duration": 0,
- "start_date": "string",
- "notes": "string",
- "voucher_count": 0
}
{- "active": true,
- "duration": 0,
- "start_date": "2019-08-24T14:15:22Z",
- "id": "string",
- "name": "string",
- "notes": "string",
- "plans": [
- {
- "id": "string"
}
], - "voucher_count": 0,
- "available_vouchers": 0,
- "shareable_links": [
- {
- "id": "string",
- "initial_usage_quota": 0,
- "remaining_quota": 0,
- "used_quota": 0
}
], - "created_at": "2019-08-24T14:15:22Z",
- "sv": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "vouchers": [
- "string"
]
}
Toggles the activation of a campaign
campaignId required | string Numeric ID of the campaign to toggle activation |
{- "active": true,
- "duration": 0,
- "start_date": "2019-08-24T14:15:22Z",
- "id": "string",
- "name": "string",
- "notes": "string",
- "plans": [
- {
- "id": "string"
}
], - "voucher_count": 0,
- "available_vouchers": 0,
- "shareable_links": [
- {
- "id": "string",
- "initial_usage_quota": 0,
- "remaining_quota": 0,
- "used_quota": 0
}
], - "created_at": "2019-08-24T14:15:22Z",
- "sv": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "vouchers": [
- "string"
]
}
Get all vouchers from a campaign
campaignId required | string Numeric ID of the campaign to get |
size | integer Number of vouchers to return |
last_key | string Id of the last voucher returned by the previous query |
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "campaign_id": "string",
- "campaign": "string",
- "code": "string",
- "consumed": false,
- "id": "string",
- "link_id": "string"
}
]
}
Add vouchers to a campaign
campaignId required | string Numeric ID of the campaign to toggle activation |
amount required | number |
{- "amount": 0
}
[- {
- "campaign": "string",
- "campaign_id": "string",
- "code": "string",
- "consumed": false,
- "id": "string",
- "link_id": "string"
}
]
Get all campaigns
size | integer Number of campaigns to return |
last_key | string Id of the last campaign returned by the previous query |
name | string Name or name fragment of campaign name to filter |
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "active": true,
- "duration": 0,
- "start_date": "2019-08-24T14:15:22Z",
- "id": "string",
- "name": "string",
- "notes": "string",
- "plans": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "app": "string",
- "default": true,
- "default_duration": 0,
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "name": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0
}
], - "valid_countries": [
- "string"
], - "accounts": [
- "string"
], - "location": "string",
- "legalDocuments": [
- "string"
]
}
], - "voucher_count": 0,
- "available_vouchers": 0,
- "shareable_links": [
- {
- "id": "string",
- "initial_usage_quota": 0,
- "remaining_quota": 0,
- "used_quota": 0
}
], - "created_at": "2019-08-24T14:15:22Z",
- "sv": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "vouchers": [
- "string"
]
}
]
}
Creates a new campaign
name required | string |
active required | boolean |
duration required | number |
start_date required | string |
notes | string |
Array of objects | |
voucher_count required | number |
{- "name": "string",
- "active": true,
- "duration": 0,
- "start_date": "string",
- "notes": "string",
- "plans": [
- {
- "id": "string"
}
], - "voucher_count": 0
}
{- "active": true,
- "duration": 0,
- "start_date": "2019-08-24T14:15:22Z",
- "id": "string",
- "name": "string",
- "notes": "string",
- "plans": [
- {
- "id": "string"
}
], - "voucher_count": 0,
- "available_vouchers": 0,
- "shareable_links": [
- {
- "id": "string",
- "initial_usage_quota": 0,
- "remaining_quota": 0,
- "used_quota": 0
}
], - "created_at": "2019-08-24T14:15:22Z",
- "sv": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "vouchers": [
- "string"
]
}
Get Crop By Id, if location is added to query, return Localized Crop
crop_id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
location | string |
{- "id": "string",
- "name": [
- {
- "language": "string",
- "name": "string"
}
], - "localized_crops": [
- {
- "location": "string",
- "default_crop_zone_duration": 0,
- "default_growth_scale_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "varieties_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
]
}
], - "image_url": "string",
- "icon": "string",
- "specialization_type": "string",
- "label": "string",
- "scientific_name": "string",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "eppo_code": "string"
}
Delete Crop By Id
crop_id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "status": 100,
- "code": "string",
- "error": "string",
- "message": "string",
- "path": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
Edit a crop by Id
crop_id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
Array of objects (CropNameModel) | |
Array of objects (LocalizedCrop) | |
specialization_type | string |
icon | string |
label | string |
image_url | string |
eppo_code | string |
parent_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "name": [
- {
- "language": "string",
- "name": "string"
}
], - "localized_crops": [
- {
- "location": "string",
- "default_crop_zone_duration": 0,
- "default_growth_scale_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "varieties_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
]
}
], - "specialization_type": "string",
- "icon": "string",
- "label": "string",
- "image_url": "string",
- "eppo_code": "string",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}
{- "id": "string",
- "name": [
- {
- "language": "string",
- "name": "string"
}
], - "localized_crops": [
- {
- "location": "string",
- "default_crop_zone_duration": 0,
- "default_growth_scale_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "varieties_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
]
}
], - "image_url": "string",
- "icon": "string",
- "specialization_type": "string",
- "label": "string",
- "scientific_name": "string",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "eppo_code": "string"
}
Array of objects (CropNameModel) | |
Array of objects (LocalizedCrop) | |
specialization_type | string |
icon | string |
label | string |
image_url | string |
eppo_code | string |
parent_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "name": [
- {
- "language": "string",
- "name": "string"
}
], - "localized_crops": [
- {
- "location": "string",
- "default_crop_zone_duration": 0,
- "default_growth_scale_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "varieties_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
]
}
], - "specialization_type": "string",
- "icon": "string",
- "label": "string",
- "image_url": "string",
- "eppo_code": "string",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}
{- "id": "string",
- "name": [
- {
- "language": "string",
- "name": "string"
}
], - "localized_crops": [
- {
- "location": "string",
- "default_crop_zone_duration": 0,
- "varieties_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
]
}
], - "image_url": "string",
- "icon": "string",
- "specialization_type": "string",
- "label": "string",
- "eppo_code": "string",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}
{- "content": [
- {
- "id": "05833896-e380-11ed-b5ea-0242ac120002",
- "name": [
- {
- "language": "en",
- "name": "crop 1"
}
], - "image_url": "url",
- "icon": "CORN",
- "specialization_type": "type",
- "label": "label for crop 1"
}, - {
- "id": "7b2fba08-f8fe-4691-9a90-9d3f6d380fc1",
- "name": [
- {
- "language": "en",
- "name": "crop 2"
}
], - "image_url": "url",
- "icon": "WHEAT",
- "specialization_type": "type",
- "label": "label for crop 2"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Edit Eppo
eppo_code required | string |
scientific_name required | string |
en_name required | string |
{- "scientific_name": "Vitis vinifera",
- "en_name": "Grape"
}
{- "created_by": null,
- "updated_by": null,
- "deleted_at": null,
- "created_at": "2023-04-05T20:49:28.000Z",
- "updated_at": "2023-04-05T20:49:28.000Z",
- "id": "f3a33bab-0f3a-4eab-beee-99e6395ac61d",
- "eppo_code": "VITVI",
- "scientific_name": "Vitis vinifera",
- "en_name": "Grape"
}
{- "created_by": null,
- "updated_by": null,
- "deleted_at": null,
- "created_at": "2023-04-05T20:49:28.000Z",
- "updated_at": "2023-04-05T20:49:28.000Z",
- "id": "f3a33bab-0f3a-4eab-beee-99e6395ac61d",
- "eppo_code": "VITVI",
- "scientific_name": "Vitis vinifera",
- "en_name": "Grape"
}
Create New Eppo
eppo_code required | string |
scientific_name required | string |
en_name required | string |
{- "eppo_code": "VITVI",
- "scientific_name": "Vitis vinifera",
- "en_name": "Grape"
}
{- "created_by": null,
- "updated_by": null,
- "deleted_at": null,
- "created_at": "2023-04-05T20:49:28.000Z",
- "updated_at": "2023-04-05T20:49:28.000Z",
- "id": "f3a33bab-0f3a-4eab-beee-99e6395ac61d",
- "eppo_code": "VITVI",
- "scientific_name": "Vitis vinifera",
- "en_name": "Grape"
}
{- "content": [
- {
- "created_by": null,
- "updated_by": null,
- "deleted_at": null,
- "created_at": "2023-04-05T20:49:28.000Z",
- "updated_at": "2023-04-05T20:49:28.000Z",
- "id": "f3a33bab-0f3a-4eab-beee-99e6395ac61d",
- "eppo_code": "VITVI",
- "scientific_name": "Vitis vinifera",
- "en_name": "Grape"
}, - {
- "created_by": null,
- "updated_by": null,
- "deleted_at": null,
- "created_at": "2023-04-05T20:49:28.000Z",
- "updated_at": "2023-04-05T20:49:28.000Z",
- "id": "f3a33bab-0f3a-4eab-beee-99e6395ac61d",
- "eppo_code": "VITVI",
- "scientific_name": "Vitis vinifera",
- "en_name": "Grape"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Verify Eppos
eppos required | Array of strings |
{- "eppos": [
- "VITVI",
- "VITAE",
- "VITCL"
]
}
{- "valid_eppos": [
- "VITVI",
- "VITAE"
], - "invalid_eppos": [
- "VITCL"
]
}
Get Growth Scale By Id
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "id": "string",
- "name": "string",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "growth_stages": [
- {
- "name": "string",
- "order": 1,
- "type_order": 1,
- "type": "emergence",
- "image_url": "string",
- "instruction": "string"
}
]
}
Update Growth Scale By Id
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
name required | string |
org_id | string |
required | Array of objects (Growth-Stage) |
{- "name": "string",
- "org_id": "string",
- "growht_stages": [
- {
- "name": "string",
- "order": 1,
- "type_order": 1,
- "type": "emergence",
- "image_url": "string",
- "instruction": "string"
}
]
}
{- "id": "string",
- "name": "string",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "growth_stages": [
- {
- "name": "string",
- "order": 1,
- "type_order": 1,
- "type": "emergence",
- "image_url": "string",
- "instruction": "string"
}
]
}
Delete Growth Scale By Id
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "status": 100,
- "code": "string",
- "error": "string",
- "message": "string",
- "path": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "name": "Growth Scale",
- "localized_crops": [
- {
- "location": "string",
- "crop_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}
]
}
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
Array of objects |
{- "relationship": [
- {
- "crop_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "location": "string",
- "operation": "ADD"
}
]
}
{- "succeeded": [
- {
- "item": {
- "crop_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "growth_scale_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "location": "string",
- "operation": "ADD"
}
}
], - "failed": [
- {
- "item": {
- "crop_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "growth_scale_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "location": "string",
- "operation": "ADD"
}, - "reason": "string"
}
]
}
Create Growth Scale Allocation
org_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
growth_scale required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
crop_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
location required | string |
{- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "growth_scale": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "crop_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "location": "string"
}
{- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "localized_crop": "string",
- "growth_scale": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}
Get All Growth Scales Associated With Org using org id, crop id, location
crop_id required | string |
org_id required | string |
location required | string |
[- {
- "id": "string",
- "name": "string",
- "org_id": "string",
- "growht_stages": [
- {
- "name": "string",
- "order": 1,
- "type_order": 1,
- "type": "emergence",
- "image_url": "string",
- "instruction": "string"
}
]
}
]
Create a Growth Scale
id | string |
name | string |
org_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
Array of objects (Growth-Stage) |
{- "id": "string",
- "name": "string",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "growth_stages": [
- {
- "name": "string",
- "order": 1,
- "type_order": 1,
- "type": "emergence",
- "image_url": "string",
- "instruction": "string"
}
]
}
{- "id": "string",
- "name": "string",
- "org_id": "string",
- "growht_stages": [
- {
- "name": "string",
- "order": 1,
- "type_order": 1,
- "type": "emergence",
- "image_url": "string",
- "instruction": "string"
}
]
}
{- "non_default": [
- {
- "id": "string",
- "name": "string",
- "org_id": "string",
- "growht_stages": [
- {
- "name": "string",
- "order": 1,
- "type_order": 1,
- "type": "emergence",
- "image_url": "string",
- "instruction": "string"
}
]
}
], - "default": {
- "id": "string",
- "name": "string",
- "org_id": "string",
- "growht_stages": [
- {
- "name": "string",
- "order": 1,
- "type_order": 1,
- "type": "emergence",
- "image_url": "string",
- "instruction": "string"
}
]
}
}
{- "content": [
- {
- "id": "254ee0fe-e45b-11ed-b5ea-0242ac120002",
- "name": "Growth Scale",
- "org_id": "d5fc8087-5791-4da5-909f-7331da2c9149",
- "growth_stages": [
- {
- "name": "Growth Stage One",
- "order": 1,
- "type": "emergence",
- "type_order": 1,
- "image_url": "url",
- "instruction": "Intructions for growth stage one"
}
]
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Get Organization Custom and Canon Products.
org_id required | string <uuid> |
full | boolean If all product's attributes will be returned or not. Default is false. |
include_hidden | boolean If hidden products will be returned or not. Default is false |
include_deleted | boolean If deleted products will be returned or not. Default is false |
include_attributes | Array of strings Which attributes will be included in the response. They will appear only if they do exist. |
indication | string (ProductIndication) Enum: "ACARICIDE" "ACARICIDE(MICROBIOLOGICAL)" "ACARICIDE/ADHESIVE(SPREADER)/ADJUVANT/INSECTICIDE" "ACARICIDE/ADJUVANT/INSECTICIDE" "ACARICIDE/ADJUVANT/INSECTICIDE/NEMATICIDE" "ACARICIDE/ATTRACTANT/INSECTICIDE" "ACARICIDE/BACTERICIDE" "ACARICIDE/BACTERICIDE/FUNGICIDE" "ACARICIDE/BACTERICIDE/FUNGICIDE/INSECTICIDE" "ACARICIDE/BACTERICIDE/FUNGICIDE/INSECTICIDE/SEED-TREATMENT" "ACARICIDE/FORMICIDE/INSECTICIDE" "ACARICIDE/FUMIGANT" "ACARICIDE/FUNGICIDE" "ACARICIDE/FUNGICIDE/INSECTICIDE" "ACARICIDE/FUNGICIDE/INSECTICIDE/NEMATICIDE/RODENTICIDE" "ACARICIDE/GROWTH-REGULATOR/INSECTICIDE" "ACARICIDE/HERBICIDE/NEMATICIDE" "ACARICIDE/INSECT-GROWTH-REGULATOR/INSECTICIDE" "ACARICIDE/INSECTICIDE" "ACARICIDE/INSECTICIDE(MICROBIOLOGICAL)" "ACARICIDE/INSECTICIDE/INSECT-REPELLENT/MOLLUSCICIDE" "ACARICIDE/INSECTICIDE/MOLLUSCICIDE" "ACARICIDE/INSECTICIDE/NEMATICIDE" "ACARICIDE/INSECTICIDE/PROD.-AGAINST-STORAGE-PESTS" "ACARICIDE/INSECTICIDE/RODENTICIDE" "ACARICIDE/INSECTICIDE/SEED-PROTECTANT" "ACARICIDE/INSECTICIDE/SEED-TREATMENT" "ACARICIDE/MOLLUSCICIDE/TADPOLE-SH" "ACARICIDE/REPELLENT" "ACRIDICIDE" "ACRIDICIDE/INSECTICIDE" "ACTIVATOR" "ADHESIVE(SPREADER)" "ADHESIVE(SPREADER)/ADJUVANT" "ADHESIVE(SPREADER)/ADJUVANT/FUNGICIDE" "ADJUVANT" "ADJUVANT/ACARICIDE/FUNGICIDE/INSECTICIDE" "ADJUVANT/FUNGICIDE/INSECTICIDE" "ADJUVANT/GROWTH-REGULATOR" "ADJUVANT/HERBICIDE" "ADJUVANT/HERBICIDE/SURFACTANT" "ADJUVANT/INSECTICIDE" "ADJUVANT/SURFACTANT" "ALGAECIDE" "ALGAECIDE/FUNGICIDE" "ALGAECIDE/FUNGICIDE/SLIMICIDE" "ALGAECIDE/HERBICIDE" "ALGAECIDE/HERBICIDE/MOLLUSCICIDE" "ALGAECIDE/SANITIZER/SLIMICIDE/BACTERICIDE" "ALGAECIDE/SLIMICIDE" "ALGICIDE" "ANIMAL-TOXICANT" "ANIMAL-TOXICANT/INSECTICIDE/RODENTICIDE" "ANIMAL-TOXICANT/RODENTICIDE" "ANTI-FOAMING" "ANTI-FOULING-PAINT" "ANTI-MOSS" "ANTI-MOSS/HERBICIDE" "ANTI-SCALD" "ANTI-SPROUTING" "ATTRACTANT" "ATTRACTANT/INSECTICIDE" "AVICIDE" "BACTERICIDE" "BACTERICIDE/DISINFECTANT/FUNGICIDE" "BACTERICIDE/FUMIGANT/FUNGICIDE" "BACTERICIDE/FUNGICIDE" "BACTERICIDE/FUNGICIDE(MICROBIOLOGICAL)" "BACTERICIDE/FUNGICIDE/GROWTH-REGULATOR" "BACTERICIDE/FUNGICIDE/INSECTICIDE" "BACTERICIDE/FUNGICIDE/MOLLUSCICIDE" "BACTERICIDE/FUNGICIDE/NEMATICIDE" "BACTERICIDE/FUNGICIDE/NEMATICIDE/SOIL-DISINFECTANT" "BACTERICIDE/FUNGICIDE/SEED-TREATMENT" "BACTERICIDE/FUNGICIDE/SOIL-DISINFECTANT" "BACTERICIDE/FUNGICIDE/SPORICIDE" "BACTERICIDE/FUNGICIDE/VIRUCIDE" "BACTERICIDE/GROWTH-REGULATOR" "BACTERICIDE/INSECTICIDE" "BACTERICIDE/NEMATICIDE" "BAIT" "BIO-FUNGICIDE" "BIO-INSECTICIDE" "BIO-NEMATICIDE" "BIOCHEMICAL-PESTICIDE" "BIOLOGICAL-CONTROL-AGENT" "BIOLOGICAL-CONTROL-PRODUCT" "BIOLOGICAL-CTRL.-PROD./INSECTICIDE" "BIOLOGICAL-CTRL.-PROD./NEMATICIDE" "BIOLOGICAL-CTRL.-PROD./VIRUCIDE" "BIOSTIMULANT" "BIRD-REPELLENT" "BUFFER-AGENT" "CROP-BACTERICIDE" "CROP-BACTERICIDE/FUNGICIDE" "CROP-BACTERICIDE/FUNGICIDE/HERBICIDE" "CRUSTICIDE" "CRUSTICIDE/MOLLUSCICIDE" "DEFOLIANT" "DEFOLIANT/DESICCANT" "DEFOLIANT/DESICCANT/HERBICIDE" "DEFOLIANT/DESICCANT/REGULATOR" "DEFOLIANT/GROWTH-REGULATOR(PGR)" "DEFOLIANT/HERBICIDE" "DEFOLIANT/HERBICIDE/REGULATOR" "DEFOLIANT/REGULATOR" "DESICCANT" "DESICCANT/HERBICIDE" "DESICCANT/HERBICIDE/REGULATOR" "DESICCANT/MICROBIAL/REGULATOR" "DISINFECTANT" "DISINFECTANT/FUNGICIDE/HERBICIDE/NEMATICIDE" "DISINFECTANT/FUNGICIDE/NEMATICIDE" "DISINFECTANT/INSECTICIDE" "DISINFECTANT/PRESERVATIVE" "DISINFECTANT/SEED-TREATMENT" "ELICITOR" "FERTILIZER/SOIL-CONDITIONER" "FORMICIDE" "FORMICIDE/FUNGICIDE" "FORMICIDE/FUNGICIDE/INSECTICIDE/NEMATICIDE" "FORMICIDE/INSECTICIDE" "FORMICIDE/INSECTICIDE/RODENTICIDE" "FORMICIDE/INSECTICIDE/SEED-TREATMENT" "FORMICIDE/INSECTICIDE/TERMITICIDE" "FUMIGANT" "FUMIGANT/FUNGICIDE" "FUMIGANT/INSECTICIDE" "FUMIGANT/INSECTICIDE/MOLLUSCICIDE/TADPOLE-SH" "FUMIGANT/INSECTICIDE/RODENTICIDE" "FUMIGANT/NEMATICIDE" "FUMIGANT/SEED-TREATMENT" "FUNGICIDE" "FUNGICIDE" "FUNGICIDE(MICROBIOLOGICAL)" "FUNGICIDE/ACARICIDE" "FUNGICIDE/DISINFECTANT/PRESERVATIVE" "FUNGICIDE/GROWTH-REGULATOR" "FUNGICIDE/GROWTH-REGULATOR/HERBICIDE" "FUNGICIDE/GROWTH-REGULATOR/INSECTICIDE" "FUNGICIDE/GROWTH-REGULATOR/SEED-PROTECTANT" "FUNGICIDE/HERBICIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE/NEMATICIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE/NEMATICIDE/RODENTICIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE/NEMATICIDE/SOIL-FUMIGANT" "FUNGICIDE/HERBICIDE/INSECTICIDE/SOIL-FUMIGANT" "FUNGICIDE/HERBICIDE/INSECTICIDE/VIRUCIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE/WOOD-PRESERVATIVE" "FUNGICIDE/HERBICIDE/MOLLUSCICIDE" "FUNGICIDE/HERBICIDE/MOLLUSCICIDE/NEMATICIDE/TADPOLE-SH" "FUNGICIDE/HERBICIDE/MOLLUSCICIDE/TADPOLE-SH" "FUNGICIDE/HERBICIDE/NEMATICIDE" "FUNGICIDE/HERBICIDE/NEMATICIDE/SLIMICIDE" "FUNGICIDE/HERBICIDE/NEMATICIDE/SOIL-FUMIGANT" "FUNGICIDE/HERBICIDE/NEMATICIDE/WOOD-PRESERVATIVE" "FUNGICIDE/HERBICIDE/REGULATOR" "FUNGICIDE/HERBICIDE/WOOD-PRESERVATIVE" "FUNGICIDE/INSECT-GROWTH-REGULATOR/INSECTICIDE" "FUNGICIDE/INSECTICIDE" "FUNGICIDE/INSECTICIDE/MICROBIAL" "FUNGICIDE/INSECTICIDE/MICROBIAL/REGULATOR" "FUNGICIDE/INSECTICIDE/MISCELLANEOUS" "FUNGICIDE/INSECTICIDE/MOLLUSCICIDE/NEMATICIDE" "FUNGICIDE/INSECTICIDE/NEMATICIDE" "FUNGICIDE/INSECTICIDE/NEMATICIDE/SOIL-FUMIGANT" "FUNGICIDE/INSECTICIDE/REGULATOR" "FUNGICIDE/INSECTICIDE/REPELLENT" "FUNGICIDE/INSECTICIDE/RODENTICIDE" "FUNGICIDE/INSECTICIDE/SEED-PROTECTANT" "FUNGICIDE/INSECTICIDE/SEED-TREATMENT" "FUNGICIDE/INSECTICIDE/VIRUCIDE" "FUNGICIDE/INSECTICIDE/WOOD-PRESERVATIVE" "FUNGICIDE/MATERIAL-PRESERVATIVE" "FUNGICIDE/MICROBIAL" "FUNGICIDE/MICROBIAL/REGULATOR" "FUNGICIDE/MOLLUSCICIDE" "FUNGICIDE/NEMATICIDE" "FUNGICIDE/NEMATICIDE(MICROBIOLOGICAL)" "FUNGICIDE/NEMATICIDE/PLANT-GROWTH-REGULATOR" "FUNGICIDE/NEMATICIDE/SOIL-FUMIGANT" "FUNGICIDE/REGULATOR" "FUNGICIDE/REPELLENT" "FUNGICIDE/SANITIZER" "FUNGICIDE/SEED-PROTECTANT" "FUNGICIDE/SEED-TREATMENT" "FUNGICIDE/SEED-TREATMENT/BIO-FERTILIZER" "FUNGICIDE/SPORICIDE/TUBERCULOCIDE/VIRUCIDE" "FUNGICIDE/TUBERCULOCIDE/VIRUCIDE" "FUNGICIDE/VIRUCIDE" "FUNGICIDE/WOOD-PRESERVATIVE" "FUNGISTAT" "GROWTH-REGULATOR(PGR)" "GROWTH-REGULATOR(PGR)/WOUND-TREATMENT" "GROWTH-REGULATOR/GROWTH-STIMULANT" "GROWTH-REGULATOR/HERBICIDE" "GROWTH-REGULATOR/HERBICIDE/INSECTICIDE" "GROWTH-REGULATOR/INSECTICIDE" "GROWTH-REGULATOR/NEMATICIDE" "GROWTH-REGULATOR/REPELLENT" "GROWTH-REGULATOR/SEED-PROTECTANT" "GROWTH-STIMULANT" "GROWTH-STIMULANT/NEMATICIDE" "HERBICIDE" "HERBICIDE" "HERBICIDE-W/FERTILIZER" "HERBICIDE/INSECTICIDE" "HERBICIDE/INSECTICIDE/ACATICIDE" "HERBICIDE/INSECTICIDE/NEMATICIDE" "HERBICIDE/INSECTICIDE/NEMATICIDE/SOIL-FUMIGANT" "HERBICIDE/MICROBIAL-PESTICIDE" "HERBICIDE/REGULATOR" "HERBICIDE/SAFENER" "IMMUNITY-STIMULATOR" "INOCULANT" "INSECT-GROWTH-REGULATOR" "INSECT-GROWTH-REGULATOR/INSECTICIDE" "INSECT-GROWTH-REGULATOR/INSECTICIDE/NEMATICIDE" "INSECT-GROWTH-REGULATOR/INSECTICIDE/REPELLENT" "INSECT-GROWTH-REGULATOR/REPELLENT" "INSECT-GROWTH-REGULATOR/SEX-ATTRACTANT" "INSECT-REPELLENT" "INSECTICIDE" "INSECTICIDE" "INSECTICIDE-SYNERGIST/SAFENER" "INSECTICIDE(MICROBIOLOGICAL)" "INSECTICIDE(SOAP)" "INSECTICIDE(SOAP)/INSECTICIDE" "INSECTICIDE/CRUSTICIDE" "INSECTICIDE/MATING-DISRUPTANT" "INSECTICIDE/MICROBIAL-PESTICIDE" "INSECTICIDE/MOLLUSCICIDE" "INSECTICIDE/MOLLUSCICIDE/REGULATOR/TADPOLE-SH" "INSECTICIDE/MOLLUSCICIDE/TADPOLE-SH" "INSECTICIDE/NEMATICIDE" "INSECTICIDE/NEMATICIDE/REPELLENT" "INSECTICIDE/NEMATICIDE/SEED-TREATMENT" "INSECTICIDE/NEMATICIDE/SEX-ATTRACTANT" "INSECTICIDE/NEMATICIDE/SOIL-FUMIGANT" "INSECTICIDE/PHEROMONE" "INSECTICIDE/REPELLENT" "INSECTICIDE/RODENTICIDE" "INSECTICIDE/SEED-TREATMENT" "INSECTICIDE/TERMITICIDE" "INSECTICIDE/VERMIN-DESTROYER" "INSECTICIDE/VIRUCIDE" "INSECTICIDE/WOOD-PRESERVATIVE" "LIMACIDE" "LIVING-ORGANISMS" "LIVING-ORGANISMS(AGAINST-FUNGI)" "LIVING-ORGANISMS(AGAINST-FUNGI)/FUNGICIDE" "LIVING-ORGANISMS(BACTERIA)/FUNGICIDE" "LIVING-ORGANISMS(FUNGI)" "LIVING-ORGANISMS(FUNGI)/FUNGICIDE" "LIVING-ORGANISMS(INSECTS)" "LIVING-ORGANISMS(INSECTS)/PRESERVATIVE" "LIVING-ORGANISMS(MITES)" "LIVING-ORGANISMS(NEMATODES)" "LIVING-ORGANISMS(NEMATODES)/INSECTICIDE" "MATING-DISRUPTANT" "MATING-DISRUPTANT/SEX-ATTRACTANT" "MICROBIAL-PESTICIDE" "MICROBIAL-PESTICIDE/MOLLUSCICIDE/TADPOLE-SH" "MICROBIAL-PESTICIDE/NEMATICIDE" "MICROBIAL-PESTICIDE/REGULATOR" "MICROBIAL-PESTICIDE/SEX-ATTRACTANT" "MICRONUTRIENTS" "MISCELLANEOUS" "MOLLUSCICIDE" "MOLLUSCICIDE/REPELLENT" "MOLLUSCICIDE/SLIMICI" "MOLLUSCICIDE/TADPOLE-SH" "NATURAL-DEFENCE-STIMULATOR" "NEMATICIDE" "NEMATICIDE" "NEMATICIDE(MICROBIOLOGICAL)" "NEMATICIDE/REGULATOR" "NEMATICIDE/SEX-ATTRACTANT" "NEMATICIDE/SOIL-FUMIGANT" "NON-PARASITIC-PLANT-DISEASE-CONTROL" "ORGANISMS(INSECT-VIRUSES)" "OTHER" "OTHERS" "PESTICIDE/FERTILIZER" "PHEROMONE" "PHEROMONE-SYNTHETIC" "PHYSICAL-CONTROL-AGENT" "PLANT GROWTH REGULATO" "PLANT-ACTIVATOR" "PRESERVATIVE" "PRESERVATIVE/INSECTICIDE" "PRODUCT-AGAINST-STORAGE-PESTS" "PROTECTANT" "PRUNING-PAINT" "REGULATOR" "REPELLENT" "RODENT/REPELLENT" "RODENTICIDE" "RODENTICIDE" "SAFENER" "SEED TREATMENT" "SEED-PROTECTANT" "SEED-TREATMENT" "SOIL-DISINFECTANT" "SOIL-DISINFECTANT/NEMATICIDE" "SOIL-FUMIGANT" "SOIL-STERILANT" "SPECIAL-PREPARATIONS" "SPORICIDE" "SPORICIDE/VIRUCIDE" "STERILIZING-PLANTING-AGENT" "SULPHUR" "SURFACTANT/FRUIT-COATING" "TALPICIDE" "TANK-MIX" "TECHNICAL" "TERMITICIDE" "TUBERCULOCIDE/VIRUCIDE" "UNSPECIFIED" "VIRUCIDE" "WAX" "WETTING" "WOOD-PRESERVATIVE" "WOUND-TREATMENT" Requested product's type. |
source | string Requested source. Default is organization's source |
name | string Requested product's name. Search by "begins_with" and insensitive case. |
{- "content": [
- {
- "id": "b657476c-afbe-4645-90de-e4a2d87344b2",
- "name": "Product Org A",
- "indication": "FUNGICIDE",
- "selling_units": "METERS",
- "deleted": false,
- "org_id": "b38f2731-d20f-40aa-91f8-316caf4261e5"
}, - {
- "id": "b657476c-afbe-4645-90de-e4a2d87344b1",
- "name": "Product BR",
- "indication": "FUNGICIDE/HERBICIDE/INSECTICIDE/NEMATICIDE/RODENTICIDE",
- "selling_units": "METERS",
- "deleted": false,
- "source": "TUBE",
- "country": "BR"
}, - {
- "id": "b657476c-afbe-4645-90de-e4a2d87344b2",
- "name": "Product BR 2",
- "indication": "FUNGICIDE",
- "selling_units": "METERS",
- "deleted": true,
- "source": "TUBE",
- "country": "BR",
- "company": "Cropwise Catalog",
- "company_group": "Cropwise GmBH",
- "gov_source": "MINISTERY/SPAIN,",
- "created_at": "2023-01-18T16:34:04.068Z",
- "updated_at": "2023-01-18T16:34:04.068Z",
- "registration_number": 123,
- "twin_pack_code": 123,
- "language": "Spanish",
- "phrases": [
- {
- "name": "NO-INFORMATION"
}, - {
- "group_name": "NO-INFORMATION"
}, - {
- "code": "S01"
}, - {
- "abbreviation": "NO-INFO"
}, - {
- "group_code": 99999
}
], - "formulation": {
- "company_group": "VARIOUS",
- "indication": "ACARICIDE",
- "active_ingredients": [
- {
- "name": "N. TENUIS",
- "concentration_unit": "KG/mL"
}
]
}
}
], - "pageable": {
- "current_key": "eyJwayI6IkNBTk9OI1RVQkUjQlIiLCJyayI6ImZhbHNlI2Jlc3Bva2Ugc29mdCBwYW50cyAzYzlhNDg4Mi1lMWNjLTQwOTMtOWE4OC01YmMwYjU2M2IwZmMjM2M5YTQ4ODItZTFjYy00MDkzLTlhODgtNWJjMGI1NjNiMGZjIiwib3JpZ2luIjoiQ0FOT04ifQ==",
- "size": 100,
- "next_key": "eyJwayI6IkNBTk9OI1RVQkUjQlIiLCJyayI6ImZhbHNlI2Jlc3Bva2Ugc29mdCBwYW50cyAzYzlhNDg4Mi1lMWNjLTQwOTMtOWE4OC01YmMwYjU2M2IwZmMjM2M5YTQ4ODItZTFjYy00MDkzLTlhODgtNWJjMGI1NjNiMGZjIiwib3JpZ2luIjoiQ0FOT04ifQ=="
}, - "number_of_elements": 3,
- "last": true,
- "first": true,
- "empty": false
}
Change Catalog Canon Product's Visibility.
Hidden and Unhidden data
required | Array of objects (ProductVisibilityDTO) |
[- {
- "products": [
- {
- "product_id": "1926a77f-cfe2-48f7-bea2-014293fe09b1",
- "org_id": "89ffb700-21e6-479f-a248-7cf4c72ce388",
- "hide": true
}, - {
- "product_id": "204f5722-5b37-46a8-b386-7d7c35c029c7",
- "org_id": "1c43836f-79a1-4454-abfc-d3b91da744bd",
- "hide": true
}
]
}
]
{- "success": [
- {
- "product_id": "131c269e-8802-4044-87ef-01fbe232d5dd",
- "org_id": "89ffb700-21e6-479f-a248-7cf4c72ce388",
- "error": "false,",
- "status": "HIDDEN"
}
], - "errors": [ ]
}
Delete Catalog Custom Product.
product_id required | string <uuid> |
{- "status": 100,
- "code": "string",
- "error": "string",
- "message": "string",
- "path": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
Get Catalog Custom Product.
product_id required | string <uuid> |
full | boolean Gets All the information about the product |
include_deleted | boolean Include deleted products on search |
include_attributes | string Add attributes to the product |
{- "name": "Product navigate",
- "indication": "ACARICIDE",
- "selling_units": "LITERS",
- "id": "f801e123-206e-4821-8ed0-b6a06fc029cf",
- "deleted": false,
- "org_id": "8521b1d2-23c4-4340-bbc8-eb787f0edd4e"
}
Delete Catalog Custom Product.
product_id required | string <uuid> |
name required | string |
indication required | string (ProductIndication) Enum: "ACARICIDE" "ACARICIDE(MICROBIOLOGICAL)" "ACARICIDE/ADHESIVE(SPREADER)/ADJUVANT/INSECTICIDE" "ACARICIDE/ADJUVANT/INSECTICIDE" "ACARICIDE/ADJUVANT/INSECTICIDE/NEMATICIDE" "ACARICIDE/ATTRACTANT/INSECTICIDE" "ACARICIDE/BACTERICIDE" "ACARICIDE/BACTERICIDE/FUNGICIDE" "ACARICIDE/BACTERICIDE/FUNGICIDE/INSECTICIDE" "ACARICIDE/BACTERICIDE/FUNGICIDE/INSECTICIDE/SEED-TREATMENT" "ACARICIDE/FORMICIDE/INSECTICIDE" "ACARICIDE/FUMIGANT" "ACARICIDE/FUNGICIDE" "ACARICIDE/FUNGICIDE/INSECTICIDE" "ACARICIDE/FUNGICIDE/INSECTICIDE/NEMATICIDE/RODENTICIDE" "ACARICIDE/GROWTH-REGULATOR/INSECTICIDE" "ACARICIDE/HERBICIDE/NEMATICIDE" "ACARICIDE/INSECT-GROWTH-REGULATOR/INSECTICIDE" "ACARICIDE/INSECTICIDE" "ACARICIDE/INSECTICIDE(MICROBIOLOGICAL)" "ACARICIDE/INSECTICIDE/INSECT-REPELLENT/MOLLUSCICIDE" "ACARICIDE/INSECTICIDE/MOLLUSCICIDE" "ACARICIDE/INSECTICIDE/NEMATICIDE" "ACARICIDE/INSECTICIDE/PROD.-AGAINST-STORAGE-PESTS" "ACARICIDE/INSECTICIDE/RODENTICIDE" "ACARICIDE/INSECTICIDE/SEED-PROTECTANT" "ACARICIDE/INSECTICIDE/SEED-TREATMENT" "ACARICIDE/MOLLUSCICIDE/TADPOLE-SH" "ACARICIDE/REPELLENT" "ACRIDICIDE" "ACRIDICIDE/INSECTICIDE" "ACTIVATOR" "ADHESIVE(SPREADER)" "ADHESIVE(SPREADER)/ADJUVANT" "ADHESIVE(SPREADER)/ADJUVANT/FUNGICIDE" "ADJUVANT" "ADJUVANT/ACARICIDE/FUNGICIDE/INSECTICIDE" "ADJUVANT/FUNGICIDE/INSECTICIDE" "ADJUVANT/GROWTH-REGULATOR" "ADJUVANT/HERBICIDE" "ADJUVANT/HERBICIDE/SURFACTANT" "ADJUVANT/INSECTICIDE" "ADJUVANT/SURFACTANT" "ALGAECIDE" "ALGAECIDE/FUNGICIDE" "ALGAECIDE/FUNGICIDE/SLIMICIDE" "ALGAECIDE/HERBICIDE" "ALGAECIDE/HERBICIDE/MOLLUSCICIDE" "ALGAECIDE/SANITIZER/SLIMICIDE/BACTERICIDE" "ALGAECIDE/SLIMICIDE" "ALGICIDE" "ANIMAL-TOXICANT" "ANIMAL-TOXICANT/INSECTICIDE/RODENTICIDE" "ANIMAL-TOXICANT/RODENTICIDE" "ANTI-FOAMING" "ANTI-FOULING-PAINT" "ANTI-MOSS" "ANTI-MOSS/HERBICIDE" "ANTI-SCALD" "ANTI-SPROUTING" "ATTRACTANT" "ATTRACTANT/INSECTICIDE" "AVICIDE" "BACTERICIDE" "BACTERICIDE/DISINFECTANT/FUNGICIDE" "BACTERICIDE/FUMIGANT/FUNGICIDE" "BACTERICIDE/FUNGICIDE" "BACTERICIDE/FUNGICIDE(MICROBIOLOGICAL)" "BACTERICIDE/FUNGICIDE/GROWTH-REGULATOR" "BACTERICIDE/FUNGICIDE/INSECTICIDE" "BACTERICIDE/FUNGICIDE/MOLLUSCICIDE" "BACTERICIDE/FUNGICIDE/NEMATICIDE" "BACTERICIDE/FUNGICIDE/NEMATICIDE/SOIL-DISINFECTANT" "BACTERICIDE/FUNGICIDE/SEED-TREATMENT" "BACTERICIDE/FUNGICIDE/SOIL-DISINFECTANT" "BACTERICIDE/FUNGICIDE/SPORICIDE" "BACTERICIDE/FUNGICIDE/VIRUCIDE" "BACTERICIDE/GROWTH-REGULATOR" "BACTERICIDE/INSECTICIDE" "BACTERICIDE/NEMATICIDE" "BAIT" "BIO-FUNGICIDE" "BIO-INSECTICIDE" "BIO-NEMATICIDE" "BIOCHEMICAL-PESTICIDE" "BIOLOGICAL-CONTROL-AGENT" "BIOLOGICAL-CONTROL-PRODUCT" "BIOLOGICAL-CTRL.-PROD./INSECTICIDE" "BIOLOGICAL-CTRL.-PROD./NEMATICIDE" "BIOLOGICAL-CTRL.-PROD./VIRUCIDE" "BIOSTIMULANT" "BIRD-REPELLENT" "BUFFER-AGENT" "CROP-BACTERICIDE" "CROP-BACTERICIDE/FUNGICIDE" "CROP-BACTERICIDE/FUNGICIDE/HERBICIDE" "CRUSTICIDE" "CRUSTICIDE/MOLLUSCICIDE" "DEFOLIANT" "DEFOLIANT/DESICCANT" "DEFOLIANT/DESICCANT/HERBICIDE" "DEFOLIANT/DESICCANT/REGULATOR" "DEFOLIANT/GROWTH-REGULATOR(PGR)" "DEFOLIANT/HERBICIDE" "DEFOLIANT/HERBICIDE/REGULATOR" "DEFOLIANT/REGULATOR" "DESICCANT" "DESICCANT/HERBICIDE" "DESICCANT/HERBICIDE/REGULATOR" "DESICCANT/MICROBIAL/REGULATOR" "DISINFECTANT" "DISINFECTANT/FUNGICIDE/HERBICIDE/NEMATICIDE" "DISINFECTANT/FUNGICIDE/NEMATICIDE" "DISINFECTANT/INSECTICIDE" "DISINFECTANT/PRESERVATIVE" "DISINFECTANT/SEED-TREATMENT" "ELICITOR" "FERTILIZER/SOIL-CONDITIONER" "FORMICIDE" "FORMICIDE/FUNGICIDE" "FORMICIDE/FUNGICIDE/INSECTICIDE/NEMATICIDE" "FORMICIDE/INSECTICIDE" "FORMICIDE/INSECTICIDE/RODENTICIDE" "FORMICIDE/INSECTICIDE/SEED-TREATMENT" "FORMICIDE/INSECTICIDE/TERMITICIDE" "FUMIGANT" "FUMIGANT/FUNGICIDE" "FUMIGANT/INSECTICIDE" "FUMIGANT/INSECTICIDE/MOLLUSCICIDE/TADPOLE-SH" "FUMIGANT/INSECTICIDE/RODENTICIDE" "FUMIGANT/NEMATICIDE" "FUMIGANT/SEED-TREATMENT" "FUNGICIDE" "FUNGICIDE" "FUNGICIDE(MICROBIOLOGICAL)" "FUNGICIDE/ACARICIDE" "FUNGICIDE/DISINFECTANT/PRESERVATIVE" "FUNGICIDE/GROWTH-REGULATOR" "FUNGICIDE/GROWTH-REGULATOR/HERBICIDE" "FUNGICIDE/GROWTH-REGULATOR/INSECTICIDE" "FUNGICIDE/GROWTH-REGULATOR/SEED-PROTECTANT" "FUNGICIDE/HERBICIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE/NEMATICIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE/NEMATICIDE/RODENTICIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE/NEMATICIDE/SOIL-FUMIGANT" "FUNGICIDE/HERBICIDE/INSECTICIDE/SOIL-FUMIGANT" "FUNGICIDE/HERBICIDE/INSECTICIDE/VIRUCIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE/WOOD-PRESERVATIVE" "FUNGICIDE/HERBICIDE/MOLLUSCICIDE" "FUNGICIDE/HERBICIDE/MOLLUSCICIDE/NEMATICIDE/TADPOLE-SH" "FUNGICIDE/HERBICIDE/MOLLUSCICIDE/TADPOLE-SH" "FUNGICIDE/HERBICIDE/NEMATICIDE" "FUNGICIDE/HERBICIDE/NEMATICIDE/SLIMICIDE" "FUNGICIDE/HERBICIDE/NEMATICIDE/SOIL-FUMIGANT" "FUNGICIDE/HERBICIDE/NEMATICIDE/WOOD-PRESERVATIVE" "FUNGICIDE/HERBICIDE/REGULATOR" "FUNGICIDE/HERBICIDE/WOOD-PRESERVATIVE" "FUNGICIDE/INSECT-GROWTH-REGULATOR/INSECTICIDE" "FUNGICIDE/INSECTICIDE" "FUNGICIDE/INSECTICIDE/MICROBIAL" "FUNGICIDE/INSECTICIDE/MICROBIAL/REGULATOR" "FUNGICIDE/INSECTICIDE/MISCELLANEOUS" "FUNGICIDE/INSECTICIDE/MOLLUSCICIDE/NEMATICIDE" "FUNGICIDE/INSECTICIDE/NEMATICIDE" "FUNGICIDE/INSECTICIDE/NEMATICIDE/SOIL-FUMIGANT" "FUNGICIDE/INSECTICIDE/REGULATOR" "FUNGICIDE/INSECTICIDE/REPELLENT" "FUNGICIDE/INSECTICIDE/RODENTICIDE" "FUNGICIDE/INSECTICIDE/SEED-PROTECTANT" "FUNGICIDE/INSECTICIDE/SEED-TREATMENT" "FUNGICIDE/INSECTICIDE/VIRUCIDE" "FUNGICIDE/INSECTICIDE/WOOD-PRESERVATIVE" "FUNGICIDE/MATERIAL-PRESERVATIVE" "FUNGICIDE/MICROBIAL" "FUNGICIDE/MICROBIAL/REGULATOR" "FUNGICIDE/MOLLUSCICIDE" "FUNGICIDE/NEMATICIDE" "FUNGICIDE/NEMATICIDE(MICROBIOLOGICAL)" "FUNGICIDE/NEMATICIDE/PLANT-GROWTH-REGULATOR" "FUNGICIDE/NEMATICIDE/SOIL-FUMIGANT" "FUNGICIDE/REGULATOR" "FUNGICIDE/REPELLENT" "FUNGICIDE/SANITIZER" "FUNGICIDE/SEED-PROTECTANT" "FUNGICIDE/SEED-TREATMENT" "FUNGICIDE/SEED-TREATMENT/BIO-FERTILIZER" "FUNGICIDE/SPORICIDE/TUBERCULOCIDE/VIRUCIDE" "FUNGICIDE/TUBERCULOCIDE/VIRUCIDE" "FUNGICIDE/VIRUCIDE" "FUNGICIDE/WOOD-PRESERVATIVE" "FUNGISTAT" "GROWTH-REGULATOR(PGR)" "GROWTH-REGULATOR(PGR)/WOUND-TREATMENT" "GROWTH-REGULATOR/GROWTH-STIMULANT" "GROWTH-REGULATOR/HERBICIDE" "GROWTH-REGULATOR/HERBICIDE/INSECTICIDE" "GROWTH-REGULATOR/INSECTICIDE" "GROWTH-REGULATOR/NEMATICIDE" "GROWTH-REGULATOR/REPELLENT" "GROWTH-REGULATOR/SEED-PROTECTANT" "GROWTH-STIMULANT" "GROWTH-STIMULANT/NEMATICIDE" "HERBICIDE" "HERBICIDE" "HERBICIDE-W/FERTILIZER" "HERBICIDE/INSECTICIDE" "HERBICIDE/INSECTICIDE/ACATICIDE" "HERBICIDE/INSECTICIDE/NEMATICIDE" "HERBICIDE/INSECTICIDE/NEMATICIDE/SOIL-FUMIGANT" "HERBICIDE/MICROBIAL-PESTICIDE" "HERBICIDE/REGULATOR" "HERBICIDE/SAFENER" "IMMUNITY-STIMULATOR" "INOCULANT" "INSECT-GROWTH-REGULATOR" "INSECT-GROWTH-REGULATOR/INSECTICIDE" "INSECT-GROWTH-REGULATOR/INSECTICIDE/NEMATICIDE" "INSECT-GROWTH-REGULATOR/INSECTICIDE/REPELLENT" "INSECT-GROWTH-REGULATOR/REPELLENT" "INSECT-GROWTH-REGULATOR/SEX-ATTRACTANT" "INSECT-REPELLENT" "INSECTICIDE" "INSECTICIDE" "INSECTICIDE-SYNERGIST/SAFENER" "INSECTICIDE(MICROBIOLOGICAL)" "INSECTICIDE(SOAP)" "INSECTICIDE(SOAP)/INSECTICIDE" "INSECTICIDE/CRUSTICIDE" "INSECTICIDE/MATING-DISRUPTANT" "INSECTICIDE/MICROBIAL-PESTICIDE" "INSECTICIDE/MOLLUSCICIDE" "INSECTICIDE/MOLLUSCICIDE/REGULATOR/TADPOLE-SH" "INSECTICIDE/MOLLUSCICIDE/TADPOLE-SH" "INSECTICIDE/NEMATICIDE" "INSECTICIDE/NEMATICIDE/REPELLENT" "INSECTICIDE/NEMATICIDE/SEED-TREATMENT" "INSECTICIDE/NEMATICIDE/SEX-ATTRACTANT" "INSECTICIDE/NEMATICIDE/SOIL-FUMIGANT" "INSECTICIDE/PHEROMONE" "INSECTICIDE/REPELLENT" "INSECTICIDE/RODENTICIDE" "INSECTICIDE/SEED-TREATMENT" "INSECTICIDE/TERMITICIDE" "INSECTICIDE/VERMIN-DESTROYER" "INSECTICIDE/VIRUCIDE" "INSECTICIDE/WOOD-PRESERVATIVE" "LIMACIDE" "LIVING-ORGANISMS" "LIVING-ORGANISMS(AGAINST-FUNGI)" "LIVING-ORGANISMS(AGAINST-FUNGI)/FUNGICIDE" "LIVING-ORGANISMS(BACTERIA)/FUNGICIDE" "LIVING-ORGANISMS(FUNGI)" "LIVING-ORGANISMS(FUNGI)/FUNGICIDE" "LIVING-ORGANISMS(INSECTS)" "LIVING-ORGANISMS(INSECTS)/PRESERVATIVE" "LIVING-ORGANISMS(MITES)" "LIVING-ORGANISMS(NEMATODES)" "LIVING-ORGANISMS(NEMATODES)/INSECTICIDE" "MATING-DISRUPTANT" "MATING-DISRUPTANT/SEX-ATTRACTANT" "MICROBIAL-PESTICIDE" "MICROBIAL-PESTICIDE/MOLLUSCICIDE/TADPOLE-SH" "MICROBIAL-PESTICIDE/NEMATICIDE" "MICROBIAL-PESTICIDE/REGULATOR" "MICROBIAL-PESTICIDE/SEX-ATTRACTANT" "MICRONUTRIENTS" "MISCELLANEOUS" "MOLLUSCICIDE" "MOLLUSCICIDE/REPELLENT" "MOLLUSCICIDE/SLIMICI" "MOLLUSCICIDE/TADPOLE-SH" "NATURAL-DEFENCE-STIMULATOR" "NEMATICIDE" "NEMATICIDE" "NEMATICIDE(MICROBIOLOGICAL)" "NEMATICIDE/REGULATOR" "NEMATICIDE/SEX-ATTRACTANT" "NEMATICIDE/SOIL-FUMIGANT" "NON-PARASITIC-PLANT-DISEASE-CONTROL" "ORGANISMS(INSECT-VIRUSES)" "OTHER" "OTHERS" "PESTICIDE/FERTILIZER" "PHEROMONE" "PHEROMONE-SYNTHETIC" "PHYSICAL-CONTROL-AGENT" "PLANT GROWTH REGULATO" "PLANT-ACTIVATOR" "PRESERVATIVE" "PRESERVATIVE/INSECTICIDE" "PRODUCT-AGAINST-STORAGE-PESTS" "PROTECTANT" "PRUNING-PAINT" "REGULATOR" "REPELLENT" "RODENT/REPELLENT" "RODENTICIDE" "RODENTICIDE" "SAFENER" "SEED TREATMENT" "SEED-PROTECTANT" "SEED-TREATMENT" "SOIL-DISINFECTANT" "SOIL-DISINFECTANT/NEMATICIDE" "SOIL-FUMIGANT" "SOIL-STERILANT" "SPECIAL-PREPARATIONS" "SPORICIDE" "SPORICIDE/VIRUCIDE" "STERILIZING-PLANTING-AGENT" "SULPHUR" "SURFACTANT/FRUIT-COATING" "TALPICIDE" "TANK-MIX" "TECHNICAL" "TERMITICIDE" "TUBERCULOCIDE/VIRUCIDE" "UNSPECIFIED" "VIRUCIDE" "WAX" "WETTING" "WOOD-PRESERVATIVE" "WOUND-TREATMENT" |
selling_units required | string (SellingUnits) Enum: "KILOGRAMS" "LITERS" "UNITS" "BOXS" "SACK" "GALLONS" "GRAMS" "TONNES" "MILLILITER" "METERS" "OUNCES" "POUNDS" "PINTS" "DOSE" "UNKNOWN" |
{- "name": "Product A",
- "indication": "ACARICIDE",
- "selling_units": "LITERS"
}
{- "name": "Product navigate",
- "indication": "ACARICIDE",
- "selling_units": "LITERS",
- "id": "f801e123-206e-4821-8ed0-b6a06fc029cf",
- "deleted": false,
- "org_id": "8521b1d2-23c4-4340-bbc8-eb787f0edd4e"
}
Create Catalog Custom Product.
name required | string |
org_id required | string <uuid> |
indication required | string (ProductIndication) Enum: "ACARICIDE" "ACARICIDE(MICROBIOLOGICAL)" "ACARICIDE/ADHESIVE(SPREADER)/ADJUVANT/INSECTICIDE" "ACARICIDE/ADJUVANT/INSECTICIDE" "ACARICIDE/ADJUVANT/INSECTICIDE/NEMATICIDE" "ACARICIDE/ATTRACTANT/INSECTICIDE" "ACARICIDE/BACTERICIDE" "ACARICIDE/BACTERICIDE/FUNGICIDE" "ACARICIDE/BACTERICIDE/FUNGICIDE/INSECTICIDE" "ACARICIDE/BACTERICIDE/FUNGICIDE/INSECTICIDE/SEED-TREATMENT" "ACARICIDE/FORMICIDE/INSECTICIDE" "ACARICIDE/FUMIGANT" "ACARICIDE/FUNGICIDE" "ACARICIDE/FUNGICIDE/INSECTICIDE" "ACARICIDE/FUNGICIDE/INSECTICIDE/NEMATICIDE/RODENTICIDE" "ACARICIDE/GROWTH-REGULATOR/INSECTICIDE" "ACARICIDE/HERBICIDE/NEMATICIDE" "ACARICIDE/INSECT-GROWTH-REGULATOR/INSECTICIDE" "ACARICIDE/INSECTICIDE" "ACARICIDE/INSECTICIDE(MICROBIOLOGICAL)" "ACARICIDE/INSECTICIDE/INSECT-REPELLENT/MOLLUSCICIDE" "ACARICIDE/INSECTICIDE/MOLLUSCICIDE" "ACARICIDE/INSECTICIDE/NEMATICIDE" "ACARICIDE/INSECTICIDE/PROD.-AGAINST-STORAGE-PESTS" "ACARICIDE/INSECTICIDE/RODENTICIDE" "ACARICIDE/INSECTICIDE/SEED-PROTECTANT" "ACARICIDE/INSECTICIDE/SEED-TREATMENT" "ACARICIDE/MOLLUSCICIDE/TADPOLE-SH" "ACARICIDE/REPELLENT" "ACRIDICIDE" "ACRIDICIDE/INSECTICIDE" "ACTIVATOR" "ADHESIVE(SPREADER)" "ADHESIVE(SPREADER)/ADJUVANT" "ADHESIVE(SPREADER)/ADJUVANT/FUNGICIDE" "ADJUVANT" "ADJUVANT/ACARICIDE/FUNGICIDE/INSECTICIDE" "ADJUVANT/FUNGICIDE/INSECTICIDE" "ADJUVANT/GROWTH-REGULATOR" "ADJUVANT/HERBICIDE" "ADJUVANT/HERBICIDE/SURFACTANT" "ADJUVANT/INSECTICIDE" "ADJUVANT/SURFACTANT" "ALGAECIDE" "ALGAECIDE/FUNGICIDE" "ALGAECIDE/FUNGICIDE/SLIMICIDE" "ALGAECIDE/HERBICIDE" "ALGAECIDE/HERBICIDE/MOLLUSCICIDE" "ALGAECIDE/SANITIZER/SLIMICIDE/BACTERICIDE" "ALGAECIDE/SLIMICIDE" "ALGICIDE" "ANIMAL-TOXICANT" "ANIMAL-TOXICANT/INSECTICIDE/RODENTICIDE" "ANIMAL-TOXICANT/RODENTICIDE" "ANTI-FOAMING" "ANTI-FOULING-PAINT" "ANTI-MOSS" "ANTI-MOSS/HERBICIDE" "ANTI-SCALD" "ANTI-SPROUTING" "ATTRACTANT" "ATTRACTANT/INSECTICIDE" "AVICIDE" "BACTERICIDE" "BACTERICIDE/DISINFECTANT/FUNGICIDE" "BACTERICIDE/FUMIGANT/FUNGICIDE" "BACTERICIDE/FUNGICIDE" "BACTERICIDE/FUNGICIDE(MICROBIOLOGICAL)" "BACTERICIDE/FUNGICIDE/GROWTH-REGULATOR" "BACTERICIDE/FUNGICIDE/INSECTICIDE" "BACTERICIDE/FUNGICIDE/MOLLUSCICIDE" "BACTERICIDE/FUNGICIDE/NEMATICIDE" "BACTERICIDE/FUNGICIDE/NEMATICIDE/SOIL-DISINFECTANT" "BACTERICIDE/FUNGICIDE/SEED-TREATMENT" "BACTERICIDE/FUNGICIDE/SOIL-DISINFECTANT" "BACTERICIDE/FUNGICIDE/SPORICIDE" "BACTERICIDE/FUNGICIDE/VIRUCIDE" "BACTERICIDE/GROWTH-REGULATOR" "BACTERICIDE/INSECTICIDE" "BACTERICIDE/NEMATICIDE" "BAIT" "BIO-FUNGICIDE" "BIO-INSECTICIDE" "BIO-NEMATICIDE" "BIOCHEMICAL-PESTICIDE" "BIOLOGICAL-CONTROL-AGENT" "BIOLOGICAL-CONTROL-PRODUCT" "BIOLOGICAL-CTRL.-PROD./INSECTICIDE" "BIOLOGICAL-CTRL.-PROD./NEMATICIDE" "BIOLOGICAL-CTRL.-PROD./VIRUCIDE" "BIOSTIMULANT" "BIRD-REPELLENT" "BUFFER-AGENT" "CROP-BACTERICIDE" "CROP-BACTERICIDE/FUNGICIDE" "CROP-BACTERICIDE/FUNGICIDE/HERBICIDE" "CRUSTICIDE" "CRUSTICIDE/MOLLUSCICIDE" "DEFOLIANT" "DEFOLIANT/DESICCANT" "DEFOLIANT/DESICCANT/HERBICIDE" "DEFOLIANT/DESICCANT/REGULATOR" "DEFOLIANT/GROWTH-REGULATOR(PGR)" "DEFOLIANT/HERBICIDE" "DEFOLIANT/HERBICIDE/REGULATOR" "DEFOLIANT/REGULATOR" "DESICCANT" "DESICCANT/HERBICIDE" "DESICCANT/HERBICIDE/REGULATOR" "DESICCANT/MICROBIAL/REGULATOR" "DISINFECTANT" "DISINFECTANT/FUNGICIDE/HERBICIDE/NEMATICIDE" "DISINFECTANT/FUNGICIDE/NEMATICIDE" "DISINFECTANT/INSECTICIDE" "DISINFECTANT/PRESERVATIVE" "DISINFECTANT/SEED-TREATMENT" "ELICITOR" "FERTILIZER/SOIL-CONDITIONER" "FORMICIDE" "FORMICIDE/FUNGICIDE" "FORMICIDE/FUNGICIDE/INSECTICIDE/NEMATICIDE" "FORMICIDE/INSECTICIDE" "FORMICIDE/INSECTICIDE/RODENTICIDE" "FORMICIDE/INSECTICIDE/SEED-TREATMENT" "FORMICIDE/INSECTICIDE/TERMITICIDE" "FUMIGANT" "FUMIGANT/FUNGICIDE" "FUMIGANT/INSECTICIDE" "FUMIGANT/INSECTICIDE/MOLLUSCICIDE/TADPOLE-SH" "FUMIGANT/INSECTICIDE/RODENTICIDE" "FUMIGANT/NEMATICIDE" "FUMIGANT/SEED-TREATMENT" "FUNGICIDE" "FUNGICIDE" "FUNGICIDE(MICROBIOLOGICAL)" "FUNGICIDE/ACARICIDE" "FUNGICIDE/DISINFECTANT/PRESERVATIVE" "FUNGICIDE/GROWTH-REGULATOR" "FUNGICIDE/GROWTH-REGULATOR/HERBICIDE" "FUNGICIDE/GROWTH-REGULATOR/INSECTICIDE" "FUNGICIDE/GROWTH-REGULATOR/SEED-PROTECTANT" "FUNGICIDE/HERBICIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE/NEMATICIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE/NEMATICIDE/RODENTICIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE/NEMATICIDE/SOIL-FUMIGANT" "FUNGICIDE/HERBICIDE/INSECTICIDE/SOIL-FUMIGANT" "FUNGICIDE/HERBICIDE/INSECTICIDE/VIRUCIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE/WOOD-PRESERVATIVE" "FUNGICIDE/HERBICIDE/MOLLUSCICIDE" "FUNGICIDE/HERBICIDE/MOLLUSCICIDE/NEMATICIDE/TADPOLE-SH" "FUNGICIDE/HERBICIDE/MOLLUSCICIDE/TADPOLE-SH" "FUNGICIDE/HERBICIDE/NEMATICIDE" "FUNGICIDE/HERBICIDE/NEMATICIDE/SLIMICIDE" "FUNGICIDE/HERBICIDE/NEMATICIDE/SOIL-FUMIGANT" "FUNGICIDE/HERBICIDE/NEMATICIDE/WOOD-PRESERVATIVE" "FUNGICIDE/HERBICIDE/REGULATOR" "FUNGICIDE/HERBICIDE/WOOD-PRESERVATIVE" "FUNGICIDE/INSECT-GROWTH-REGULATOR/INSECTICIDE" "FUNGICIDE/INSECTICIDE" "FUNGICIDE/INSECTICIDE/MICROBIAL" "FUNGICIDE/INSECTICIDE/MICROBIAL/REGULATOR" "FUNGICIDE/INSECTICIDE/MISCELLANEOUS" "FUNGICIDE/INSECTICIDE/MOLLUSCICIDE/NEMATICIDE" "FUNGICIDE/INSECTICIDE/NEMATICIDE" "FUNGICIDE/INSECTICIDE/NEMATICIDE/SOIL-FUMIGANT" "FUNGICIDE/INSECTICIDE/REGULATOR" "FUNGICIDE/INSECTICIDE/REPELLENT" "FUNGICIDE/INSECTICIDE/RODENTICIDE" "FUNGICIDE/INSECTICIDE/SEED-PROTECTANT" "FUNGICIDE/INSECTICIDE/SEED-TREATMENT" "FUNGICIDE/INSECTICIDE/VIRUCIDE" "FUNGICIDE/INSECTICIDE/WOOD-PRESERVATIVE" "FUNGICIDE/MATERIAL-PRESERVATIVE" "FUNGICIDE/MICROBIAL" "FUNGICIDE/MICROBIAL/REGULATOR" "FUNGICIDE/MOLLUSCICIDE" "FUNGICIDE/NEMATICIDE" "FUNGICIDE/NEMATICIDE(MICROBIOLOGICAL)" "FUNGICIDE/NEMATICIDE/PLANT-GROWTH-REGULATOR" "FUNGICIDE/NEMATICIDE/SOIL-FUMIGANT" "FUNGICIDE/REGULATOR" "FUNGICIDE/REPELLENT" "FUNGICIDE/SANITIZER" "FUNGICIDE/SEED-PROTECTANT" "FUNGICIDE/SEED-TREATMENT" "FUNGICIDE/SEED-TREATMENT/BIO-FERTILIZER" "FUNGICIDE/SPORICIDE/TUBERCULOCIDE/VIRUCIDE" "FUNGICIDE/TUBERCULOCIDE/VIRUCIDE" "FUNGICIDE/VIRUCIDE" "FUNGICIDE/WOOD-PRESERVATIVE" "FUNGISTAT" "GROWTH-REGULATOR(PGR)" "GROWTH-REGULATOR(PGR)/WOUND-TREATMENT" "GROWTH-REGULATOR/GROWTH-STIMULANT" "GROWTH-REGULATOR/HERBICIDE" "GROWTH-REGULATOR/HERBICIDE/INSECTICIDE" "GROWTH-REGULATOR/INSECTICIDE" "GROWTH-REGULATOR/NEMATICIDE" "GROWTH-REGULATOR/REPELLENT" "GROWTH-REGULATOR/SEED-PROTECTANT" "GROWTH-STIMULANT" "GROWTH-STIMULANT/NEMATICIDE" "HERBICIDE" "HERBICIDE" "HERBICIDE-W/FERTILIZER" "HERBICIDE/INSECTICIDE" "HERBICIDE/INSECTICIDE/ACATICIDE" "HERBICIDE/INSECTICIDE/NEMATICIDE" "HERBICIDE/INSECTICIDE/NEMATICIDE/SOIL-FUMIGANT" "HERBICIDE/MICROBIAL-PESTICIDE" "HERBICIDE/REGULATOR" "HERBICIDE/SAFENER" "IMMUNITY-STIMULATOR" "INOCULANT" "INSECT-GROWTH-REGULATOR" "INSECT-GROWTH-REGULATOR/INSECTICIDE" "INSECT-GROWTH-REGULATOR/INSECTICIDE/NEMATICIDE" "INSECT-GROWTH-REGULATOR/INSECTICIDE/REPELLENT" "INSECT-GROWTH-REGULATOR/REPELLENT" "INSECT-GROWTH-REGULATOR/SEX-ATTRACTANT" "INSECT-REPELLENT" "INSECTICIDE" "INSECTICIDE" "INSECTICIDE-SYNERGIST/SAFENER" "INSECTICIDE(MICROBIOLOGICAL)" "INSECTICIDE(SOAP)" "INSECTICIDE(SOAP)/INSECTICIDE" "INSECTICIDE/CRUSTICIDE" "INSECTICIDE/MATING-DISRUPTANT" "INSECTICIDE/MICROBIAL-PESTICIDE" "INSECTICIDE/MOLLUSCICIDE" "INSECTICIDE/MOLLUSCICIDE/REGULATOR/TADPOLE-SH" "INSECTICIDE/MOLLUSCICIDE/TADPOLE-SH" "INSECTICIDE/NEMATICIDE" "INSECTICIDE/NEMATICIDE/REPELLENT" "INSECTICIDE/NEMATICIDE/SEED-TREATMENT" "INSECTICIDE/NEMATICIDE/SEX-ATTRACTANT" "INSECTICIDE/NEMATICIDE/SOIL-FUMIGANT" "INSECTICIDE/PHEROMONE" "INSECTICIDE/REPELLENT" "INSECTICIDE/RODENTICIDE" "INSECTICIDE/SEED-TREATMENT" "INSECTICIDE/TERMITICIDE" "INSECTICIDE/VERMIN-DESTROYER" "INSECTICIDE/VIRUCIDE" "INSECTICIDE/WOOD-PRESERVATIVE" "LIMACIDE" "LIVING-ORGANISMS" "LIVING-ORGANISMS(AGAINST-FUNGI)" "LIVING-ORGANISMS(AGAINST-FUNGI)/FUNGICIDE" "LIVING-ORGANISMS(BACTERIA)/FUNGICIDE" "LIVING-ORGANISMS(FUNGI)" "LIVING-ORGANISMS(FUNGI)/FUNGICIDE" "LIVING-ORGANISMS(INSECTS)" "LIVING-ORGANISMS(INSECTS)/PRESERVATIVE" "LIVING-ORGANISMS(MITES)" "LIVING-ORGANISMS(NEMATODES)" "LIVING-ORGANISMS(NEMATODES)/INSECTICIDE" "MATING-DISRUPTANT" "MATING-DISRUPTANT/SEX-ATTRACTANT" "MICROBIAL-PESTICIDE" "MICROBIAL-PESTICIDE/MOLLUSCICIDE/TADPOLE-SH" "MICROBIAL-PESTICIDE/NEMATICIDE" "MICROBIAL-PESTICIDE/REGULATOR" "MICROBIAL-PESTICIDE/SEX-ATTRACTANT" "MICRONUTRIENTS" "MISCELLANEOUS" "MOLLUSCICIDE" "MOLLUSCICIDE/REPELLENT" "MOLLUSCICIDE/SLIMICI" "MOLLUSCICIDE/TADPOLE-SH" "NATURAL-DEFENCE-STIMULATOR" "NEMATICIDE" "NEMATICIDE" "NEMATICIDE(MICROBIOLOGICAL)" "NEMATICIDE/REGULATOR" "NEMATICIDE/SEX-ATTRACTANT" "NEMATICIDE/SOIL-FUMIGANT" "NON-PARASITIC-PLANT-DISEASE-CONTROL" "ORGANISMS(INSECT-VIRUSES)" "OTHER" "OTHERS" "PESTICIDE/FERTILIZER" "PHEROMONE" "PHEROMONE-SYNTHETIC" "PHYSICAL-CONTROL-AGENT" "PLANT GROWTH REGULATO" "PLANT-ACTIVATOR" "PRESERVATIVE" "PRESERVATIVE/INSECTICIDE" "PRODUCT-AGAINST-STORAGE-PESTS" "PROTECTANT" "PRUNING-PAINT" "REGULATOR" "REPELLENT" "RODENT/REPELLENT" "RODENTICIDE" "RODENTICIDE" "SAFENER" "SEED TREATMENT" "SEED-PROTECTANT" "SEED-TREATMENT" "SOIL-DISINFECTANT" "SOIL-DISINFECTANT/NEMATICIDE" "SOIL-FUMIGANT" "SOIL-STERILANT" "SPECIAL-PREPARATIONS" "SPORICIDE" "SPORICIDE/VIRUCIDE" "STERILIZING-PLANTING-AGENT" "SULPHUR" "SURFACTANT/FRUIT-COATING" "TALPICIDE" "TANK-MIX" "TECHNICAL" "TERMITICIDE" "TUBERCULOCIDE/VIRUCIDE" "UNSPECIFIED" "VIRUCIDE" "WAX" "WETTING" "WOOD-PRESERVATIVE" "WOUND-TREATMENT" |
selling_units required | string (SellingUnits) Enum: "KILOGRAMS" "LITERS" "UNITS" "BOXS" "SACK" "GALLONS" "GRAMS" "TONNES" "MILLILITER" "METERS" "OUNCES" "POUNDS" "PINTS" "DOSE" "UNKNOWN" |
{- "name": "Product A",
- "org_id": "8521b1d2-23c4-4340-bbc8-eb787f0edd4e",
- "indication": "ACARICIDE",
- "selling_units": "LITERS"
}
{- "name": "Product navigate",
- "indication": "ACARICIDE",
- "selling_units": "LITERS",
- "id": "f801e123-206e-4821-8ed0-b6a06fc029cf",
- "deleted": false,
- "org_id": "8521b1d2-23c4-4340-bbc8-eb787f0edd4e"
}
Get Catalog Canon Product-country-source.
full | boolean If all product's attributes will be returned or not. Default is false. |
include_deleted | boolean If deleted products will be returned or not. Default is false |
include_attributes | Array of strings Which attributes will be included in the response. They will appear only if they do exist. |
indication | string (ProductIndication) Enum: "ACARICIDE" "ACARICIDE(MICROBIOLOGICAL)" "ACARICIDE/ADHESIVE(SPREADER)/ADJUVANT/INSECTICIDE" "ACARICIDE/ADJUVANT/INSECTICIDE" "ACARICIDE/ADJUVANT/INSECTICIDE/NEMATICIDE" "ACARICIDE/ATTRACTANT/INSECTICIDE" "ACARICIDE/BACTERICIDE" "ACARICIDE/BACTERICIDE/FUNGICIDE" "ACARICIDE/BACTERICIDE/FUNGICIDE/INSECTICIDE" "ACARICIDE/BACTERICIDE/FUNGICIDE/INSECTICIDE/SEED-TREATMENT" "ACARICIDE/FORMICIDE/INSECTICIDE" "ACARICIDE/FUMIGANT" "ACARICIDE/FUNGICIDE" "ACARICIDE/FUNGICIDE/INSECTICIDE" "ACARICIDE/FUNGICIDE/INSECTICIDE/NEMATICIDE/RODENTICIDE" "ACARICIDE/GROWTH-REGULATOR/INSECTICIDE" "ACARICIDE/HERBICIDE/NEMATICIDE" "ACARICIDE/INSECT-GROWTH-REGULATOR/INSECTICIDE" "ACARICIDE/INSECTICIDE" "ACARICIDE/INSECTICIDE(MICROBIOLOGICAL)" "ACARICIDE/INSECTICIDE/INSECT-REPELLENT/MOLLUSCICIDE" "ACARICIDE/INSECTICIDE/MOLLUSCICIDE" "ACARICIDE/INSECTICIDE/NEMATICIDE" "ACARICIDE/INSECTICIDE/PROD.-AGAINST-STORAGE-PESTS" "ACARICIDE/INSECTICIDE/RODENTICIDE" "ACARICIDE/INSECTICIDE/SEED-PROTECTANT" "ACARICIDE/INSECTICIDE/SEED-TREATMENT" "ACARICIDE/MOLLUSCICIDE/TADPOLE-SH" "ACARICIDE/REPELLENT" "ACRIDICIDE" "ACRIDICIDE/INSECTICIDE" "ACTIVATOR" "ADHESIVE(SPREADER)" "ADHESIVE(SPREADER)/ADJUVANT" "ADHESIVE(SPREADER)/ADJUVANT/FUNGICIDE" "ADJUVANT" "ADJUVANT/ACARICIDE/FUNGICIDE/INSECTICIDE" "ADJUVANT/FUNGICIDE/INSECTICIDE" "ADJUVANT/GROWTH-REGULATOR" "ADJUVANT/HERBICIDE" "ADJUVANT/HERBICIDE/SURFACTANT" "ADJUVANT/INSECTICIDE" "ADJUVANT/SURFACTANT" "ALGAECIDE" "ALGAECIDE/FUNGICIDE" "ALGAECIDE/FUNGICIDE/SLIMICIDE" "ALGAECIDE/HERBICIDE" "ALGAECIDE/HERBICIDE/MOLLUSCICIDE" "ALGAECIDE/SANITIZER/SLIMICIDE/BACTERICIDE" "ALGAECIDE/SLIMICIDE" "ALGICIDE" "ANIMAL-TOXICANT" "ANIMAL-TOXICANT/INSECTICIDE/RODENTICIDE" "ANIMAL-TOXICANT/RODENTICIDE" "ANTI-FOAMING" "ANTI-FOULING-PAINT" "ANTI-MOSS" "ANTI-MOSS/HERBICIDE" "ANTI-SCALD" "ANTI-SPROUTING" "ATTRACTANT" "ATTRACTANT/INSECTICIDE" "AVICIDE" "BACTERICIDE" "BACTERICIDE/DISINFECTANT/FUNGICIDE" "BACTERICIDE/FUMIGANT/FUNGICIDE" "BACTERICIDE/FUNGICIDE" "BACTERICIDE/FUNGICIDE(MICROBIOLOGICAL)" "BACTERICIDE/FUNGICIDE/GROWTH-REGULATOR" "BACTERICIDE/FUNGICIDE/INSECTICIDE" "BACTERICIDE/FUNGICIDE/MOLLUSCICIDE" "BACTERICIDE/FUNGICIDE/NEMATICIDE" "BACTERICIDE/FUNGICIDE/NEMATICIDE/SOIL-DISINFECTANT" "BACTERICIDE/FUNGICIDE/SEED-TREATMENT" "BACTERICIDE/FUNGICIDE/SOIL-DISINFECTANT" "BACTERICIDE/FUNGICIDE/SPORICIDE" "BACTERICIDE/FUNGICIDE/VIRUCIDE" "BACTERICIDE/GROWTH-REGULATOR" "BACTERICIDE/INSECTICIDE" "BACTERICIDE/NEMATICIDE" "BAIT" "BIO-FUNGICIDE" "BIO-INSECTICIDE" "BIO-NEMATICIDE" "BIOCHEMICAL-PESTICIDE" "BIOLOGICAL-CONTROL-AGENT" "BIOLOGICAL-CONTROL-PRODUCT" "BIOLOGICAL-CTRL.-PROD./INSECTICIDE" "BIOLOGICAL-CTRL.-PROD./NEMATICIDE" "BIOLOGICAL-CTRL.-PROD./VIRUCIDE" "BIOSTIMULANT" "BIRD-REPELLENT" "BUFFER-AGENT" "CROP-BACTERICIDE" "CROP-BACTERICIDE/FUNGICIDE" "CROP-BACTERICIDE/FUNGICIDE/HERBICIDE" "CRUSTICIDE" "CRUSTICIDE/MOLLUSCICIDE" "DEFOLIANT" "DEFOLIANT/DESICCANT" "DEFOLIANT/DESICCANT/HERBICIDE" "DEFOLIANT/DESICCANT/REGULATOR" "DEFOLIANT/GROWTH-REGULATOR(PGR)" "DEFOLIANT/HERBICIDE" "DEFOLIANT/HERBICIDE/REGULATOR" "DEFOLIANT/REGULATOR" "DESICCANT" "DESICCANT/HERBICIDE" "DESICCANT/HERBICIDE/REGULATOR" "DESICCANT/MICROBIAL/REGULATOR" "DISINFECTANT" "DISINFECTANT/FUNGICIDE/HERBICIDE/NEMATICIDE" "DISINFECTANT/FUNGICIDE/NEMATICIDE" "DISINFECTANT/INSECTICIDE" "DISINFECTANT/PRESERVATIVE" "DISINFECTANT/SEED-TREATMENT" "ELICITOR" "FERTILIZER/SOIL-CONDITIONER" "FORMICIDE" "FORMICIDE/FUNGICIDE" "FORMICIDE/FUNGICIDE/INSECTICIDE/NEMATICIDE" "FORMICIDE/INSECTICIDE" "FORMICIDE/INSECTICIDE/RODENTICIDE" "FORMICIDE/INSECTICIDE/SEED-TREATMENT" "FORMICIDE/INSECTICIDE/TERMITICIDE" "FUMIGANT" "FUMIGANT/FUNGICIDE" "FUMIGANT/INSECTICIDE" "FUMIGANT/INSECTICIDE/MOLLUSCICIDE/TADPOLE-SH" "FUMIGANT/INSECTICIDE/RODENTICIDE" "FUMIGANT/NEMATICIDE" "FUMIGANT/SEED-TREATMENT" "FUNGICIDE" "FUNGICIDE" "FUNGICIDE(MICROBIOLOGICAL)" "FUNGICIDE/ACARICIDE" "FUNGICIDE/DISINFECTANT/PRESERVATIVE" "FUNGICIDE/GROWTH-REGULATOR" "FUNGICIDE/GROWTH-REGULATOR/HERBICIDE" "FUNGICIDE/GROWTH-REGULATOR/INSECTICIDE" "FUNGICIDE/GROWTH-REGULATOR/SEED-PROTECTANT" "FUNGICIDE/HERBICIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE/NEMATICIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE/NEMATICIDE/RODENTICIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE/NEMATICIDE/SOIL-FUMIGANT" "FUNGICIDE/HERBICIDE/INSECTICIDE/SOIL-FUMIGANT" "FUNGICIDE/HERBICIDE/INSECTICIDE/VIRUCIDE" "FUNGICIDE/HERBICIDE/INSECTICIDE/WOOD-PRESERVATIVE" "FUNGICIDE/HERBICIDE/MOLLUSCICIDE" "FUNGICIDE/HERBICIDE/MOLLUSCICIDE/NEMATICIDE/TADPOLE-SH" "FUNGICIDE/HERBICIDE/MOLLUSCICIDE/TADPOLE-SH" "FUNGICIDE/HERBICIDE/NEMATICIDE" "FUNGICIDE/HERBICIDE/NEMATICIDE/SLIMICIDE" "FUNGICIDE/HERBICIDE/NEMATICIDE/SOIL-FUMIGANT" "FUNGICIDE/HERBICIDE/NEMATICIDE/WOOD-PRESERVATIVE" "FUNGICIDE/HERBICIDE/REGULATOR" "FUNGICIDE/HERBICIDE/WOOD-PRESERVATIVE" "FUNGICIDE/INSECT-GROWTH-REGULATOR/INSECTICIDE" "FUNGICIDE/INSECTICIDE" "FUNGICIDE/INSECTICIDE/MICROBIAL" "FUNGICIDE/INSECTICIDE/MICROBIAL/REGULATOR" "FUNGICIDE/INSECTICIDE/MISCELLANEOUS" "FUNGICIDE/INSECTICIDE/MOLLUSCICIDE/NEMATICIDE" "FUNGICIDE/INSECTICIDE/NEMATICIDE" "FUNGICIDE/INSECTICIDE/NEMATICIDE/SOIL-FUMIGANT" "FUNGICIDE/INSECTICIDE/REGULATOR" "FUNGICIDE/INSECTICIDE/REPELLENT" "FUNGICIDE/INSECTICIDE/RODENTICIDE" "FUNGICIDE/INSECTICIDE/SEED-PROTECTANT" "FUNGICIDE/INSECTICIDE/SEED-TREATMENT" "FUNGICIDE/INSECTICIDE/VIRUCIDE" "FUNGICIDE/INSECTICIDE/WOOD-PRESERVATIVE" "FUNGICIDE/MATERIAL-PRESERVATIVE" "FUNGICIDE/MICROBIAL" "FUNGICIDE/MICROBIAL/REGULATOR" "FUNGICIDE/MOLLUSCICIDE" "FUNGICIDE/NEMATICIDE" "FUNGICIDE/NEMATICIDE(MICROBIOLOGICAL)" "FUNGICIDE/NEMATICIDE/PLANT-GROWTH-REGULATOR" "FUNGICIDE/NEMATICIDE/SOIL-FUMIGANT" "FUNGICIDE/REGULATOR" "FUNGICIDE/REPELLENT" "FUNGICIDE/SANITIZER" "FUNGICIDE/SEED-PROTECTANT" "FUNGICIDE/SEED-TREATMENT" "FUNGICIDE/SEED-TREATMENT/BIO-FERTILIZER" "FUNGICIDE/SPORICIDE/TUBERCULOCIDE/VIRUCIDE" "FUNGICIDE/TUBERCULOCIDE/VIRUCIDE" "FUNGICIDE/VIRUCIDE" "FUNGICIDE/WOOD-PRESERVATIVE" "FUNGISTAT" "GROWTH-REGULATOR(PGR)" "GROWTH-REGULATOR(PGR)/WOUND-TREATMENT" "GROWTH-REGULATOR/GROWTH-STIMULANT" "GROWTH-REGULATOR/HERBICIDE" "GROWTH-REGULATOR/HERBICIDE/INSECTICIDE" "GROWTH-REGULATOR/INSECTICIDE" "GROWTH-REGULATOR/NEMATICIDE" "GROWTH-REGULATOR/REPELLENT" "GROWTH-REGULATOR/SEED-PROTECTANT" "GROWTH-STIMULANT" "GROWTH-STIMULANT/NEMATICIDE" "HERBICIDE" "HERBICIDE" "HERBICIDE-W/FERTILIZER" "HERBICIDE/INSECTICIDE" "HERBICIDE/INSECTICIDE/ACATICIDE" "HERBICIDE/INSECTICIDE/NEMATICIDE" "HERBICIDE/INSECTICIDE/NEMATICIDE/SOIL-FUMIGANT" "HERBICIDE/MICROBIAL-PESTICIDE" "HERBICIDE/REGULATOR" "HERBICIDE/SAFENER" "IMMUNITY-STIMULATOR" "INOCULANT" "INSECT-GROWTH-REGULATOR" "INSECT-GROWTH-REGULATOR/INSECTICIDE" "INSECT-GROWTH-REGULATOR/INSECTICIDE/NEMATICIDE" "INSECT-GROWTH-REGULATOR/INSECTICIDE/REPELLENT" "INSECT-GROWTH-REGULATOR/REPELLENT" "INSECT-GROWTH-REGULATOR/SEX-ATTRACTANT" "INSECT-REPELLENT" "INSECTICIDE" "INSECTICIDE" "INSECTICIDE-SYNERGIST/SAFENER" "INSECTICIDE(MICROBIOLOGICAL)" "INSECTICIDE(SOAP)" "INSECTICIDE(SOAP)/INSECTICIDE" "INSECTICIDE/CRUSTICIDE" "INSECTICIDE/MATING-DISRUPTANT" "INSECTICIDE/MICROBIAL-PESTICIDE" "INSECTICIDE/MOLLUSCICIDE" "INSECTICIDE/MOLLUSCICIDE/REGULATOR/TADPOLE-SH" "INSECTICIDE/MOLLUSCICIDE/TADPOLE-SH" "INSECTICIDE/NEMATICIDE" "INSECTICIDE/NEMATICIDE/REPELLENT" "INSECTICIDE/NEMATICIDE/SEED-TREATMENT" "INSECTICIDE/NEMATICIDE/SEX-ATTRACTANT" "INSECTICIDE/NEMATICIDE/SOIL-FUMIGANT" "INSECTICIDE/PHEROMONE" "INSECTICIDE/REPELLENT" "INSECTICIDE/RODENTICIDE" "INSECTICIDE/SEED-TREATMENT" "INSECTICIDE/TERMITICIDE" "INSECTICIDE/VERMIN-DESTROYER" "INSECTICIDE/VIRUCIDE" "INSECTICIDE/WOOD-PRESERVATIVE" "LIMACIDE" "LIVING-ORGANISMS" "LIVING-ORGANISMS(AGAINST-FUNGI)" "LIVING-ORGANISMS(AGAINST-FUNGI)/FUNGICIDE" "LIVING-ORGANISMS(BACTERIA)/FUNGICIDE" "LIVING-ORGANISMS(FUNGI)" "LIVING-ORGANISMS(FUNGI)/FUNGICIDE" "LIVING-ORGANISMS(INSECTS)" "LIVING-ORGANISMS(INSECTS)/PRESERVATIVE" "LIVING-ORGANISMS(MITES)" "LIVING-ORGANISMS(NEMATODES)" "LIVING-ORGANISMS(NEMATODES)/INSECTICIDE" "MATING-DISRUPTANT" "MATING-DISRUPTANT/SEX-ATTRACTANT" "MICROBIAL-PESTICIDE" "MICROBIAL-PESTICIDE/MOLLUSCICIDE/TADPOLE-SH" "MICROBIAL-PESTICIDE/NEMATICIDE" "MICROBIAL-PESTICIDE/REGULATOR" "MICROBIAL-PESTICIDE/SEX-ATTRACTANT" "MICRONUTRIENTS" "MISCELLANEOUS" "MOLLUSCICIDE" "MOLLUSCICIDE/REPELLENT" "MOLLUSCICIDE/SLIMICI" "MOLLUSCICIDE/TADPOLE-SH" "NATURAL-DEFENCE-STIMULATOR" "NEMATICIDE" "NEMATICIDE" "NEMATICIDE(MICROBIOLOGICAL)" "NEMATICIDE/REGULATOR" "NEMATICIDE/SEX-ATTRACTANT" "NEMATICIDE/SOIL-FUMIGANT" "NON-PARASITIC-PLANT-DISEASE-CONTROL" "ORGANISMS(INSECT-VIRUSES)" "OTHER" "OTHERS" "PESTICIDE/FERTILIZER" "PHEROMONE" "PHEROMONE-SYNTHETIC" "PHYSICAL-CONTROL-AGENT" "PLANT GROWTH REGULATO" "PLANT-ACTIVATOR" "PRESERVATIVE" "PRESERVATIVE/INSECTICIDE" "PRODUCT-AGAINST-STORAGE-PESTS" "PROTECTANT" "PRUNING-PAINT" "REGULATOR" "REPELLENT" "RODENT/REPELLENT" "RODENTICIDE" "RODENTICIDE" "SAFENER" "SEED TREATMENT" "SEED-PROTECTANT" "SEED-TREATMENT" "SOIL-DISINFECTANT" "SOIL-DISINFECTANT/NEMATICIDE" "SOIL-FUMIGANT" "SOIL-STERILANT" "SPECIAL-PREPARATIONS" "SPORICIDE" "SPORICIDE/VIRUCIDE" "STERILIZING-PLANTING-AGENT" "SULPHUR" "SURFACTANT/FRUIT-COATING" "TALPICIDE" "TANK-MIX" "TECHNICAL" "TERMITICIDE" "TUBERCULOCIDE/VIRUCIDE" "UNSPECIFIED" "VIRUCIDE" "WAX" "WETTING" "WOOD-PRESERVATIVE" "WOUND-TREATMENT" Requested product's type. |
country required | string Requested country |
source | string Requested sourece. Default is TUBE |
name | string Requested product's name. Search by "begins_with" and insensitive case. |
{- "content": [
- {
- "id": "b657476c-afbe-4645-90de-e4a2d87344b1",
- "name": "Product BR",
- "indication": "FUNGICIDE/HERBICIDE/INSECTICIDE/NEMATICIDE/RODENTICIDE",
- "selling_units": "METERS",
- "deleted": false,
- "source": "TUBE",
- "country": "BR",
- "company": "Cropwise Catalog",
- "company_group": "Cropwise GmBH",
- "gov_source": "MINISTERY/SPAIN,",
- "created_at": "2023-01-18T16:34:04.068Z",
- "updated_at": "2023-01-18T16:34:04.068Z",
- "registration_number": 123,
- "twin_pack_code": 123,
- "language": "Spanish",
- "phrases": [
- {
- "name": "NO-INFORMATION",
- "group_name": "NO-INFORMATION",
- "code": "S01",
- "abbreviation": "NO-INFO",
- "group_code": 99999
}
], - "formulation": {
- "company_group": "VARIOUS",
- "indication": "ACARICIDE",
- "active_ingredients": [
- {
- "name": "N. TENUIS",
- "concentration_unit": "KG/mL"
}
]
}
}, - {
- "id": "b657476c-afbe-4645-90de-e4a2d87344b2",
- "name": "Product BR 2",
- "indication": "FUNGICIDE",
- "selling_units": "METERS",
- "deleted": true,
- "source": "TUBE",
- "country": "BR",
- "company": "Cropwise Catalog",
- "company_group": "Cropwise GmBH",
- "gov_source": "MINISTERY/SPAIN,",
- "created_at": "2023-01-18T16:34:04.068Z",
- "updated_at": "2023-01-18T16:34:04.068Z",
- "registration_number": 123,
- "twin_pack_code": 123,
- "language": "Spanish",
- "phrases": [
- {
- "name": "NO-INFORMATION",
- "group_name": "NO-INFORMATION",
- "code": "S01",
- "abbreviation": "NO-INFO",
- "group_code": 99999
}
], - "formulation": {
- "company_group": "VARIOUS",
- "indication": "ACARICIDE",
- "active_ingredients": [
- {
- "name": "N. TENUIS",
- "concentration_unit": "KG/mL"
}
]
}
}
], - "pageable": {
- "current_key": "eyJwayI6IkNBTk9OI1RVQkUjQlIiLCJyayI6ImZhbHNlI2Jlc3Bva2Ugc29mdCBwYW50cyAzYzlhNDg4Mi1lMWNjLTQwOTMtOWE4OC01YmMwYjU2M2IwZmMjM2M5YTQ4ODItZTFjYy00MDkzLTlhODgtNWJjMGI1NjNiMGZjIiwib3JpZ2luIjoiQ0FOT04ifQ==",
- "size": 100,
- "next_key": "eyJwayI6IkNBTk9OI1RVQkUjQlIiLCJyayI6ImZhbHNlI2Jlc3Bva2Ugc29mdCBwYW50cyAzYzlhNDg4Mi1lMWNjLTQwOTMtOWE4OC01YmMwYjU2M2IwZmMjM2M5YTQ4ODItZTFjYy00MDkzLTlhODgtNWJjMGI1NjNiMGZjIiwib3JpZ2luIjoiQ0FOT04ifQ=="
}, - "number_of_elements": 2,
- "last": true,
- "first": true,
- "empty": false
}
Get all contracts for an app
appId required | string Numeric ID of the App |
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
]
}
contains | string Enum: "ALL_ENTITLEMENTS" "SOME_ENTITLEMENTS" If a contract must have all entitlement's keys or just some of them. Default is SOME_ENTITLEMENTS |
include_deleted | boolean If deleted contracts will be retrieved as well. Default is FALSE |
last_key | string |
size | integer |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "start": "string",
- "plan": "string",
- "quota": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
], - "plan_name": "string"
}
]
}
contains | string Enum: "ALL_ENTITLEMENTS" "SOME_ENTITLEMENTS" If a contract must have all entitlement's keys or just some of them. Default is SOME_ENTITLEMENTS |
include_deleted | boolean If deleted contracts will be retrieved as well. Default is FALSE |
last_key | string |
size | integer |
keys | Array of strings |
{- "keys": [
- "trial",
- "accounts.invitation",
- "create.org"
]
}
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "start": "string",
- "plan": "string",
- "quota": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
], - "plan_name": "string"
}
]
}
entitlements | Array of strings |
shouldContractHaveAllEntitlements | boolean |
shouldConsiderDeletedContracts | boolean |
lastKey | string |
lastKeyComplement | integer |
{- "contracts": [
- {
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "quota": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
], - "plan_name": "string"
}
], - "lastKey": {
- "id": "string",
- "start": 0
}
}
Delete a Contract
workspaceId required | string Numeric ID of the account |
contractId required | string Numeric ID of the contract |
{- "status": 100,
- "code": "string",
- "error": "string",
- "message": "string",
- "path": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
Update a Contract
workspaceId required | string Numeric ID of the account |
contractId required | string Numeric ID of the contract |
end | string |
Array of objects (EntitlementsList) | |
start | string |
plan | string |
plan_name | string |
notes | string |
licensing_account_id | string this field is the workspace id of the user |
workspace_id | string this field is the workspace id of the user |
Array of objects (Quota) |
{- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
Get a Contract
workspaceId required | string Numeric ID of the account |
contractId required | string Numeric ID of the contract |
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
Delete a Contract Entity
workspaceId required | string Numeric ID of the account |
contractId required | string Numeric ID of the contract |
[- "string"
]
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
Update a Contract Entity
workspaceId required | string Numeric ID of the account |
contractId required | string Numeric ID of the contract |
quota | string |
Array of objects (Entities) |
{- "quota": "string",
- "entities": [
- {
- "key": "string",
- "value": 0
}
]
}
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
Get all contracts from a workspace
workspaceId required | string Numeric ID of the account to get |
size | integer Number of contracts to return |
last_key | string Id of the last contract returned by the previous query |
include_waiting_for_payment | boolean Allow that contracts that are waiting for payment are also displayed |
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
]
}
Add a contract to a workspace
workspaceId required | string Numeric ID of the account to get |
end required | string |
Array of objects (EntitlementsList) | |
start required | string |
plan required | string |
Array of objects (Quota) | |
plan_name | string |
{- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "quota": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
], - "plan_name": "string"
}
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
Get contracts related to an entity
workspaceId required | string Numeric ID of the account to get |
entityId required | string ID of the entity |
[- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
]
List Crops
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
Accept-Language | string Crop names will be responded in the chosen language |
{- "content": [
- {
- "name": "Brachiaria",
- "wk_slug": "BRACHIARIA",
- "varieties_ids": [
- "9f08c50f-595a-425d-aaf3-cccb9d01051f"
], - "default_variety_id": "9f08c50f-595a-425d-aaf3-cccb9d01051f",
- "id": "f7da51d1-55db-4257-8a52-afe564dd5acb"
}, - {
- "name": "Bean",
- "wk_slug": "BEAN",
- "varieties_ids": [
- "22b9b970-5f25-43f9-895b-92754d1c3af8"
], - "default_variety_id": "22b9b970-5f25-43f9-895b-92754d1c3af8",
- "id": "fe24f715-2715-4df0-be4b-e6a3a5c76d35"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 2,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 2,
- "size": 2000,
- "number": 0,
- "empty": false
}
Get Cycle's Season-fields
cycleId required | string Cycle ID. |
{- "content": [
- {
- "season_id": "d06e2de7-6b50-4dda-853e-ab7952def05f",
- "property_id": "dc2b45a4-3554-4c81-ab55-635d231c2810",
- "deleted": false,
- "varieties_ids": [
- "a55e72ad-5be9-41ed-832b-5d6f61c67cf2"
], - "planting_date": "2020-04-01T09:06:26.000+0000",
- "emergency_date": "2020-06-01T09:06:26.000+0000",
- "harvesting_date": "2020-07-31T09:06:26.000+0000",
- "start_date": "2020-04-01T09:06:26.000+0000",
- "end_date": "2020-07-31T09:06:26.000+0000",
- "id": "027f565b-77f8-49d2-82e9-5ed452e2cb85"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Get Cycle's Seasons
cycleId required | string Cycle ID. |
include_deleted | boolean |
{- "content": [
- {
- "name": "Wheat season 2020",
- "start_date": "2019-12-01T08:24:28.000+0000",
- "end_date": "2020-05-31T08:24:28.000+0000",
- "crop_id": "5ae35c1e-35f1-4c67-ba05-997c5191759f",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": false,
- "deleted": false,
- "json_extended_attributes": {
- "name": "string"
}, - "id": "6dba7432-fc66-4659-b4af-91e8a8ab021a"
}, - {
- "name": "Watermelon season 2020",
- "start_date": "2020-04-01T09:06:26.000+0000",
- "end_date": "2020-07-31T09:06:26.000+0000",
- "crop_id": "6d5203f7-2b5c-485e-a6f8-b080ef1cf1a9",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": true,
- "deleted": false,
- "json_extended_attributes": {
- "name": "string"
}, - "id": "d06e2de7-6b50-4dda-853e-ab7952def05f"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 2,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 2,
- "size": 2000,
- "number": 0,
- "empty": false
}
Attach/Deattach Cycle's season
cycleId required | string Cycle ID. |
required | Array of objects (OperationAttachSeasonDTO) |
{- "updates": [
- {
- "operation": "ADD",
- "season": "fd41e610-6a1d-490a-a754-65932a930824"
}, - {
- "operation": "remove",
- "season": "aa9e6626-1b9b-4073-8337-b20615becc37"
}
]
}
{- "accepted_seasons": [
- {
- "season_id": "fd41e610-6a1d-490a-a754-65932a930824",
- "operation": "ADD"
}
], - "refused_seasons": [
- {
- "season_id": "aa9e6626-1b9b-4073-8337-b20615becc37",
- "operation"": "remove",
- "error": "The Season and Cycle must belong to the same organization"
}
]
}
{- "created_at": "2023-02-07T12:27:01.893+0000",
- "updated_at": "2023-02-07T12:27:01.893+0000",
- "org_id": "86d72961-803a-4505-94e2-c9e39fe14380",
- "name": "CycleDTO Example",
- "start_at": "2022-02-28T15:26:02.135+0000",
- "end_at": "2030-02-28T15:26:02.135+0000",
- "deleted": false,
- "id": "e55a7708-e42b-442d-9aea-cad5de550629"
}
Edit a Cycle
cycleId required | string Cycle ID. |
Edit cycle's details
name required | string |
start_at required | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
end_at required | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
{- "name": "CraateCycleDTO Example",
- "start_at": "2022-02-28T15:26:02.135+0000",
- "end_at": "2030-02-28T15:26:02.135+0000"
}
{- "created_at": "2023-02-07T12:27:01.893+0000",
- "updated_at": "2023-02-07T12:27:01.893+0000",
- "org_id": "86d72961-803a-4505-94e2-c9e39fe14380",
- "name": "CycleDTO Example",
- "start_at": "2022-02-28T15:26:02.135+0000",
- "end_at": "2030-02-28T15:26:02.135+0000",
- "deleted": false,
- "id": "e55a7708-e42b-442d-9aea-cad5de550629"
}
Create a Cycle
Created cycle's details
org_id required | string <uuid> |
name required | string |
start_at required | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
end_at required | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
id | string <uuid> |
{- "org_id": "86d72961-803a-4505-94e2-c9e39fe14380",
- "name": "CraateCycleDTO Example",
- "start_at": "2022-02-28T15:26:02.135+0000",
- "end_at": "2030-02-28T15:26:02.135+0000"
}
{- "created_at": "2023-02-07T12:27:01.893+0000",
- "updated_at": "2023-02-07T12:27:01.893+0000",
- "org_id": "86d72961-803a-4505-94e2-c9e39fe14380",
- "name": "CycleDTO Example",
- "start_at": "2022-02-28T15:26:02.135+0000",
- "end_at": "2030-02-28T15:26:02.135+0000",
- "deleted": false,
- "id": "e55a7708-e42b-442d-9aea-cad5de550629"
}
Gets all cycles of an Organization
orgId required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
{- "content": [
- {
- "created_at": "2023-02-07T12:27:01.893+0000",
- "updated_at": "2023-02-07T12:27:01.893+0000",
- "org_id": "86d72961-803a-4505-94e2-c9e39fe14380",
- "name": "CycleDTO Example",
- "start_at": "2022-02-28T15:26:02.135+0000",
- "end_at": "2030-02-28T15:26:02.135+0000",
- "deleted": false,
- "id": "e55a7708-e42b-442d-9aea-cad5de550629"
}, - {
- "created_at": "2023-02-07T12:27:01.893+0000",
- "updated_at": "2023-02-07T12:27:01.893+0000",
- "org_id": "86d72961-803a-4505-94e2-c9e39fe14380",
- "name": "CycleDTO Example 2",
- "start_at": "2022-02-28T15:26:02.135+0000",
- "end_at": "2030-02-28T15:26:02.135+0000",
- "deleted": true,
- "id": "e55a7708-e42b-442d-9aea-cad5de550620"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 2,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 2,
- "size": 2000,
- "number": 0,
- "empty": false
}
Gets all cycles of an Property
propertyId required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
{- "content": [
- {
- "created_at": "2023-02-07T12:27:01.893+0000",
- "updated_at": "2023-02-07T12:27:01.893+0000",
- "org_id": "86d72961-803a-4505-94e2-c9e39fe14380",
- "name": "CycleDTO Example",
- "start_at": "2022-02-28T15:26:02.135+0000",
- "end_at": "2030-02-28T15:26:02.135+0000",
- "deleted": false,
- "id": "e55a7708-e42b-442d-9aea-cad5de550629"
}, - {
- "created_at": "2023-02-07T12:27:01.893+0000",
- "updated_at": "2023-02-07T12:27:01.893+0000",
- "org_id": "86d72961-803a-4505-94e2-c9e39fe14380",
- "name": "CycleDTO Example 2",
- "start_at": "2022-02-28T15:26:02.135+0000",
- "end_at": "2030-02-28T15:26:02.135+0000",
- "deleted": true,
- "id": "e55a7708-e42b-442d-9aea-cad5de550620"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 2,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 2,
- "size": 2000,
- "number": 0,
- "empty": false
}
Uploads attachment to be used in custom template.
Multipart Form including the attachment file
file | string <binary> |
{- "key": "email_template_attachments/cropwise_invite_illustration.png"
}
send email with custom placeholders.
template_id required | string Template ID. |
email required | string |
emails | Array of strings |
placeholders | object |
attachments | Array of strings |
cc_emails | Array of strings |
sender | string |
{- "email": "string",
- "emails": [
- "string"
], - "placeholders": { },
- "attachments": [
- "string"
], - "cc_emails": [
- "string"
], - "sender": "string"
}
Edits an existing EmailTemplate
with the specified id.
template_id required | string Template ID. |
language required | string |
subject required | string |
html_content required | string |
branding required | string |
type required | string |
version required | string |
app_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "language": "en",
- "subject": "Invitation email",
- "html_content": "Welcome to Cropwsie",
- "branding": "Syngenta",
- "type": "invite",
- "version": "v2"
}
{- "language": "string",
- "subject": "string",
- "html_content": "string",
- "branding": "string",
- "type": "string",
- "version": "string",
- "app_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}
Gets the specified EmailTemplate details.
template_id required | string Template ID. |
{- "language": "en",
- "subject": "Invitation email",
- "html_content": "Welcome to Cropwsie",
- "branding": "Syngenta",
- "type": "invite",
- "version": "v2",
- "deleted": false,
- "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}
Create EmailTemplate
language required | string |
subject required | string |
html_content required | string |
branding required | string |
type required | string |
version required | string |
app_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "language": "string",
- "subject": "string",
- "html_content": "string",
- "branding": "string",
- "type": "string",
- "version": "string",
- "app_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}
{- "language": "en",
- "subject": "Invitation email",
- "html_content": "Welcome to Cropwsie",
- "branding": "Syngenta",
- "type": "invite",
- "version": "v2"
}
Get an Entitlements From an App
appId required | string Numeric ID of the App |
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
]
}
Get an Entitlement
entitlementId required | string Numeric ID of the Entitlement |
{- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
Updates a single entitlement
entitlementId required | string Numeric ID of the entitlement to update |
key | string |
name | string |
{- "key": "string",
- "name": "string"
}
{- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
contains | string Enum: "ALL_ENTITLEMENTS" "SOME_ENTITLEMENTS" If a contract must have all entitlement's keys or just some of them. Default is SOME_ENTITLEMENTS |
include_deleted | boolean If deleted contracts will be retrieved as well. Default is FALSE |
last_key | string |
size | integer |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "start": "string",
- "plan": "string",
- "quota": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
], - "plan_name": "string"
}
]
}
Get an Entitlements By Ids
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
[- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
]
contains | string Enum: "ALL_ENTITLEMENTS" "SOME_ENTITLEMENTS" If a contract must have all entitlement's keys or just some of them. Default is SOME_ENTITLEMENTS |
include_deleted | boolean If deleted contracts will be retrieved as well. Default is FALSE |
last_key | string |
size | integer |
keys | Array of strings |
{- "keys": [
- "trial",
- "accounts.invitation",
- "create.org"
]
}
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "start": "string",
- "plan": "string",
- "quota": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
], - "plan_name": "string"
}
]
}
Creates a new Entitlement
app_id required | string |
key required | string |
value required | string |
{- "app_id": "string",
- "key": "string",
- "value": "string"
}
{- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
entitlements | Array of strings |
shouldContractHaveAllEntitlements | boolean |
shouldConsiderDeletedContracts | boolean |
lastKey | string |
lastKeyComplement | integer |
{- "contracts": [
- {
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "quota": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
], - "plan_name": "string"
}
], - "lastKey": {
- "id": "string",
- "start": 0
}
}
{- "name": "Name",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "type": "VEHICLE",
- "id": "002f4753-5c5b-5dbd-8ed6-f0a83f86090d",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
], - "label": "TRUCK",
- "licensing_number": "string",
- "unit_id": "string",
- "serial_number": "string",
- "notes": "string",
- "current_status": "OWNER",
- "current_status_date": "2019-10-02T15:00:00Z",
- "model": "string",
- "year": 2021,
- "manufacturer": "string"
}
Update Equipment
id required | string |
client-id | string |
id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
org_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
name | string |
property_ids | Array of objects <uuid> (UUID Canonical textual representation) |
object (BasicExtendedAttribute) | |
label | string Enum: "EARTH_MOVING" "FORAGE_AND_HAY" "HARVESTING" "PLANTER" "SPRAYER" "TILLAGE" "TRACTOR" "TRAILER" "TRUCK" "GENERICAL_VEHICLE" "IRRIGATION" "MANURE" "MISC" "FERTILIZER" "SHOP" |
licensing_number | string |
unit_id | string |
serial_number | string |
notes | string |
current_status | string Enum: "OWNER" "CONTRACTED" "LEASED" "SOLD" "JUNKED" "CONTRACT_TERMINATED" "LEASE_TERMINATED" |
current_status_date | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
model | string |
year | integer |
manufacturer | string |
type | string Enum: "IMPLEMENT" "VEHICLE" |
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "name": "string",
- "property_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "json_extended_attributes": {
- "name": "string"
}, - "label": "EARTH_MOVING",
- "licensing_number": "string",
- "unit_id": "string",
- "serial_number": "string",
- "notes": "string",
- "current_status": "OWNER",
- "current_status_date": "2019-10-02",
- "model": "string",
- "year": 0,
- "manufacturer": "string",
- "type": "IMPLEMENT"
}
{- "name": "Name",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "type": "VEHICLE",
- "id": "002f4753-5c5b-5dbd-8ed6-f0a83f86090d",
- "json_extended_attributes": {
- "name": "string"
}, - "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
], - "label": "TRUCK",
- "licensing_number": "string",
- "unit_id": "string",
- "serial_number": "string",
- "notes": "string",
- "current_status": "OWNER",
- "current_status_date": "2019-10-02T15:00:00Z",
- "model": "string",
- "year": 2021,
- "manufacturer": "string"
}
Get Equipments by its Ids. If an id does not exist, it does not return it.
include_deleted | boolean Return only non-deleted or both deleted and non-deleted organizations |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
type | string Enum: "VEHICLE" "IMPLEMENT" Equipment can be filtered by type. The type query can be VEHICLE or IMPLEMENT or empty (return both types) |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "name": "Name",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "type": "VEHICLE",
- "id": "002f4753-5c5b-5dbd-8ed6-f0a83f86090d",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
]
}, - {
- "name": "Other",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "type": "IMPLEMENT",
- "id": "010b7b54-e006-4afc-a843-436b909ce90d",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
]
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 2,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 2,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Creates equipments for organizations
client-id | string |
org_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
name | string |
property_ids | Array of objects <uuid> (UUID Canonical textual representation) |
object (BasicExtendedAttribute) | |
label | string Enum: "EARTH_MOVING" "FORAGE_AND_HAY" "HARVESTING" "PLANTER" "SPRAYER" "TILLAGE" "TRACTOR" "TRAILER" "TRUCK" "GENERICAL_VEHICLE" "IRRIGATION" "MANURE" "MISC" "FERTILIZER" "SHOP" |
licensing_number | string |
unit_id | string |
serial_number | string |
notes | string |
current_status | string Enum: "OWNER" "CONTRACTED" "LEASED" "SOLD" "JUNKED" "CONTRACT_TERMINATED" "LEASE_TERMINATED" |
current_status_date | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
model | string |
year | integer |
manufacturer | string |
type | string Enum: "IMPLEMENT" "VEHICLE" |
{- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "name": "string",
- "property_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "json_extended_attributes": {
- "name": "string"
}, - "label": "EARTH_MOVING",
- "licensing_number": "string",
- "unit_id": "string",
- "serial_number": "string",
- "notes": "string",
- "current_status": "OWNER",
- "current_status_date": "2019-10-02",
- "model": "string",
- "year": 0,
- "manufacturer": "string",
- "type": "IMPLEMENT"
}
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
], - "type": "VEHICLE",
- "name": "Equip Name",
- "label": "TRUCK",
- "json_extended_attributes": {
- "name": "string"
}, - "licensing_number": "string",
- "unit_id": "string",
- "serial_number": "string",
- "notes": "string",
- "current_status": "OWNER",
- "current_status_date": "2019-10-02T15:00:00Z",
- "model": "string",
- "year": 2021,
- "manufacturer": "string"
}
List Organization Equipments with ExtendedAttribute
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
name | string Equipments will be filtered by names containing the string in Equipment name |
type | string Equipment can be filtered by type. The type query can be VEHICLE or IMPLEMENT |
extra_attribute | string Filtered by multiple key-value pair "name":"some-name","type":"some-type" |
include_extended required | boolean Filtered extra-Attribute only if include_extended = true |
Accept-Language | string Names will be responded in the chosen language |
client-id | string |
{- "content": [
- {
- "json_extended_attributes": {
- "name": "equipment1"
}, - "name": "equipment91",
- "type": "VEHICLE",
- "org_id": "325ebba0-7931-46df-a6f6-d3aaf5a1ee9f",
- "property_ids": [
- "7a7e48c7-6e72-40db-baab-6a2a13a9e4a8"
], - "label": null,
- "id": "7ca58a94-89ed-452f-aa93-38fa06a9db51"
}, - {
- "json_extended_attributes": {
- "name": "equipment1",
- "type": "eqip"
}, - "name": "equipment89",
- "type": "IMPLEMENT",
- "org_id": "325ebba0-7931-46df-a6f6-d3aaf5a1ee9f",
- "property_ids": [
- "7a7e48c7-6e72-40db-baab-6a2a13a9e4a8"
], - "label": null,
- "id": "b9278c78-9dbf-4a55-b4ea-3f4b62056f03"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 2147483647,
- "page_number": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "last": true,
- "total_elements": 3,
- "size": 2147483647,
- "number": 0,
- "number_of_elements": 3,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "first": true,
- "empty": false
}
List Organization Equipments
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
name | string Equipments will be filtered by names containing the string in Equipment name |
type | string Equipment can be filtered by type. The type query can be VEHICLE or IMPLEMENT |
Accept-Language | string Names will be responded in the chosen language |
{- "content": [
- {
- "name": "Name",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "type": "VEHICLE",
- "id": "002f4753-5c5b-5dbd-8ed6-f0a83f86090d",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
]
}, - {
- "name": "Other",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "type": "IMPLEMENT",
- "id": "010b7b54-e006-4afc-a843-436b909ce90d",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
]
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 2,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 2,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Get Cycle's Season-fields
cycleId required | string Cycle ID. |
{- "content": [
- {
- "season_id": "d06e2de7-6b50-4dda-853e-ab7952def05f",
- "property_id": "dc2b45a4-3554-4c81-ab55-635d231c2810",
- "deleted": false,
- "varieties_ids": [
- "a55e72ad-5be9-41ed-832b-5d6f61c67cf2"
], - "planting_date": "2020-04-01T09:06:26.000+0000",
- "emergency_date": "2020-06-01T09:06:26.000+0000",
- "harvesting_date": "2020-07-31T09:06:26.000+0000",
- "start_date": "2020-04-01T09:06:26.000+0000",
- "end_date": "2020-07-31T09:06:26.000+0000",
- "id": "027f565b-77f8-49d2-82e9-5ed452e2cb85"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Get Current Season by Field Id
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
include_extended | boolean |
client-id | string |
{- "name": "Watermelon season 2020",
- "start_date": "2020-04-01T09:06:26.000+0000",
- "end_date": "2020-07-31T09:06:26.000+0000",
- "crop_id": "6d5203f7-2b5c-485e-a6f8-b080ef1cf1a9",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": true,
- "deleted": false,
- "json_extended_attributes": {
- "name": "string"
}, - "id": "d06e2de7-6b50-4dda-853e-ab7952def05f"
}
Delete a field's version. The request is executed asynchronously, so at the end of the request the process may not be completed.
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 UUID from field |
version_id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 UUID from field versioning |
Get the history of field by id
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 UUID from area |
include_deleted | boolean True to fetch deleted area |
since | string <date-time> (String with a date format) Example: since=2019-10-02 Date in format ISO "yyyy-MM-dd", Start date of area history |
until | string <date-time> (String with a date format) Example: until=2019-10-02 Date in format ISO "yyyy-MM-dd", End date of area history |
{- "current": {
- "name": "string",
- "parent_region_id": "def63655-2b82-4c75-b0b2-ccfb11be233e",
- "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",
- "calculated_area": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "declared_area": 0,
- "deleted_at": "2019-08-24T14:15:22Z",
- "event_date": "2019-08-24T14:15:22Z",
- "geometry": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tags": [
- "string"
], - "last_modified": "2019-08-24T14:15:22Z",
- "reference_point": "string",
- "version_id": "9e94c502-ca41-4342-a7f7-af96b444512c"
}, - "history": [
- {
- "name": "string",
- "parent_region_id": "def63655-2b82-4c75-b0b2-ccfb11be233e",
- "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",
- "calculated_area": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "declared_area": 0,
- "deleted_at": "2019-08-24T14:15:22Z",
- "event_date": "2019-08-24T14:15:22Z",
- "geometry": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tags": [
- "string"
], - "last_modified": "2019-08-24T14:15:22Z",
- "reference_point": "string",
- "version_id": "9e94c502-ca41-4342-a7f7-af96b444512c"
}
]
}
Get Seasons by Field Id
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "content": [
- {
- "created_at": "2020-09-28T01:46:15.000+0000",
- "updated_at": "2020-09-28T03:04:08.000+0000",
- "season_id": "a174fce8-ef67-495f-aa0b-3af06ef8985f",
- "property_id": "3275eda0-7f32-47f0-98dd-835a878f0257",
- "deleted": false,
- "varieties_ids": [
- "37942bf2-ccbd-4981-a2c8-6ffa2d84de0e"
], - "planting_date": "2020-09-01T04:00:00.000+0000",
- "harvesting_date": null,
- "emergency_date": "2020-09-06T04:00:00.000+0000",
- "start_date": "2020-09-01T04:00:00.000+0000",
- "end_date": "2021-08-31T04:00:00.000+0000",
- "id": "9d31a5e7-49e4-4d11-add6-04f732405038"
}, - {
- "created_at": "2020-09-11T21:01:17.000+0000",
- "updated_at": "2020-09-28T01:32:52.000+0000",
- "season_id": "0807528e-6b9e-4400-ae23-49cc301c8225",
- "property_id": "3275eda0-7f32-47f0-98dd-835a878f0257",
- "deleted": true,
- "varieties_ids": [
- "a38ef304-c0d5-45ef-8203-a4da68ffd6fc"
], - "planting_date": "2020-08-28T04:00:00.000+0000",
- "harvesting_date": null,
- "emergency_date": "2020-09-02T04:00:00.000+0000",
- "start_date": "2020-08-28T04:00:00.000+0000",
- "end_date": "2021-03-31T04:00:00.000+0000",
- "id": "9d31a5e7-49e4-4d11-add6-04f732405038"
}
], - "pageable": {
- "sort": {
- "unsorted": true,
- "sorted": false,
- "empty": true
}, - "offset": 0,
- "page_number": 0,
- "page_size": 2147483647,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 2,
- "last": true,
- "size": 2147483647,
- "number": 0,
- "first": true,
- "sort": {
- "unsorted": true,
- "sorted": false,
- "empty": true
}, - "number_of_elements": 2,
- "empty": false
}
Get the specified field by version
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
attributes | Array of strings Items Value: "geometry" Enable geometry in response |
reference_date | string <date-time> Example: reference_date=2021-01-30T08:30:00Z The reference date as ISO ("yyyy-mm-dd") |
{- "name": "Field Example",
- "property_id": "aab63ec2-4756-11ea-8d24-5e6d0beb7caa",
- "parent_region_id": "acfce85d-14ce-42d5-9685-cf260192550f",
- "json_extended_attributes": {
- "name": "string"
}, - "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -43.938330709934235,
- -19.93101503667817
], - [
- -43.93878936767578,
- -19.93277002901534
], - [
- -43.93769234418869,
- -19.933012095394105
], - [
- -43.937163949012756,
- -19.931247019541928
], - [
- -43.938330709934235,
- -19.93101503667817
]
]
]
}, - "declared_area": 8.1,
- "event_date": "2019-10-02T00:00:00.000Z",
- "id": "ba69208b-d8fa-4603-be43-aef2ebda9003"
}
Get the specified field by version
id required | object <uuid> (UUID Canonical textual representation) Recursive Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
attributes | Array of strings Items Value: "geometry" Enable geometry in response |
reference_date | string <date-time> Example: reference_date=2021-01-30T08:30:00Z The reference date as ISO ("yyyy-mm-dd") |
restore | boolean Restore or return the field by version |
{- "name": "Field Example",
- "property_id": "aab63ec2-4756-11ea-8d24-5e6d0beb7caa",
- "parent_region_id": "acfce85d-14ce-42d5-9685-cf260192550f",
- "json_extended_attributes": {
- "name": "string"
}, - "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -43.938330709934235,
- -19.93101503667817
], - [
- -43.93878936767578,
- -19.93277002901534
], - [
- -43.93769234418869,
- -19.933012095394105
], - [
- -43.937163949012756,
- -19.931247019541928
], - [
- -43.938330709934235,
- -19.93101503667817
]
]
]
}, - "declared_area": 8.1,
- "event_date": "2019-10-02T00:00:00.000Z",
- "id": "ba69208b-d8fa-4603-be43-aef2ebda9003"
}
Get the specified Field details.
id required | object <uuid> (UUID Canonical textual representation) Recursive Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
attributes | Array of strings Items Value: "geometry" Enable geometry in response |
reference_date | string <date-time> (String with a date format) Example: reference_date=2019-10-02 Filter on reference_date |
{- "name": "Field Example",
- "property_id": "aab63ec2-4756-11ea-8d24-5e6d0beb7caa",
- "parent_region_id": "acfce85d-14ce-42d5-9685-cf260192550f",
- "json_extended_attributes": {
- "name": "string"
}, - "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -43.938330709934235,
- -19.93101503667817
], - [
- -43.93878936767578,
- -19.93277002901534
], - [
- -43.93769234418869,
- -19.933012095394105
], - [
- -43.937163949012756,
- -19.931247019541928
], - [
- -43.938330709934235,
- -19.93101503667817
]
]
]
}, - "declared_area": 8.1,
- "event_date": "2019-10-02T00:00:00.000Z",
- "id": "ba69208b-d8fa-4603-be43-aef2ebda9003"
}
Edits an existing Field
with the specified id.
The event_date
param will define if the field will be edit or will create a new version.
The request is executed asynchronously, so at the end of the request the process may not be completed.
id required | object <uuid> (UUID Canonical textual representation) Recursive Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
client-id | string |
Details of the field to be updated.
id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
name required | string |
parent_region_id required | object <uuid> A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
property_id required | object <uuid> A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
declared_area required | number Area is always represented in Hectares |
calculated_area | number |
tags | Array of strings |
object (BasicExtendedAttribute) | |
event_date | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
{- "name": "Field Example",
- "property_id": "aab63ec2-4756-11ea-8d24-5e6d0beb7caa",
- "parent_region_id": "acfce85d-14ce-42d5-9685-cf260192550f",
- "json_extended_attributes": {
- "name": "string"
}, - "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -43.938330709934235,
- -19.93101503667817
], - [
- -43.93878936767578,
- -19.93277002901534
], - [
- -43.93769234418869,
- -19.933012095394105
], - [
- -43.937163949012756,
- -19.931247019541928
], - [
- -43.938330709934235,
- -19.93101503667817
]
]
]
}, - "declared_area": 8.1,
- "event_date": "2019-10-02T00:00:00.000Z",
- "id": "ba69208b-d8fa-4603-be43-aef2ebda9003"
}
{- "name": "Field Example",
- "property_id": "aab63ec2-4756-11ea-8d24-5e6d0beb7caa",
- "parent_region_id": "acfce85d-14ce-42d5-9685-cf260192550f",
- "json_extended_attributes": {
- "name": "string"
}, - "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -43.938330709934235,
- -19.93101503667817
], - [
- -43.93878936767578,
- -19.93277002901534
], - [
- -43.93769234418869,
- -19.933012095394105
], - [
- -43.937163949012756,
- -19.931247019541928
], - [
- -43.938330709934235,
- -19.93101503667817
]
]
]
}, - "declared_area": 8.1,
- "event_date": "2019-10-02T00:00:00.000Z",
- "id": "ba69208b-d8fa-4603-be43-aef2ebda9003"
}
Delete the specified Field
.
The request is executed asynchronously, so at the end of the request the process may not be completed.
id required | object <uuid> (UUID Canonical textual representation) Recursive Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
Get Fields by its Ids. If an id does not exist, it does not return it.
reference_date | string <date-time> (String with a date format) Example: reference_date=2019-10-02 Filter on reference_date |
attributes | Array of strings Items Value: "geometry" Enable geometry in response |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "name": "Field Example",
- "property_id": "aab63ec2-4756-11ea-8d24-5e6d0beb7caa",
- "parent_region_id": "acfce85d-14ce-42d5-9685-cf260192550f",
- "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -43.938330709934235,
- -19.93101503667817
], - [
- -43.93878936767578,
- -19.93277002901534
], - [
- -43.93769234418869,
- -19.933012095394105
], - [
- -43.937163949012756,
- -19.931247019541928
], - [
- -43.938330709934235,
- -19.93101503667817
]
]
]
}, - "declared_area": 8.1,
- "event_date": "2019-10-02T00:00:00.000Z",
- "id": "ba69208b-d8fa-4603-be43-aef2ebda9003"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
List the fields of a given Region.
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
parent_region_id required | object <uuid> (UUID Canonical textual representation) Example: parent_region_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
attributes | Array of strings Items Value: "geometry" Enable geometry in response |
tags | Array of strings Tags to filter |
reference_date | string <date-time> (String with a date format) Example: reference_date=2019-10-02 Filter on reference_date |
{- "content": [
- {
- "name": "Field Example",
- "property_id": "aab63ec2-4756-11ea-8d24-5e6d0beb7caa",
- "parent_region_id": "acfce85d-14ce-42d5-9685-cf260192550f",
- "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -43.938330709934235,
- -19.93101503667817
], - [
- -43.93878936767578,
- -19.93277002901534
], - [
- -43.93769234418869,
- -19.933012095394105
], - [
- -43.937163949012756,
- -19.931247019541928
], - [
- -43.938330709934235,
- -19.93101503667817
]
]
]
}, - "declared_area": 8.1,
- "event_date": "2019-10-02T00:00:00.000Z",
- "id": "ba69208b-d8fa-4603-be43-aef2ebda9003"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Create a Field
.
The request is executed asynchronously, so at the end of the request the process may not be completed.
client-id | string |
Details of the field to be created.
name required | string |
parent_region_id required | object <uuid> A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
property_id required | object <uuid> A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
declared_area required | number Area is always represented in Hectares |
calculated_area | number |
tags | Array of strings |
object (BasicExtendedAttribute) | |
event_date | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
{- "name": "Field Example",
- "property_id": "aab63ec2-4756-11ea-8d24-5e6d0beb7caa",
- "parent_region_id": "acfce85d-14ce-42d5-9685-cf260192550f",
- "json_extended_attributes": {
- "name": "string"
}, - "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -43.938330709934235,
- -19.93101503667817
], - [
- -43.93878936767578,
- -19.93277002901534
], - [
- -43.93769234418869,
- -19.933012095394105
], - [
- -43.937163949012756,
- -19.931247019541928
], - [
- -43.938330709934235,
- -19.93101503667817
]
]
]
}, - "declared_area": 8.1,
- "event_date": "2019-10-02T00:00:00.000Z"
}
{- "name": "Field Example",
- "property_id": "aab63ec2-4756-11ea-8d24-5e6d0beb7caa",
- "parent_region_id": "acfce85d-14ce-42d5-9685-cf260192550f",
- "json_extended_attributes": {
- "name": "string"
}, - "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -43.938330709934235,
- -19.93101503667817
], - [
- -43.93878936767578,
- -19.93277002901534
], - [
- -43.93769234418869,
- -19.933012095394105
], - [
- -43.937163949012756,
- -19.931247019541928
], - [
- -43.938330709934235,
- -19.93101503667817
]
]
]
}, - "declared_area": 8.1,
- "event_date": "2019-10-02T00:00:00.000Z",
- "id": "ba69208b-d8fa-4603-be43-aef2ebda9003"
}
Get the current season fields from a specifief property
property_id required | object <uuid> (UUID Canonical textual representation) Recursive Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
lastUpdateDate | string <date-time> (String with a date format) Example: lastUpdateDate=2019-10-02 The last updated date. It will find occurrences after or equals this date |
deleted required | boolean Indicates which operation should be applied. If true find only deleted registers else created/updated |
{- "content": [
- {
- "createdAt": "2020-07-04T18:38:33+0000",
- "updatedAt": "2020-07-04T18:38:33+0000",
- "seasonId": "c80f7206-10b6-4f45-9cd4-8259f098b1ae",
- "propertyId": "001fc02b-e702-42e7-9e02-f2dc1f4029a5",
- "deleted": false,
- "varietiesIds": [
- "4e764f38-5eda-42d8-860f-162ceaa32444"
], - "plantingDate": "2020-07-04T03:00:00+0000",
- "harvestingDate": null,
- "emergencyDate": "2020-07-09T03:00:00+0000",
- "startDate": "2020-07-04T03:00:00+0000",
- "endDate": "2020-08-03T03:00:00+0000",
- "id": "a8b025fe-cda3-497a-9178-e06cdc42ae00"
}, - {
- "createdAt": "2020-07-04T18:38:33+0000",
- "updatedAt": "2020-07-04T18:38:33+0000",
- "seasonId": "c80f7206-10b6-4f45-9cd4-8259f098b1ae",
- "propertyId": "001fc02b-e702-42e7-9e02-f2dc1f4029a5",
- "deleted": false,
- "varietiesIds": [
- "4e764f38-5eda-42d8-860f-162ceaa32444"
], - "plantingDate": "2020-07-04T03:00:00+0000",
- "harvestingDate": null,
- "emergencyDate": "2020-07-09T03:00:00+0000",
- "startDate": "2020-07-04T03:00:00+0000",
- "endDate": "2020-08-03T03:00:00+0000",
- "id": "628c75d8-cac8-481f-b043-27a6fff7a66a"
}, - {
- "createdAt": "2020-07-04T18:38:33+0000",
- "updatedAt": "2020-07-04T18:38:33+0000",
- "seasonId": "c80f7206-10b6-4f45-9cd4-8259f098b1ae",
- "propertyId": "001fc02b-e702-42e7-9e02-f2dc1f4029a5",
- "deleted": false,
- "varietiesIds": [
- "4e764f38-5eda-42d8-860f-162ceaa32444"
], - "plantingDate": "2020-07-04T03:00:00+0000",
- "harvestingDate": null,
- "emergencyDate": "2020-07-09T03:00:00+0000",
- "startDate": "2020-07-04T03:00:00+0000",
- "endDate": "2020-08-03T03:00:00+0000",
- "id": "64002ffb-ef98-4023-bc9e-37b8034ccc89"
}, - {
- "createdAt": "2020-07-04T18:38:33+0000",
- "updatedAt": "2020-07-04T18:38:33+0000",
- "seasonId": "c80f7206-10b6-4f45-9cd4-8259f098b1ae",
- "propertyId": "001fc02b-e702-42e7-9e02-f2dc1f4029a5",
- "deleted": false,
- "varietiesIds": [
- "4e764f38-5eda-42d8-860f-162ceaa32444"
], - "plantingDate": "2020-07-04T03:00:00+0000",
- "harvestingDate": "null,",
- "emergencyDate": "2020-07-09T03:00:00+0000",
- "startDate": "2020-07-04T03:00:00+0000",
- "endDate": "2020-08-03T03:00:00+0000",
- "id": "defb10ed-ca36-4d74-aa9a-f7c920126da7"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "pageSize": 2147483647,
- "pageNumber": 0,
- "unpaged": false,
- "paged": true
}, - "totalElements": 4,
- "totalPages": 1,
- "last": true,
- "sort": {
- "sorted": "false,",
- "unsorted": true,
- "empty": true
}, - "numberOfElements": 4,
- "first": true,
- "size": 2147483647,
- "number": 0,
- "empty": false
}
Get the Fields of an specified property and optionally the Geometry of each Field
property_id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
attributes | Array of strings Items Value: "geometry" Enable fields in response |
extra_attribute | string Filtered by multiple key-value pair "name":"some-name","type":"some-type" |
include_extended required | boolean Filtered extra-Attribute only if include_extended = true |
client-id | string |
{- "content": [
- {
- "json_extended_attributes": {
- "name": "field 1",
- "type": "field"
}, - "name": "New field2",
- "property_id": "ccb755fc-b9d0-428e-bdb5-87e4718a9420",
- "parent_region_id": "ed54067a-6b7a-4bcd-b4b9-cbdc788d571b",
- "declared_area": 2.06,
- "tags": [ ],
- "id": "a9552812-44dc-4368-8c12-47dea882be64"
}
], - "pageable": {
- "sort": {
- "unsorted": true,
- "sorted": false,
- "empty": true
}, - "offset": 0,
- "page_number": 0,
- "page_size": 2147483647,
- "paged": true,
- "unpaged": false
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "size": 2147483647,
- "number": 0,
- "sort": {
- "unsorted": true,
- "sorted": false,
- "empty": true
}, - "number_of_elements": 1,
- "first": true,
- "empty": false
}
A fields batch that can be created, updated or deleted. The request is executed asynchronously, so at the end of the request the process may not be completed.
property_id required | object <uuid> (UUID Canonical textual representation) Recursive Example: 42
|
attributes | Array of strings Items Value: "saved_fields" Optional parameter that informs that the saved fields must be returned |
version | string (Object version) Value: "v1" Version of the request object |
strict | boolean (Strict mode) If enabled, the request either succeeds completely or fails completely. If disabled, regions which can be changed will be changed, and the others will return an error, indicated individually by region in the response. |
relative_root | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
format required | string Value: "geojson" Currently supports only GeoJSON in with the property schema listed below. |
required | object (Region Collection) GeoJSON Feature collection |
{- "version": "v1",
- "strict": true,
- "relative_root": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "format": "geojson",
- "region_set": {
- "type": "FeatureCollection",
- "features": [
- {
- "type": "Feature",
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "geometry": {
- "type": "string"
}, - "properties": {
- "name": "string",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "operation": "create",
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "declared_area": 0,
- "max_cut_out": 0,
- "buffer_zone": 0
}, - "event_date": "2019-10-02",
- "name": "string",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "property_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "calculated_area": 0,
- "declared_area": 0,
- "reference_point": {
- "type": "string",
- "coordinates": [
- 0,
- 0
]
}, - "json_extended_attributes": {
- "name": "string"
}
}
]
}
}
{- "status": "FULLY_ACCEPTED",
- "errors": [ ]
}
property_id required | object <uuid> (UUID Canonical textual representation) Example: 42
|
since | string <date-time> (String with a date format) Example: since=2019-10-02 Start date of the desired time window (inclusive). |
until | string <date-time> (String with a date format) Example: until=2019-10-02 End date of the desired time window (exclusive). |
reference_date | string <date-time> (String with a date format) Example: reference_date=2019-10-02 Filter on reference_date |
{- "type": "FeatureCollection",
- "features": [
- {
- "type": "Feature",
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "geometry": {
- "type": "string"
}, - "properties": {
- "name": "string",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "operation": "create",
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "declared_area": 0,
- "max_cut_out": 0,
- "buffer_zone": 0
}, - "event_date": "2019-10-02",
- "name": "string",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "property_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "calculated_area": 0,
- "declared_area": 0,
- "reference_point": {
- "type": "string",
- "coordinates": [
- 0,
- 0
]
}, - "json_extended_attributes": {
- "name": "string"
}
}
]
}
property_id required | object <uuid> (UUID Canonical textual representation) Example: 42
|
since | string <date-time> (String with a date format) Example: since=2019-10-02 Start date of the desired time window (inclusive). |
until | string <date-time> (String with a date format) Example: until=2019-10-02 End date of the desired time window (exclusive). |
{- "type": "FeatureCollection",
- "features": [
- {
- "type": "Feature",
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "geometry": {
- "type": "string"
}, - "properties": {
- "name": "string",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "operation": "create",
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "declared_area": 0,
- "max_cut_out": 0,
- "buffer_zone": 0
}, - "event_date": "2019-10-02",
- "name": "string",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "property_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "calculated_area": 0,
- "declared_area": 0,
- "reference_point": {
- "type": "string",
- "coordinates": [
- 0,
- 0
]
}, - "json_extended_attributes": {
- "name": "string"
}
}
]
}
List the Season/Field relationship of the specified Season. It can be filtered using a query parameter to specify a Property.
season_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
property_id | string An UUID |
{- "content": [
- {
- "season_id": "d06e2de7-6b50-4dda-853e-ab7952def05f",
- "property_id": "dc2b45a4-3554-4c81-ab55-635d231c2810",
- "deleted": false,
- "varieties_ids": [
- "a55e72ad-5be9-41ed-832b-5d6f61c67cf2"
], - "planting_date": "2020-04-01T09:06:26.000+0000",
- "emergency_date": "2020-06-01T09:06:26.000+0000",
- "harvesting_date": "2020-07-31T09:06:26.000+0000",
- "start_date": "2020-04-01T09:06:26.000+0000",
- "end_date": "2020-07-31T09:06:26.000+0000",
- "id": "027f565b-77f8-49d2-82e9-5ed452e2cb85"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Associate/dissociate properties and/or fields to/from a Season.
season_id required | string |
required | Array of objects (A season-land operation) |
{- "updates": [
- {
- "operation": "create",
- "land": {
- "properties": [
- {
- "id": "76fb58fe-1a0e-4681-a5b6-8f8dab5431be"
}
], - "fields": [
- {
- "id": "fec847e9-2909-4548-a3ea-772c29a62787",
- "planting_date": "2019-10-02T15:00:00Z",
- "emergency_date": "2020-08-02T15:00:00Z",
- "harvesting_date": "2020-10-02T15:00:00Z",
- "start_date": "2019-10-02T15:00:00Z",
- "end_date": "2020-10-02T15:00:00Z",
- "varieties_ids": [
- "010b7b54-e006-4afc-a843-436b909ce90d"
]
}
]
}
}, - {
- "operation": "remove",
- "land": {
- "properties": [
- {
- "id": "08ac19fb-14c8-457e-893f-95e054cc98a3"
}
], - "fields": [
- {
- "id": "89c8e4e5-2230-4366-80a0-ef0bd8ec37c0"
}
]
}
}
]
}
List the Season/Field relationship for specifieds Seasons. It can be filtered by passing a property id. If none is passed, no season field is filtered.
include_deleted | boolean Return only non-deleted or both deleted and non-deleted organizations |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
{- "properties_by_season": [
- {
- "season_id": "77d056b9-06af-4db1-a177-2310cd1ba62e",
- "property_ids": [
- "77d056b9-06af-4db1-a177-2310cd1ba62e",
- "2b303caa-2dd9-49ae-addc-3b30a9c85a75",
- "c7bdc03d-2257-44a3-b2a2-62b8223e42f7",
- "85ed3cee-6a91-4b4b-b4b8-d285ab62e6b1",
- "1b656569-47fb-4da7-a350-8e601167eb2d"
]
}
]
}
{- "content": [
- {
- "season_id": "d06e2de7-6b50-4dda-853e-ab7952def05f",
- "property_id": "dc2b45a4-3554-4c81-ab55-635d231c2810",
- "deleted": false,
- "varieties_ids": [
- "a55e72ad-5be9-41ed-832b-5d6f61c67cf2"
], - "planting_date": "2020-04-01T09:06:26.000+0000",
- "emergency_date": "2020-06-01T09:06:26.000+0000",
- "harvesting_date": "2020-07-31T09:06:26.000+0000",
- "start_date": "2020-04-01T09:06:26.000+0000",
- "end_date": "2020-07-31T09:06:26.000+0000",
- "id": "027f565b-77f8-49d2-82e9-5ed452e2cb85"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Associate/dissociate properties and/or fields to/from each Season.
required | Array of objects (A season-land batch operation) |
{- "batch": [
- {
- "season_id": "b5f51a97-c2e4-427f-bced-c384cae3b161",
- "updates": [
- {
- "operation": "create",
- "land": {
- "properties": [
- {
- "id": "76fb58fe-1a0e-4681-a5b6-8f8dab5431be"
}
], - "fields": [
- {
- "id": "fec847e9-2909-4548-a3ea-772c29a62787",
- "planting_date": "2019-10-02T15:00:00Z",
- "emergency_date": "2020-08-02T15:00:00Z",
- "harvesting_date": "2020-10-02T15:00:00Z",
- "start_date": "2019-10-02T15:00:00Z",
- "end_date": "2020-10-02T15:00:00Z",
- "varieties_ids": [
- "010b7b54-e006-4afc-a843-436b909ce90d"
]
}
]
}
}, - {
- "operation": "remove",
- "land": {
- "properties": [
- {
- "id": "08ac19fb-14c8-457e-893f-95e054cc98a3"
}
], - "fields": [
- {
- "id": "89c8e4e5-2230-4366-80a0-ef0bd8ec37c0"
}
]
}
}
]
}
]
}
A fields batch that can be created, updated or deleted. The request is executed asynchronously, so at the end of the request the process may not be completed.
property_id required | object <uuid> (UUID Canonical textual representation) Example: 42
|
attributes | Array of strings Items Value: "saved_fields" Optional parameter that informs that the saved fields must be returned |
version | string (Object version) Value: "v1" Version of the request object |
strict | boolean (Strict mode) If enabled, the request either succeeds completely or fails completely. If disabled, regions which can be changed will be changed, and the others will return an error, indicated individually by region in the response. |
relative_root | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
format required | string Value: "geojson" Currently supports only GeoJSON in with the property schema listed below. |
required | object (Region Collection) GeoJSON Feature collection |
{- "version": "v1",
- "strict": true,
- "relative_root": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "format": "geojson",
- "region_set": {
- "type": "FeatureCollection",
- "features": [
- {
- "type": "Feature",
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "geometry": {
- "type": "string"
}, - "properties": {
- "name": "string",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "operation": "create",
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "declared_area": 0,
- "max_cut_out": 0,
- "buffer_zone": 0
}, - "event_date": "2019-10-02",
- "name": "string",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "property_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "calculated_area": 0,
- "declared_area": 0,
- "reference_point": {
- "type": "string",
- "coordinates": [
- 0,
- 0
]
}, - "json_extended_attributes": {
- "name": "string"
}
}
]
}
}
{- "status": "FULLY_ACCEPTED",
- "errors": [ ]
}
Get all legal documents
include_deleted | boolean Whether deleted legal documents will be included as well. Default is 'false' |
size | integer Number of legal documents to return |
last_key | string ID of the last legal document returned by the previous query |
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "location": "BR",
- "language": "en-US",
- "startDate": "2021-12-23T20:14:59.087Z",
- "endDate": "2021-12-24T20:14:59.087Z",
- "plan": "5883609f-c163-4e71-8baf-63965d452f0b",
- "app": "43524f50-5749-5345-4253-434149554249",
- "signedDocumentId": "21d658f0-19ec-4b1b-b08f-253786df1799",
- "userId": "f60c3544-e3f8-48a9-ac92-7114d95fb858",
- "typeRow": "terms_and_conditions"
}
]
}
Get a single legal document
legalDocumentId required | string Numeric ID of the legal document to get |
{- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "location": "BR",
- "language": "en-US",
- "startDate": "2021-12-23T20:14:59.087Z",
- "endDate": "2021-12-24T20:14:59.087Z",
- "plan": "5883609f-c163-4e71-8baf-63965d452f0b",
- "app": "43524f50-5749-5345-4253-434149554249",
- "signedDocumentId": "21d658f0-19ec-4b1b-b08f-253786df1799",
- "userId": "f60c3544-e3f8-48a9-ac92-7114d95fb858",
- "typeRow": "terms_and_conditions"
}
Update a legal document
legalDocumentId required | string Numeric ID of the legal document to update |
location | string |
startDate | string |
endDate | string |
language | string |
filePath | string |
plan | string |
app | string |
typeRow | string |
{- "location": "string",
- "startDate": "string",
- "endDate": "string",
- "language": "string",
- "filePath": "string",
- "plan": "string",
- "app": "string",
- "typeRow": "string"
}
{- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "location": "BR",
- "language": "en-US",
- "startDate": "2021-12-23T20:14:59.087Z",
- "endDate": "2021-12-24T20:14:59.087Z",
- "plan": "5883609f-c163-4e71-8baf-63965d452f0b",
- "app": "43524f50-5749-5345-4253-434149554249",
- "signedDocumentId": "21d658f0-19ec-4b1b-b08f-253786df1799",
- "userId": "f60c3544-e3f8-48a9-ac92-7114d95fb858",
- "typeRow": "terms_and_conditions"
}
Get all legal documents filtering by location
locationName required | string The name of the location (in an two-digit country code format) to filter the legal documents |
size | integer Number of legal documents to return |
last_key | string ID of the last legal document returned by the previous query |
include_deleted | boolean Whether deleted legal documents will be included as well. Default is 'false' |
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "location": "BR",
- "language": "en-US",
- "startDate": "2021-12-23T20:14:59.087Z",
- "endDate": "2021-12-24T20:14:59.087Z",
- "plan": "5883609f-c163-4e71-8baf-63965d452f0b",
- "app": "43524f50-5749-5345-4253-434149554249",
- "signedDocumentId": "21d658f0-19ec-4b1b-b08f-253786df1799",
- "userId": "f60c3544-e3f8-48a9-ac92-7114d95fb858",
- "typeRow": "terms_and_conditions"
}
]
}
Sign Legal Documents
legalDocumentId | string |
acceptedOn | string |
[- {
- "legalDocumentId": "string",
- "acceptedOn": "string"
}
]
[- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "location": "BR",
- "language": "en-US",
- "startDate": "2021-12-23T20:14:59.087Z",
- "endDate": "2021-12-24T20:14:59.087Z",
- "plan": "5883609f-c163-4e71-8baf-63965d452f0b",
- "app": "43524f50-5749-5345-4253-434149554249",
- "signedDocumentId": "21d658f0-19ec-4b1b-b08f-253786df1799",
- "userId": "f60c3544-e3f8-48a9-ac92-7114d95fb858",
- "typeRow": "terms_and_conditions"
}
]
Get all unsigned legal documents of the current user
location | string Fetch terms and conditions, as well as privacy notice, of this two letter country code field |
{- "ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
]
}
Creates a new Legal Document
location required | string |
startDate required | string |
endDate required | string |
language required | string |
filePath required | string |
plan | string |
app | string |
typeRow required | string |
{- "location": "string",
- "startDate": "string",
- "endDate": "string",
- "language": "string",
- "filePath": "string",
- "plan": "string",
- "app": "string",
- "typeRow": "string"
}
{- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "location": "BR",
- "language": "en-US",
- "startDate": "2021-12-23T20:14:59.087Z",
- "endDate": "2021-12-24T20:14:59.087Z",
- "plan": "5883609f-c163-4e71-8baf-63965d452f0b",
- "app": "43524f50-5749-5345-4253-434149554249",
- "signedDocumentId": "21d658f0-19ec-4b1b-b08f-253786df1799",
- "userId": "f60c3544-e3f8-48a9-ac92-7114d95fb858",
- "typeRow": "terms_and_conditions"
}
Get all signatures of legal documents for the current user
include_deleted | boolean Whether deleted signatures will be included as well. Default is 'false' |
[- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "location": "BR",
- "language": "en-US",
- "startDate": "2021-12-23T20:14:59.087Z",
- "endDate": "2021-12-24T20:14:59.087Z",
- "plan": "5883609f-c163-4e71-8baf-63965d452f0b",
- "app": "43524f50-5749-5345-4253-434149554249",
- "signedDocumentId": "21d658f0-19ec-4b1b-b08f-253786df1799",
- "userId": "f60c3544-e3f8-48a9-ac92-7114d95fb858",
- "typeRow": "terms_and_conditions"
}
]
The licensing status returned is grouped by app. Often, the "apps" list will just include one object, which is the calling app. In specific cases (like inter-app integrations), other apps may be configured to share their licensing information with other applications. In this case, you will see this information too if you request it (see "apps" parameter). Querystring parameters:
org
: ID of the Organization to be checked. Mutually exclusive with account
.account
: ID of the workspace (not the User). Mutually exclusive with org. Either org
or account
must be present.apps
:me
(default): just the calling appall
: the calling app, plus all the apps that have agreed to share licensing information with the calling app (if any). This sharing MAY be partial (for example, entitlements are shared but quotas are not).fields
:entitlements
all
: add all available fieldsentitlements
: add entitlementsquotas
: add quotas and their usagesmeta
: add all metadata (Accounts and Contracts). Clients can set up to 1KB of metadata for each Contract or Account to make it easier to store free-form external info for human consumption or system integrations.meta(account)
: add only Account metadatameta(contract)
: add only Contract metadatanotes
: add contract notes to the responseorg | string Id of the organization |
account | string Id of the workspace |
apps | string Enum: "me" "all" Which apps should have their licensing info included in the response. |
fields | any Which apps should have their licensing info included in the response |
include_deleted_contracts | string Sets if the response will return the deleted contracts or not |
{- "account": {
- "id": "string",
- "name": "string"
}, - "apps": [
- {
- "contract": {
- "end": "2019-08-24T14:15:22Z",
- "id": "string",
- "notes": "string",
- "start": "2019-08-24T14:15:22Z",
- "waiting_for_payment": 0
}, - "id": "string",
- "plan": {
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
]
}, - "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0
}
]
}
], - "org": {
- "id": "string",
- "name": "string"
}
}
List Organization Equipments with ExtendedAttribute
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
name | string Equipments will be filtered by names containing the string in Equipment name |
type | string Equipment can be filtered by type. The type query can be VEHICLE or IMPLEMENT |
extra_attribute | string Filtered by multiple key-value pair "name":"some-name","type":"some-type" |
include_extended required | boolean Filtered extra-Attribute only if include_extended = true |
Accept-Language | string Names will be responded in the chosen language |
client-id | string |
{- "content": [
- {
- "json_extended_attributes": {
- "name": "equipment1"
}, - "name": "equipment91",
- "type": "VEHICLE",
- "org_id": "325ebba0-7931-46df-a6f6-d3aaf5a1ee9f",
- "property_ids": [
- "7a7e48c7-6e72-40db-baab-6a2a13a9e4a8"
], - "label": null,
- "id": "7ca58a94-89ed-452f-aa93-38fa06a9db51"
}, - {
- "json_extended_attributes": {
- "name": "equipment1",
- "type": "eqip"
}, - "name": "equipment89",
- "type": "IMPLEMENT",
- "org_id": "325ebba0-7931-46df-a6f6-d3aaf5a1ee9f",
- "property_ids": [
- "7a7e48c7-6e72-40db-baab-6a2a13a9e4a8"
], - "label": null,
- "id": "b9278c78-9dbf-4a55-b4ea-3f4b62056f03"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 2147483647,
- "page_number": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "last": true,
- "total_elements": 3,
- "size": 2147483647,
- "number": 0,
- "number_of_elements": 3,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "first": true,
- "empty": false
}
Gets all properties of an Organization
and optionally the total area of each property.
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
attributes | Array of strings Items Value: "total_area" Optional area sum for property |
extra_attribute | string Filtered by multiple key-value pair "name":"some-name","type":"some-type" |
include_extended required | boolean Filtered extra-Attribute only if include_extended = true |
client-id | string |
{- "content": [
- {
- "json_extended_attributes": {
- "name": "property9"
}, - "org_id": "325ebba0-7931-46df-a6f6-d3aaf5a1ee9f",
- "root_region_id": "bb4c1c2a-9e7f-448e-90d6-815d02c8683d",
- "name": "Property13",
- "time_zone": "Asia/Kolkata",
- "country": "IN",
- "state": "MH",
- "city": "Kongaon",
- "address": "421302, Kalyan - Bhiwandi Rd",
- "zip_code": "421302",
- "place_id": null,
- "fields_updated_at": "2021-05-07T10:24:53.000+0000",
- "reference_point": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "deleted": false,
- "regulatory_zone": "IN",
- "id": "7a7e48c7-6e72-40db-baab-6a2a13a9e4a8"
}, - {
- "json_extended_attributes": {
- "name": "property9",
- "type": "property"
}, - "org_id": "325ebba0-7931-46df-a6f6-d3aaf5a1ee9f",
- "root_region_id": "ed54067a-6b7a-4bcd-b4b9-cbdc788d571b",
- "name": "Property14",
- "time_zone": "Asia/Kolkata",
- "country": "India",
- "state": "MH",
- "city": "Kongaon",
- "address": "421302, Kalyan - Bhiwandi Rd",
- "zip_code": "421302",
- "place_id": null,
- "fields_updated_at": "2021-05-09T08:08:37.000+0000",
- "reference_point": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "deleted": false,
- "regulatory_zone": "IN",
- "id": "ccb755fc-b9d0-428e-bdb5-87e4718a9420"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 2147483647,
- "page_number": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "last": true,
- "total_elements": 2,
- "size": 2147483647,
- "number": 0,
- "number_of_elements": 2,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "first": true,
- "empty": false
}
Gets all seasons of an Organization with ExtendedAttribute
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
include_extended | boolean |
extra_attribute | string Filtered by multiple key-value pair "name":"some-name","type":"some-type" |
client-id | string |
{- "content": [
- {
- "name": "Wheat season 2020",
- "start_date": "2019-12-01T08:24:28.000+0000",
- "end_date": "2020-05-31T08:24:28.000+0000",
- "crop_id": "5ae35c1e-35f1-4c67-ba05-997c5191759f",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": false,
- "deleted": false,
- "json_extended_attributes": {
- "name": "season1"
}, - "id": "6dba7432-fc66-4659-b4af-91e8a8ab021a"
}, - {
- "name": "Watermelon season 2020",
- "start_date": "2020-04-01T09:06:26.000+0000",
- "end_date": "2020-07-31T09:06:26.000+0000",
- "crop_id": "6d5203f7-2b5c-485e-a6f8-b080ef1cf1a9",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": true,
- "deleted": false,
- "json_extended_attributes": {
- "name": "season1"
}, - "id": "d06e2de7-6b50-4dda-853e-ab7952def05f"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 2,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 2,
- "size": 2000,
- "number": 0,
- "empty": false
}
List Organization Tasks
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
season_id | object <uuid> (UUID Canonical textual representation) Example: season_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 Tasks will be filtered by season_id |
since | string <date-time> (String with a date format) Example: since=2019-10-02 Tasks will be filtered by start date |
until | string <date-time> (String with a date format) Example: until=2019-10-02 Tasks will be filtered by end date |
property_id | object <uuid> (UUID Canonical textual representation) Example: property_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
deleted | boolean Tasks will be filtered by deletion status |
include_extended required | boolean Filtered extra-Attribute only if include_extended = true |
extra_attribute | string Filtered by multiple key-value pair "name":"some-name","type":"some-type" |
{- "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "property_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "season_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "description": "string",
- "duration": 0,
- "external_id": 0,
- "start_date": "2019-10-02",
- "end_date": "2019-10-02",
- "status_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "category_resources": {
- "category_type_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "field_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "product_usages": [
- {
- "product_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "warehouse_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "unit": "string",
- "dose": 0,
- "amount": 0,
- "withdraw": 0
}
], - "equipment_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "workers_roles": [
- {
- "worker_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "worker_role": "RESPONSIBLE"
}
], - "season_field_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
]
}, - "json_extended_attributes": {
- "name": "string"
}, - "tags": [
- "string"
], - "comments": [
- {
- "comment": "string"
}
], - "progress_drilldown": [
- {
- "start_date": "2019-10-02",
- "end_date": "2019-10-02",
- "progress_amount": 0
}
]
}
], - "empty": true,
- "first": true,
- "last": true,
- "number": 0,
- "number_of_elements": 0,
- "size": 0,
- "total_elements": 0,
- "total_pages": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "page": 0,
- "size": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}
}
}
List Organization Workers
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
name | string Workers will be filtered by names containing the string in Worker name |
extra_attribute | string Filtered by multiple key-value pair "name":"some-name","type":"some-type" |
include_extended required | boolean Filtered extra-Attribute only if include_extended = true |
Accept-Language | string Names will be responded in the chosen language |
client-id | string |
{- "content": [
- {
- "json_extended_attributes": {
- "name": "worker 1",
- "type": "worker"
}, - "name": "worker3",
- "org_id": "325ebba0-7931-46df-a6f6-d3aaf5a1ee9f",
- "property_ids": [
- "ccb755fc-b9d0-428e-bdb5-87e4718a9420"
], - "id": "8a1dfcbb-ae79-46f4-bca9-6129a8cc8d9b"
}, - {
- "json_extended_attributes": {
- "name": "worker 1"
}, - "name": "worker2",
- "org_id": "325ebba0-7931-46df-a6f6-d3aaf5a1ee9f",
- "property_ids": [
- "ccb755fc-b9d0-428e-bdb5-87e4718a9420"
], - "id": "9bb44f98-0010-417d-afa4-3cf3d850af5b"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 2147483647,
- "page_number": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "last": true,
- "total_elements": 2,
- "size": 2147483647,
- "number": 0,
- "number_of_elements": 2,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "first": true,
- "empty": false
}
Gets all Organizations that are allowed to the authenticated Account.
workspaces | Array of strings Filter results by workspaces. |
licensing_accounts | Array of strings Filter results by workspaces. |
name | string Filter results by name. |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
extra_attribute | string Filtered by multiple key-value pair "name":"some-name","type":"some-type" |
include_extended required | boolean Filtered extra-Attribute only if include_extended = true |
client-id | string |
{- "content": [
- {
- "json_extended_attributes": {
- "name": "syn org",
- "type": "org"
}, - "name": "Syngenta Org 2",
- "address": "Inconfidentes St, 911",
- "city": "Belo Horizonte",
- "state": "Minas Gerais",
- "country": "BR",
- "zip_code": "33000-999",
- "place_id": "ChIJrTLr-GyuEmsRBfy61i59si0",
- "currency": "EUR",
- "unit_system": "METRIC",
- "phone": "+5531911112222",
- "email": "thorvetejal@gmail.com",
- "employer_identification_number": null,
- "deleted": false,
- "reference_point": null,
- "id": "1b06c6e4-7a7c-4c54-bc21-9711b8198cef"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_number": 0,
- "page_size": 2147483647,
- "paged": true,
- "unpaged": false
}, - "total_elements": 1,
- "total_pages": 1,
- "last": true,
- "size": 2147483647,
- "number": 0,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "first": true,
- "empty": false
}
org_id required | string |
exclude_attributes | string List of attributes to be excluded, must be separated by comma |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
{- "$ref": "#/components/examples/PagedAccount"
}
Get All Apps
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
parent_region_id required | object <uuid> (UUID Canonical textual representation) Recursive Example: parent_region_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
attributes | Array of strings Items Value: "geometry" Enable geometry in response |
{- "content": [
- {
- "id": "f0d59ad7-b2c2-490a-965c-2899fc09c44b",
- "org_id": "f0d59ad7-b2c2-490a-965c-2899fc09c44b",
- "name": "Basic App Name",
- "short_description": "Short description goes here",
- "detailed_description": "Detailed description goes here",
- "published": true,
- "fallback_details_language": "en",
- "details_review_status": "PENDING"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Gets all cycles of an Organization
orgId required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
{- "content": [
- {
- "created_at": "2023-02-07T12:27:01.893+0000",
- "updated_at": "2023-02-07T12:27:01.893+0000",
- "org_id": "86d72961-803a-4505-94e2-c9e39fe14380",
- "name": "CycleDTO Example",
- "start_at": "2022-02-28T15:26:02.135+0000",
- "end_at": "2030-02-28T15:26:02.135+0000",
- "deleted": false,
- "id": "e55a7708-e42b-442d-9aea-cad5de550629"
}, - {
- "created_at": "2023-02-07T12:27:01.893+0000",
- "updated_at": "2023-02-07T12:27:01.893+0000",
- "org_id": "86d72961-803a-4505-94e2-c9e39fe14380",
- "name": "CycleDTO Example 2",
- "start_at": "2022-02-28T15:26:02.135+0000",
- "end_at": "2030-02-28T15:26:02.135+0000",
- "deleted": true,
- "id": "e55a7708-e42b-442d-9aea-cad5de550620"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 2,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 2,
- "size": 2000,
- "number": 0,
- "empty": false
}
List Organization Equipments
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
name | string Equipments will be filtered by names containing the string in Equipment name |
type | string Equipment can be filtered by type. The type query can be VEHICLE or IMPLEMENT |
Accept-Language | string Names will be responded in the chosen language |
{- "content": [
- {
- "name": "Name",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "type": "VEHICLE",
- "id": "002f4753-5c5b-5dbd-8ed6-f0a83f86090d",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
]
}, - {
- "name": "Other",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "type": "IMPLEMENT",
- "id": "010b7b54-e006-4afc-a843-436b909ce90d",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
]
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 2,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 2,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Gets all invites status of an Organization
.
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
status_list | string A comma seperated list of status to be returned in response. |
{- "$ref": "#/components/examples/PagedInviteStatus"
}
Uploads Organization main photo.
org_id required | string |
Multipart Form including the picture file
file | string <binary> |
{- "avatar_url": "https://base-strix-assets-dev.s3.amazonaws.com/org/a36eb6ab-0fb5-41fe-9a37-36c463e224bc "
}
Gets all properties of an Organization
and optionally the total area of each property.
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
include_inactive | boolean Requested deleted properties. Default is false. |
name | string Filter properties by name. Default is null |
attributes | Array of strings Items Value: "total_area" Optional area sum for property |
{- "content": [
- {
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "root_region_id": "ad23de56-0312-4a6c-b576-27a16ee8cc2d",
- "name": "User's Farm",
- "time_zone": "Asia/Kolkata",
- "country": null,
- "state": null,
- "city": null,
- "address": null,
- "zip_code": null,
- "place_id": null,
- "reference_point": {
- "type": "Point",
- "coordinates": [
- 20.9235175,
- 77.7673384
]
}, - "deleted": false,
- "id": "dc2b45a4-3554-4c81-ab55-635d231c2810"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Gets all seasons of an Organization
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
include_extended | boolean |
client-id | string |
{- "content": [
- {
- "name": "Wheat season 2020",
- "start_date": "2019-12-01T08:24:28.000+0000",
- "end_date": "2020-05-31T08:24:28.000+0000",
- "crop_id": "5ae35c1e-35f1-4c67-ba05-997c5191759f",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": false,
- "deleted": false,
- "json_extended_attributes": {
- "name": "string"
}, - "id": "6dba7432-fc66-4659-b4af-91e8a8ab021a"
}, - {
- "name": "Watermelon season 2020",
- "start_date": "2020-04-01T09:06:26.000+0000",
- "end_date": "2020-07-31T09:06:26.000+0000",
- "crop_id": "6d5203f7-2b5c-485e-a6f8-b080ef1cf1a9",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": true,
- "deleted": false,
- "json_extended_attributes": {
- "name": "string"
}, - "id": "d06e2de7-6b50-4dda-853e-ab7952def05f"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 2,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 2,
- "size": 2000,
- "number": 0,
- "empty": false
}
List Organization Products
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
filters | string A boolean filter kind of logical expression to filter data |
show_canonicals | boolean Shows the canonical products in the response |
location | string Filter by location |
Accept-Language | string Names will be responded in the chosen language |
{- "content": [
- {
- "org_id": "06a34cd3-9e09-7b8d-8a7d-112ac07776a3",
- "name": "Update Product Name",
- "id": "06a36cd3-9e09-4b8d-8a7d-112ac07776a3",
- "manufacturer": "Manufacturer Name",
- "unit_of_measurement": "KILOGRAMS",
- "type": "VARIETY"
}, - {
- "org_id": "06a34cd3-9e09-7b8d-8a7d-112ac07776a3",
- "name": "Update Product Name",
- "id": "06a36cd3-9e09-4b8d-8a7d-112ac07776a3",
- "manufacturer": "Manufacturer Name",
- "unit_of_measurement": "KILOGRAMS",
- "type": "VARIETY"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 2,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 2,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Get the tasks of a specified organization
org_id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
List of Task for an Organization
property_ids | Array of objects <uuid> (UUID Canonical textual representation) |
season_ids | Array of objects <uuid> (UUID Canonical textual representation) |
field_ids | Array of objects <uuid> (UUID Canonical textual representation) |
region_ids | Array of objects <uuid> (UUID Canonical textual representation) |
season_field_ids | Array of objects <uuid> (UUID Canonical textual representation) |
status_ids | Array of objects <uuid> (UUID Canonical textual representation) |
tags | Array of strings |
{- "property_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "fields_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
]
}
{- "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "description": "string",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "start_date": "2019-10-02",
- "due_date": "2019-10-02",
- "status": {
- "name": "string",
- "status_type_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}, - "progress_drilldown": {
- "type": "LOG_DRILLDOWN",
- "progress_logs": [
- {
- "start_date": "2019-10-02",
- "end_date": "2019-10-02",
- "progress_amount": 100
}
]
}, - "rank": "string",
- "category_resources": {
- "category_type_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "field_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "property_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "product_usages": [
- {
- "product_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "warehouse_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "unit": "string",
- "dose": 1,
- "amount": 100,
- "withdraw": 150
}
], - "equipment_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
]
}, - "completeness_calculation_method": "SUM_PROGRESSES"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
season_id | object <uuid> (UUID Canonical textual representation) Example: season_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 Tasks will be filtered by season_id |
since | string <date-time> (String with a date format) Example: since=2019-10-02 Tasks will be filtered by start date |
until | string <date-time> (String with a date format) Example: until=2019-10-02 Tasks will be filtered by end date |
property_id | object <uuid> (UUID Canonical textual representation) Example: property_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
deleted | boolean Tasks will be filtered by deletion status |
{- "content": [
- {
- "id": "18c61154-6710-46bc-a661-cb95e72f0f1e",
- "description": "task 1",
- "org_id": "32eab319-b391-4ff3-9cf6-deba9f5868e1",
- "property_ids": [
- "da11b20c-c1ed-4d30-9580-9198e566595a"
], - "season_ids": [
- "f46d3641-8ea0-4354-ad0f-7231c0d45212"
], - "start_date": "2019-10-02",
- "due_date": "2019-10-02",
- "status": {
- "name": "string",
- "status_type_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}, - "progress_drilldown": {
- "type": "LOG_DRILLDOWN",
- "progress_logs": [
- {
- "start_date": "2019-10-02",
- "end_date": "2019-10-02",
- "progress_amount": 100
}
]
}, - "rank": "string",
- "category_resources": {
- "category_type_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "field_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "property_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "product_usages": [
- {
- "product_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "warehouse_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "unit": "string",
- "dose": 1,
- "amount": 100,
- "withdraw": 150
}
], - "equipment_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
]
}, - "completeness_calculation_method": "SUM_PROGRESSES"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
List Organization Workers
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
name | string Workers will be filtered by names containing the string in Worker name |
Accept-Language | string Names will be responded in the chosen language |
{- "content": [
- {
- "name": "Worker Name",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "id": "002f4753-5c5b-5dbd-8ed6-f0a83f86090d",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
], - "note": "string",
- "address": "string",
- "type": "EMPLOYEE",
- "applicator_licensing_number": "string",
- "license_valid_through": "2020-04-01T09:06:26.000+0000"
}, - {
- "name": "Other Worker",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "id": "010b7b54-e006-4afc-a843-436b909ce90d",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
], - "note": "string",
- "address": "string",
- "type": "EXTERNAL_COMPANY",
- "phone": "string",
- "email": "string"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 2,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 2,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Gets the specified Organization details.
org_id required | string |
attributes | Array of strings Items Value: "total_area" Optional area sum for property |
{- "name": "User's Organization",
- "address": null,
- "city": null,
- "state": null,
- "country": "BR",
- "zip_code": null,
- "place_id": null,
- "currency": "USD",
- "unit_system": "METRIC",
- "phone": "+91 98765-4321",
- "email": "user@email.com",
- "employer_identification_number": null,
- "deleted": false,
- "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}
Edits an existing Organization
with the specified id.
org_id required | string |
client-id | string |
Details of the Organization to be updated.
id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
name required | string |
address | string |
city | string |
state | string |
country required | string Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "BL" "BM" "BN" "BO" "BQ" "BQ" "BR" "BS" "BT" "BV" "BW" "BY" "BZ" "CA" "CC" "CD" "CF" "CG" "CH" "CI" "CK" "CL" "CM" "CN" "CO" "CR" "CU" "CV" "CW" "CX" "CY" "CZ" "DE" "DJ" "DK" "DM" "DO" "DZ" "EC" "EE" "EG" "EH" "ER" "ES" "ET" "FI" "FJ" "FK" "FM" "FO" "FR" "GA" "GB" "GD" "GE" "GF" "GG" "GH" "GI" "GL" "GM" "GN" "GP" "GQ" "GR" "GS" "GT" "GU" "GW" "GY" "HK" "HM" "HN" "HR" "HT" "HU" "ID" "IE" "IL" "IM" "IN" "IO" "IQ" "IR" "IS" "IT" "JE" "JM" "JO" "JP" "KE" "KG" "KH" "KI" "KM" "KN" "KP" "KR" "KW" "KY" "KZ" "LA" "LB" "LC" "LI" "LK" "LR" "LS" "LT" "LU" "LV" "LY" "MA" "MC" "MD" "ME" "MF" "MG" "MH" "MK" "ML" "MM" "MN" "MO" "MP" "MQ" "MR" "MS" "MT" "MU" "MV" "MW" "MX" "MY" "MZ" "NA" "NC" "NE" "NF" "NG" "NI" "NL" "NO" "NP" "NR" "NU" "NZ" "OM" "PA" "PE" "PF" "PG" "PH" "PK" "PL" "PM" "PN" "PR" "PS" "PT" "PW" "PY" "QA" "RE" "RO" "RS" "RU" "RW" "SA" "SB" "SC" "SD" "SE" "SG" "SH" "SI" "SJ" "SK" "SL" "SM" "SN" "SO" "SR" "SS" "ST" "SV" "SX" "SY" "SZ" "TC" "TD" "TF" "TG" "TH" "TJ" "TK" "TL" "TM" "TN" "TO" "TR" "TT" "TV" "TW" "IS" "TZ" "UA" "UG" "UM" "US" "UY" "UZ" "VA" "VC" "VE" "VG" "VI" "VN" "VU" "WF" "WS" "YE" "YT" "ZA" "ZM" "ZW" ISO-3166 Reference to Country Codes 3166-1 alpha-2 |
zip_code | string |
place_id | string |
phone | string (Phone Number) E.164 international phone number formatting |
string <email> | |
employer_identification_number | string |
currency required | string Enum: "AED" "AFN" "ALL" "AMD" "ANG" "AOA" "ARS" "AUD" "AWG" "AZN" "BAM" "BBD" "BDT" "BGN" "BHD" "BIF" "BMD" "BND" "BOB" "BOV" "BRL" "BSD" "BTN" "BWP" "BYN" "BZD" "CAD" "CDF" "CHE" "CHF" "CHW" "CLF" "CLP" "CNY" "COP" "COU" "CRC" "CUC" "CUP" "CVE" "CZK" "DJF" "DKK" "DOP" "DZD" "EGP" "ERN" "ETB" "EUR" "FJD" "FKP" "GBP" "GEL" "GHS" "GIP" "GMD" "GNF" "GTQ" "GYD" "HKD" "HNL" "HRK" "HTG" "HUF" "IDR" "ILS" "INR" "IQD" "IRR" "ISK" "JMD" "JOD" "JPY" "KES" "KGS" "KHR" "KMF" "KPW" "KRW" "KWD" "KYD" "KZT" "LAK" "LBP" "LKR" "LRD" "LSL" "LYD" "MAD" "MDL" "MGA" "MKD" "MMK" "MNT" "MOP" "MRU" "MUR" "MVR" "MWK" "MXN" "MXV" "MYR" "MZN" "NAD" "NGN" "NIO" "NOK" "NPR" "NZD" "OMR" "PAB" "PEN" "PGK" "PHP" "PKR" "PLN" "PYG" "QAR" "RON" "RSD" "RUB" "RWF" "SAR" "SBD" "SCR" "SDG" "SEK" "SGD" "SHP" "SLL" "SOS" "SRD" "SSP" "STN" "SVC" "SYP" "SZL" "THB" "TJS" "TMT" "TND" "TOP" "TRY" "TTD" "TWD" "TZS" "UAH" "UGX" "USD" "USN" "UYI" "UYU" "UYW" "UZS" "VES" "VND" "VUV" "WST" "XAF" "XAG" "XAU" "XBA" "XBB" "XBC" "XBD" "XCD" "XDR" "XOF" "XPD" "XPF" "XPT" "XSU" "XTS" "XUA" "XXX" "YER" "ZAR" "ZMW" "ZWL" |
unit_system required | string Enum: "METRIC" "IMPERIAL" |
deleted | boolean |
picture_url | string <uri> |
object (BasicExtendedAttribute) | |
licensing_account_id | object <uuid> (UUID Canonical textual representation) Recursive A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
workspace_id required | object <uuid> (UUID Canonical textual representation) Recursive A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "id": "34550190-7d4f-4a03-91ec-4f5568e50029",
- "name": "Test user's Company",
- "address": "Inconfidentes St, 911",
- "city": "Belo Horizonte",
- "state": "Minas Gerais",
- "country": "BR",
- "zip_code": "33000-999",
- "place_id": "ChIJrTLr-GyuEmsRBfy61i59si0",
- "currency": "USD",
- "unit_system": "METRIC",
- "phone": "+5531911112222",
- "json_extended_attributes": {
- "name": "string"
}
}
{- "name": "Dummy's Organization",
- "address": null,
- "city": null,
- "state": null,
- "country": "IN",
- "zip_code": null,
- "place_id": null,
- "currency": "USD",
- "unit_system": "METRIC",
- "phone": "+91 97686-6211",
- "email": "dummy@dum.com",
- "employer_identification_number": null,
- "json_extended_attributes": {
- "name": "string"
}, - "deleted": false,
- "id": "a36eb6ab-0fb5-41fe-9a37-36c463e224bc"
}
Get Accounts by its org's Ids. If an id does not exist, it does not return it.
include_deleted | boolean Return only non-deleted or both deleted and non-deleted accounts |
exclude_attributes | string List of attributes to be excluded |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "name": "Akash",
- "authorities": [
- {
- "context": "ORGANIZATION",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "TEMPLATES"
}, - {
- "scope": "READ",
- "name": "FARMSHOTS"
}, - {
- "scope": "WRITE",
- "name": "VENDORS"
}, - {
- "scope": "WRITE",
- "name": "SUPPLIES"
}, - {
- "scope": "WRITE",
- "name": "PRODUCTS"
}, - {
- "scope": "WRITE",
- "name": "BUDGETS"
}, - {
- "scope": "WRITE",
- "name": "REPORTS"
}, - {
- "scope": "WRITE",
- "name": "REVENUES"
}, - {
- "scope": "WRITE",
- "name": "SEASONS"
}, - {
- "scope": "WRITE",
- "name": "USERS"
}, - {
- "scope": "WRITE",
- "name": "ASSIGNEES"
}, - {
- "scope": "WRITE",
- "name": "PURCHASE_ORDERS"
}, - {
- "scope": "WRITE",
- "name": "PROPERTIES"
}, - {
- "scope": "WRITE",
- "name": "EXPENSES"
}, - {
- "scope": "WRITE",
- "name": "ORG"
}, - {
- "scope": "WRITE",
- "name": "TRACKER"
}
], - "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}, - {
- "context": "PROPERTY",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "FIELDS"
}, - {
- "scope": "WRITE",
- "name": "WAREHOUSES"
}, - {
- "scope": "WRITE",
- "name": "EQUIPMENTS"
}, - {
- "scope": "WRITE",
- "name": "INFORMATION"
}, - {
- "scope": "WRITE",
- "name": "TASKS"
}
], - "id": "dc2b45a4-3554-4c81-ab55-635d231c2810"
}
], - "type": "USER",
- "orgs": [
- {
- "name": "Akash's Organization",
- "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}
], - "ssn": null,
- "role": null,
- "phone": "+91 98765-4321",
- "locale": "en",
- "country_code": "BR",
- "clock_format": "LET_LOCALE_DECIDE",
- "login": "akash_anand.rangari@syngenta.com",
- "email": "akash_anand.rangari@syngenta.com",
- "auto_created_org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "opt_ins": [
- {
- "type": "CELLPHONE_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "15587d25-67bd-4b45-8ae4-f8d06f780940"
}, - {
- "type": "EMAIL_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
}
], - "id": "c8f6a433-a8a2-481d-83c9-c2ee29681f6b"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Get Invites by its org's Ids. If an id does not exist, it does not return it.
status_list | string A comma seperated list of status to be returned in response. |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "$ref": "#/components/examples/PagedInviteStatus"
}
List Worker in a Organization by properties ids. If an empty list is sent, it return all workers from that organization
org_id required | string |
name | string Filter worker by its name |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "name": "Worker Name",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
], - "id": "002f4753-5c5b-5dbd-8ed6-f0a83f86090d",
- "note": "string",
- "address": "string",
- "type": "EMPLOYEE",
- "applicator_licensing_number": "string",
- "license_valid_through": "2020-04-01T09:06:26.000+0000"
}, - {
- "name": "Other Worker Name",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
], - "id": "010b7b54-e006-4afc-a843-436b909ce90d",
- "note": "string",
- "address": "string",
- "type": "EXTERNAL_COMPANY",
- "phone": "string",
- "email": "string"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 2,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 2,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Get Properties by its org's Ids. If an id does not exist, it does not return it.
include_deleted | boolean Return only non-deleted or both deleted and non-deleted properties |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "root_region_id": "ad23de56-0312-4a6c-b576-27a16ee8cc2d",
- "name": "User's Farm",
- "time_zone": "Asia/Kolkata",
- "country": null,
- "state": null,
- "city": null,
- "address": null,
- "zip_code": null,
- "place_id": null,
- "reference_point": {
- "type": "Point",
- "coordinates": [
- 20.9235175,
- 77.7673384
]
}, - "deleted": false,
- "id": "dc2b45a4-3554-4c81-ab55-635d231c2810"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Get Seasons by its org's Ids. If an id does not exist, it does not return it.
include_deleted | boolean Return only non-deleted or both deleted and non-deleted seasons |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "name": "Wheat season 2020",
- "start_date": "2019-12-01T08:24:28.000+0000",
- "end_date": "2020-05-31T08:24:28.000+0000",
- "crop_id": "5ae35c1e-35f1-4c67-ba05-997c5191759f",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": false,
- "deleted": false,
- "json_extended_attributes": {
- "name": "string"
}, - "id": "6dba7432-fc66-4659-b4af-91e8a8ab021a"
}, - {
- "name": "Watermelon season 2020",
- "start_date": "2020-04-01T09:06:26.000+0000",
- "end_date": "2020-07-31T09:06:26.000+0000",
- "crop_id": "6d5203f7-2b5c-485e-a6f8-b080ef1cf1a9",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": true,
- "deleted": false,
- "json_extended_attributes": {
- "name": "string"
}, - "id": "d06e2de7-6b50-4dda-853e-ab7952def05f"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 2,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 2,
- "size": 2000,
- "number": 0,
- "empty": false
}
Get Orgs by its Ids. If an id does not exist, it does not return it.
include_deleted | boolean Return only non-deleted or both deleted and non-deleted organizations |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "name": "Test user's Company",
- "address": "Inconfidentes St, 911",
- "city": "Belo Horizonte",
- "state": "Minas Gerais",
- "country": "BR",
- "zip_code": "33000-999",
- "place_id": "ChIJrTLr-GyuEmsRBfy61i59si0",
- "currency": "USD",
- "unit_system": "METRIC",
- "phone": "+5531911112222",
- "id": "34550190-7d4f-4a03-91ec-4f5568e50029"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Gets all Organizations that are allowed to the authenticated Account.
licensing_accounts | Array of strings Filter results by workspaces. |
workspaces | Array of strings Filter results by workspaces. |
attributes | string Enum: "workspaces" "licensing_accounts" Show organizations with their workspaces |
name | string Filter results by name. |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
attributes | Array of strings Items Value: "total_area" Optional area sum for property |
{- "content": [
- {
- "name": "Test user's Company",
- "address": "Inconfidentes St, 911",
- "city": "Belo Horizonte",
- "state": "Minas Gerais",
- "country": "BR",
- "zip_code": "33000-999",
- "place_id": "ChIJrTLr-GyuEmsRBfy61i59si0",
- "currency": "USD",
- "unit_system": "METRIC",
- "phone": "+5531911112222",
- "id": "34550190-7d4f-4a03-91ec-4f5568e50029"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Create an Organization
client-id | string |
Details of the Organization to be created
name required | string |
address | string |
city | string |
state | string |
country required | string Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "BL" "BM" "BN" "BO" "BQ" "BQ" "BR" "BS" "BT" "BV" "BW" "BY" "BZ" "CA" "CC" "CD" "CF" "CG" "CH" "CI" "CK" "CL" "CM" "CN" "CO" "CR" "CU" "CV" "CW" "CX" "CY" "CZ" "DE" "DJ" "DK" "DM" "DO" "DZ" "EC" "EE" "EG" "EH" "ER" "ES" "ET" "FI" "FJ" "FK" "FM" "FO" "FR" "GA" "GB" "GD" "GE" "GF" "GG" "GH" "GI" "GL" "GM" "GN" "GP" "GQ" "GR" "GS" "GT" "GU" "GW" "GY" "HK" "HM" "HN" "HR" "HT" "HU" "ID" "IE" "IL" "IM" "IN" "IO" "IQ" "IR" "IS" "IT" "JE" "JM" "JO" "JP" "KE" "KG" "KH" "KI" "KM" "KN" "KP" "KR" "KW" "KY" "KZ" "LA" "LB" "LC" "LI" "LK" "LR" "LS" "LT" "LU" "LV" "LY" "MA" "MC" "MD" "ME" "MF" "MG" "MH" "MK" "ML" "MM" "MN" "MO" "MP" "MQ" "MR" "MS" "MT" "MU" "MV" "MW" "MX" "MY" "MZ" "NA" "NC" "NE" "NF" "NG" "NI" "NL" "NO" "NP" "NR" "NU" "NZ" "OM" "PA" "PE" "PF" "PG" "PH" "PK" "PL" "PM" "PN" "PR" "PS" "PT" "PW" "PY" "QA" "RE" "RO" "RS" "RU" "RW" "SA" "SB" "SC" "SD" "SE" "SG" "SH" "SI" "SJ" "SK" "SL" "SM" "SN" "SO" "SR" "SS" "ST" "SV" "SX" "SY" "SZ" "TC" "TD" "TF" "TG" "TH" "TJ" "TK" "TL" "TM" "TN" "TO" "TR" "TT" "TV" "TW" "IS" "TZ" "UA" "UG" "UM" "US" "UY" "UZ" "VA" "VC" "VE" "VG" "VI" "VN" "VU" "WF" "WS" "YE" "YT" "ZA" "ZM" "ZW" ISO-3166 Reference to Country Codes 3166-1 alpha-2 |
zip_code | string |
place_id | string |
phone | string (Phone Number) E.164 international phone number formatting |
string <email> | |
employer_identification_number | string |
currency required | string Enum: "AED" "AFN" "ALL" "AMD" "ANG" "AOA" "ARS" "AUD" "AWG" "AZN" "BAM" "BBD" "BDT" "BGN" "BHD" "BIF" "BMD" "BND" "BOB" "BOV" "BRL" "BSD" "BTN" "BWP" "BYN" "BZD" "CAD" "CDF" "CHE" "CHF" "CHW" "CLF" "CLP" "CNY" "COP" "COU" "CRC" "CUC" "CUP" "CVE" "CZK" "DJF" "DKK" "DOP" "DZD" "EGP" "ERN" "ETB" "EUR" "FJD" "FKP" "GBP" "GEL" "GHS" "GIP" "GMD" "GNF" "GTQ" "GYD" "HKD" "HNL" "HRK" "HTG" "HUF" "IDR" "ILS" "INR" "IQD" "IRR" "ISK" "JMD" "JOD" "JPY" "KES" "KGS" "KHR" "KMF" "KPW" "KRW" "KWD" "KYD" "KZT" "LAK" "LBP" "LKR" "LRD" "LSL" "LYD" "MAD" "MDL" "MGA" "MKD" "MMK" "MNT" "MOP" "MRU" "MUR" "MVR" "MWK" "MXN" "MXV" "MYR" "MZN" "NAD" "NGN" "NIO" "NOK" "NPR" "NZD" "OMR" "PAB" "PEN" "PGK" "PHP" "PKR" "PLN" "PYG" "QAR" "RON" "RSD" "RUB" "RWF" "SAR" "SBD" "SCR" "SDG" "SEK" "SGD" "SHP" "SLL" "SOS" "SRD" "SSP" "STN" "SVC" "SYP" "SZL" "THB" "TJS" "TMT" "TND" "TOP" "TRY" "TTD" "TWD" "TZS" "UAH" "UGX" "USD" "USN" "UYI" "UYU" "UYW" "UZS" "VES" "VND" "VUV" "WST" "XAF" "XAG" "XAU" "XBA" "XBB" "XBC" "XBD" "XCD" "XDR" "XOF" "XPD" "XPF" "XPT" "XSU" "XTS" "XUA" "XXX" "YER" "ZAR" "ZMW" "ZWL" |
unit_system required | string Enum: "METRIC" "IMPERIAL" |
deleted | boolean |
picture_url | string <uri> |
object (BasicExtendedAttribute) | |
licensing_account_id | object <uuid> (UUID Canonical textual representation) Recursive A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
workspace_id required | object <uuid> (UUID Canonical textual representation) Recursive A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "name": "Test user's Company",
- "address": "Inconfidentes St, 911",
- "city": "Belo Horizonte",
- "state": "Minas Gerais",
- "country": "BR",
- "zip_code": "33000-999",
- "place_id": "ChIJrTLr-GyuEmsRBfy61i59si0",
- "currency": "USD",
- "unit_system": "METRIC",
- "phone": "+5531911112222",
- "json_extended_attributes": {
- "name": "string"
}
}
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "name": "string",
- "address": "string",
- "city": "string",
- "state": "string",
- "country": "AD",
- "zip_code": "string",
- "place_id": "string",
- "phone": "+5531900000000",
- "email": "user@example.com",
- "employer_identification_number": "string",
- "currency": "AED",
- "unit_system": "METRIC",
- "deleted": true,
- "reference_point": {
- "type": "string",
- "coordinates": [
- 0,
- 0
]
}, - "json_extended_attributes": {
- "name": "string"
}, - "licensing_account_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "workspace_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}
{- "org_id": "06a34cd3-9e09-7b8d-8a7d-112ac07776a3",
- "name": "Worker Name",
- "id": "06a36cd3-9e09-4b8d-8a7d-112ac07776a3",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
], - "note": "string",
- "address": "string",
- "type": "EMPLOYEE",
- "applicator_licensing_number": "string",
- "license_valid_through": "2020-04-01T09:06:26.000+0000"
}
Update Worker
id required | string |
orgId required | string |
client-id | string |
id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
name required | string |
property_ids | Array of objects <uuid> (UUID Canonical textual representation) |
org_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
object (BasicExtendedAttribute) | |
note | string |
address | string |
type | string Enum: "EMPLOYEE" "EXTERNAL_COMPANY" |
string | |
phone | string |
applicator_licensing_number | string |
license_valid_through | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "name": "string",
- "property_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "json_extended_attributes": {
- "name": "string"
}, - "note": "string",
- "address": "string",
- "type": "EMPLOYEE",
- "email": "string",
- "phone": "string",
- "applicator_licensing_number": "string",
- "license_valid_through": "2019-10-02"
}
{- "org_id": "06a34cd3-9e09-7b8d-8a7d-112ac07776a3",
- "name": "Update Worker Name",
- "id": "06a36cd3-9e09-4b8d-8a7d-112ac07776a3",
- "json_extended_attributes": {
- "name": "string"
}, - "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
], - "note": "string",
- "address": "string",
- "type": "EMPLOYEE",
- "applicator_licensing_number": "string",
- "license_valid_through": "2020-04-01T09:06:26.000+0000"
}
Create Worker
orgId required | string |
client-id | string |
id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
name required | string |
property_ids | Array of objects <uuid> (UUID Canonical textual representation) |
org_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
object (BasicExtendedAttribute) | |
note | string |
address | string |
type | string Enum: "EMPLOYEE" "EXTERNAL_COMPANY" |
string | |
phone | string |
applicator_licensing_number | string |
license_valid_through | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "name": "string",
- "property_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "json_extended_attributes": {
- "name": "string"
}, - "note": "string",
- "address": "string",
- "type": "EMPLOYEE",
- "email": "string",
- "phone": "string",
- "applicator_licensing_number": "string",
- "license_valid_through": "2019-10-02"
}
{- "org_id": "06a34cd3-9e09-7b8d-8a7d-112ac07776a3",
- "name": "Worker Name",
- "id": "06a36cd3-9e09-4b8d-8a7d-112ac07776a3",
- "json_extended_attributes": {
- "name": "string"
}, - "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
], - "note": "string",
- "address": "string",
- "type": "EMPLOYEE",
- "applicator_licensing_number": "string",
- "license_valid_through": "2020-04-01T09:06:26.000+0000"
}
Get Root owners from the orgs that the workspace id is linked. If an id does not exist, it does not return it.
include_deleted | boolean Return only non-deleted or both deleted and non-deleted accounts |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "name": "Akash",
- "authorities": [
- {
- "context": "ORGANIZATION",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "TEMPLATES"
}, - {
- "scope": "READ",
- "name": "FARMSHOTS"
}, - {
- "scope": "WRITE",
- "name": "VENDORS"
}, - {
- "scope": "WRITE",
- "name": "SUPPLIES"
}, - {
- "scope": "WRITE",
- "name": "PRODUCTS"
}, - {
- "scope": "WRITE",
- "name": "BUDGETS"
}, - {
- "scope": "WRITE",
- "name": "REPORTS"
}, - {
- "scope": "WRITE",
- "name": "REVENUES"
}, - {
- "scope": "WRITE",
- "name": "SEASONS"
}, - {
- "scope": "WRITE",
- "name": "USERS"
}, - {
- "scope": "WRITE",
- "name": "ASSIGNEES"
}, - {
- "scope": "WRITE",
- "name": "PURCHASE_ORDERS"
}, - {
- "scope": "WRITE",
- "name": "PROPERTIES"
}, - {
- "scope": "WRITE",
- "name": "EXPENSES"
}, - {
- "scope": "WRITE",
- "name": "ORG"
}, - {
- "scope": "WRITE",
- "name": "TRACKER"
}
], - "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}, - {
- "context": "PROPERTY",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "FIELDS"
}, - {
- "scope": "WRITE",
- "name": "WAREHOUSES"
}, - {
- "scope": "WRITE",
- "name": "EQUIPMENTS"
}, - {
- "scope": "WRITE",
- "name": "INFORMATION"
}, - {
- "scope": "WRITE",
- "name": "TASKS"
}
], - "id": "dc2b45a4-3554-4c81-ab55-635d231c2810"
}
], - "type": "USER",
- "orgs": [
- {
- "name": "Akash's Organization",
- "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}
], - "ssn": null,
- "role": null,
- "phone": "+91 98765-4321",
- "locale": "en",
- "country_code": "BR",
- "clock_format": "LET_LOCALE_DECIDE",
- "login": "akash_anand.rangari@syngenta.com",
- "email": "akash_anand.rangari@syngenta.com",
- "auto_created_org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "opt_ins": [
- {
- "type": "CELLPHONE_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "15587d25-67bd-4b45-8ae4-f8d06f780940"
}, - {
- "type": "EMAIL_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
}
], - "id": "c8f6a433-a8a2-481d-83c9-c2ee29681f6b"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Get policies from context
context required | string The context the policy belongs to |
{- "content": [
- {
- "id": "DevEdit",
- "name": "Dev Edit",
- "context": "system",
- "version": 1,
- "level": "app",
- "permissions": [
- {
- "action": [
- "app_info:write",
- "app_credentials:write",
- "app_email_template:write",
- "app_widgets:write"
], - "resource": "crn:app:{app_id}"
}
]
}
], - "pageable": {
- "current_key": null,
- "size": 100,
- "next_key": null
}, - "number_of_elements": 1,
- "last": true,
- "first": true,
- "empty": false
}
Get policy data
context required | string The context the policy belongs to |
policyId required | string The policy id |
{- "id": "DevEdit",
- "name": "Dev Edit",
- "context": "system",
- "version": 1,
- "level": "app",
- "permissions": [
- {
- "action": [
- "app_info:write",
- "app_credentials:write",
- "app_email_template:write",
- "app_widgets:write"
], - "resource": "crn:app:{app_id}"
}
]
}
Get all contracts from a plan
planId required | string |
size | integer Number of contracts to return |
last_key | string Id of the last contract returned by the previous query |
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
]
}
Get all plans from a single app
appId required | string Numeric ID of the app to get |
size | integer Number of plans to return |
last_key | string Id of the last plan returned by the previous query |
name | string Filter plans containing this name |
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "app": "string",
- "default": true,
- "default_duration": 0,
- "deleted": true,
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "name": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "limit": 0,
- "unit": "string",
- "entity_type": "string",
- "over_quota_threshold": 0
}
], - "terms": [
- "string"
], - "valid_countries": [
- "string"
], - "accounts": [
- "string"
], - "location": "string",
- "legalDocuments": [
- "string"
]
}
]
}
Get all campaigns from a plan
planId required | string Numeric ID of the plan to get |
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "active": true,
- "duration": 0,
- "start_date": "2019-08-24T14:15:22Z",
- "id": "string",
- "name": "string",
- "notes": "string",
- "plans": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "app": "string",
- "default": true,
- "default_duration": 0,
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "name": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0
}
], - "valid_countries": [
- "string"
], - "accounts": [
- "string"
], - "location": "string",
- "legalDocuments": [
- "string"
]
}
], - "voucher_count": 0,
- "available_vouchers": 0,
- "shareable_links": [
- {
- "id": "string",
- "initial_usage_quota": 0,
- "remaining_quota": 0,
- "used_quota": 0
}
], - "created_at": "2019-08-24T14:15:22Z",
- "sv": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "vouchers": [
- "string"
]
}
]
}
Get a single plan
planId required | string Numeric ID of the plan to get |
include_deleted | boolean Boolean to flag the inclusion of deleted plans |
{- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "app": "string",
- "default": true,
- "default_duration": 0,
- "deleted": true,
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "name": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "limit": 0,
- "unit": "string",
- "entity_type": "string",
- "over_quota_threshold": 0
}
], - "terms": [
- "string"
], - "valid_countries": [
- "string"
], - "accounts": [
- "string"
], - "location": "string",
- "legalDocuments": [
- "string"
]
}
Updates a single plan
planId required | string Numeric ID of the plan to update |
created_at | string <date-time> |
id | string |
metadata | object |
updated_at | string <date-time> |
app required | string |
default | boolean |
default_duration | integer |
deleted | boolean |
Array of objects (EntitlementsList) | |
name required | string |
Array of objects | |
terms | Array of strings |
valid_countries | Array of strings |
accounts | Array of strings |
location | string |
legalDocuments | Array of strings |
{- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "app": "string",
- "default": true,
- "default_duration": 0,
- "deleted": true,
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "name": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "limit": 0,
- "unit": "string",
- "entity_type": "string",
- "over_quota_threshold": 0
}
], - "terms": [
- "string"
], - "valid_countries": [
- "string"
], - "accounts": [
- "string"
], - "location": "string",
- "legalDocuments": [
- "string"
]
}
{- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "app": "string",
- "default": true,
- "default_duration": 0,
- "deleted": true,
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "name": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "limit": 0,
- "unit": "string",
- "entity_type": "string",
- "over_quota_threshold": 0
}
], - "terms": [
- "string"
], - "valid_countries": [
- "string"
], - "accounts": [
- "string"
], - "location": "string",
- "legalDocuments": [
- "string"
]
}
Get all plans
size | integer Number of plans to return |
last_key | string Id of the last plan returned by the previous query |
name | string Filter plans containing this name |
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "app": "string",
- "default": true,
- "default_duration": 0,
- "deleted": true,
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "name": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "limit": 0,
- "unit": "string",
- "entity_type": "string",
- "over_quota_threshold": 0
}
], - "terms": [
- "string"
], - "valid_countries": [
- "string"
], - "accounts": [
- "string"
], - "location": "string",
- "legalDocuments": [
- "string"
]
}
]
}
Creates a new plan
created_at | string <date-time> |
id | string |
metadata | object |
updated_at | string <date-time> |
app required | string |
default | boolean |
default_duration | integer |
deleted | boolean |
Array of objects (EntitlementsList) | |
name required | string |
Array of objects | |
terms | Array of strings |
valid_countries | Array of strings |
accounts | Array of strings |
location | string |
legalDocuments | Array of strings |
{- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "app": "string",
- "default": true,
- "default_duration": 0,
- "deleted": true,
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "name": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "limit": 0,
- "unit": "string",
- "entity_type": "string",
- "over_quota_threshold": 0
}
], - "terms": [
- "string"
], - "valid_countries": [
- "string"
], - "accounts": [
- "string"
], - "location": "string",
- "legalDocuments": [
- "string"
]
}
{- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "app": "string",
- "default": true,
- "default_duration": 0,
- "deleted": true,
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "name": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "limit": 0,
- "unit": "string",
- "entity_type": "string",
- "over_quota_threshold": 0
}
], - "terms": [
- "string"
], - "valid_countries": [
- "string"
], - "accounts": [
- "string"
], - "location": "string",
- "legalDocuments": [
- "string"
]
}
List Organization Products
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
filters | string A boolean filter kind of logical expression to filter data |
show_canonicals | boolean Shows the canonical products in the response |
location | string Filter by location |
Accept-Language | string Names will be responded in the chosen language |
{- "content": [
- {
- "org_id": "06a34cd3-9e09-7b8d-8a7d-112ac07776a3",
- "name": "Update Product Name",
- "id": "06a36cd3-9e09-4b8d-8a7d-112ac07776a3",
- "manufacturer": "Manufacturer Name",
- "unit_of_measurement": "KILOGRAMS",
- "type": "VARIETY"
}, - {
- "org_id": "06a34cd3-9e09-7b8d-8a7d-112ac07776a3",
- "name": "Update Product Name",
- "id": "06a36cd3-9e09-4b8d-8a7d-112ac07776a3",
- "manufacturer": "Manufacturer Name",
- "unit_of_measurement": "KILOGRAMS",
- "type": "VARIETY"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 2,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 2,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
{- "org_id": "06a34cd3-9e09-7b8d-8a7d-112ac07776a3",
- "name": "Product Name",
- "id": "06a36cd3-9e09-4b8d-8a7d-112ac07776a3",
- "manufacturer": "Manufacturer Name",
- "unit_of_measurement": "KILOGRAMS",
- "type": "VARIETY"
}
Update Product
id required | string |
name required | string |
unit_of_measurement | string Enum: "KILOGRAMS" "LITERS" "UNITS" "BOXS" "SACK" "GALLONS" "GRAMS" "TONNES" "MILLILITER" "METERS" "OUNCES" "POUNDS" "PINTS" "DOSE" |
type | string Enum: "VARIETY" "FUEL" "PART" "FERTILIZER" "GENERIC_PRODUCT" "PESTICIDE" "ADJUVANT" "LUBRICANT" "INOCULANT" "ACARICIDE" "MICROBIOLOGICAL_ACARICIDE" "BIOLOGICAL_CONTROL_AGENT" "PLANT_ACTIVATOR" "BACTERICIDE" "MICROBIOLOGICAL_BACTERICIDE" "TERMITICIDE" "PHEROMONE" "FORMICIDE" "FUNGICIDE" "MICROBIOLOGICAL_FUNGICIDE" "HERBICIDE" "INSECTICIDE" "FUMIGANT_INSECTICIDE" "MICROBIOLOGICAL_INSECTICIDE" "MOLLUSCICIDE" "NEMATICIDE" "MICROBIOLOGICAL_NEMATICIDE" "SEED_PROTECTOR" "GROWTH_REGULATOR" "STIMULATING" |
org_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
manufacturer | string |
{- "name": "string",
- "unit_of_measurement": "KILOGRAMS",
- "type": "VARIETY",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "manufacturer": "string"
}
{- "org_id": "06a34cd3-9e09-7b8d-8a7d-112ac07776a3",
- "name": "Update Product Name",
- "id": "06a36cd3-9e09-4b8d-8a7d-112ac07776a3",
- "manufacturer": "Manufacturer Name",
- "unit_of_measurement": "KILOGRAMS",
- "type": "VARIETY"
}
List Products
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
Accept-Language | string Products names will be responded in the chosen language |
{- "content": [
- {
- "name": "Hussar",
- "unit_of_measurement": "LITERS",
- "id": "06a36cd3-9e09-4b8d-8a7d-112ac07776a3",
- "type": "HERBICIDE"
}, - {
- "name": "ORBIS",
- "unit_of_measurement": "LITERS",
- "id": "0ea2ede3-ac6e-5935-baeb-2fe5f6ae9724",
- "type": "FUNGICIDE"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 2,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 2,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Create Product
name required | string |
unit_of_measurement | string Enum: "KILOGRAMS" "LITERS" "UNITS" "BOXS" "SACK" "GALLONS" "GRAMS" "TONNES" "MILLILITER" "METERS" "OUNCES" "POUNDS" "PINTS" "DOSE" |
type | string Enum: "VARIETY" "FUEL" "PART" "FERTILIZER" "GENERIC_PRODUCT" "PESTICIDE" "ADJUVANT" "LUBRICANT" "INOCULANT" "ACARICIDE" "MICROBIOLOGICAL_ACARICIDE" "BIOLOGICAL_CONTROL_AGENT" "PLANT_ACTIVATOR" "BACTERICIDE" "MICROBIOLOGICAL_BACTERICIDE" "TERMITICIDE" "PHEROMONE" "FORMICIDE" "FUNGICIDE" "MICROBIOLOGICAL_FUNGICIDE" "HERBICIDE" "INSECTICIDE" "FUMIGANT_INSECTICIDE" "MICROBIOLOGICAL_INSECTICIDE" "MOLLUSCICIDE" "NEMATICIDE" "MICROBIOLOGICAL_NEMATICIDE" "SEED_PROTECTOR" "GROWTH_REGULATOR" "STIMULATING" |
org_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
manufacturer | string |
{- "name": "string",
- "unit_of_measurement": "KILOGRAMS",
- "type": "VARIETY",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "manufacturer": "string"
}
{- "org_id": "06a34cd3-9e09-7b8d-8a7d-112ac07776a3",
- "name": "Product Name",
- "id": "06a36cd3-9e09-4b8d-8a7d-112ac07776a3",
- "manufacturer": "Manufacturer Name",
- "unit_of_measurement": "KILOGRAMS",
- "type": "VARIETY"
}
Gets all properties of an Organization
and optionally the total area of each property.
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
attributes | Array of strings Items Value: "total_area" Optional area sum for property |
extra_attribute | string Filtered by multiple key-value pair "name":"some-name","type":"some-type" |
include_extended required | boolean Filtered extra-Attribute only if include_extended = true |
client-id | string |
{- "content": [
- {
- "json_extended_attributes": {
- "name": "property9"
}, - "org_id": "325ebba0-7931-46df-a6f6-d3aaf5a1ee9f",
- "root_region_id": "bb4c1c2a-9e7f-448e-90d6-815d02c8683d",
- "name": "Property13",
- "time_zone": "Asia/Kolkata",
- "country": "IN",
- "state": "MH",
- "city": "Kongaon",
- "address": "421302, Kalyan - Bhiwandi Rd",
- "zip_code": "421302",
- "place_id": null,
- "fields_updated_at": "2021-05-07T10:24:53.000+0000",
- "reference_point": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "deleted": false,
- "regulatory_zone": "IN",
- "id": "7a7e48c7-6e72-40db-baab-6a2a13a9e4a8"
}, - {
- "json_extended_attributes": {
- "name": "property9",
- "type": "property"
}, - "org_id": "325ebba0-7931-46df-a6f6-d3aaf5a1ee9f",
- "root_region_id": "ed54067a-6b7a-4bcd-b4b9-cbdc788d571b",
- "name": "Property14",
- "time_zone": "Asia/Kolkata",
- "country": "India",
- "state": "MH",
- "city": "Kongaon",
- "address": "421302, Kalyan - Bhiwandi Rd",
- "zip_code": "421302",
- "place_id": null,
- "fields_updated_at": "2021-05-09T08:08:37.000+0000",
- "reference_point": {
- "type": "Point",
- "coordinates": [
- 0,
- 0
]
}, - "deleted": false,
- "regulatory_zone": "IN",
- "id": "ccb755fc-b9d0-428e-bdb5-87e4718a9420"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 2147483647,
- "page_number": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "last": true,
- "total_elements": 2,
- "size": 2147483647,
- "number": 0,
- "number_of_elements": 2,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "first": true,
- "empty": false
}
Gets all properties of an Organization
and optionally the total area of each property.
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
include_inactive | boolean Requested deleted properties. Default is false. |
name | string Filter properties by name. Default is null |
attributes | Array of strings Items Value: "total_area" Optional area sum for property |
{- "content": [
- {
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "root_region_id": "ad23de56-0312-4a6c-b576-27a16ee8cc2d",
- "name": "User's Farm",
- "time_zone": "Asia/Kolkata",
- "country": null,
- "state": null,
- "city": null,
- "address": null,
- "zip_code": null,
- "place_id": null,
- "reference_point": {
- "type": "Point",
- "coordinates": [
- 20.9235175,
- 77.7673384
]
}, - "deleted": false,
- "id": "dc2b45a4-3554-4c81-ab55-635d231c2810"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
List Worker in a Organization by properties ids. If an empty list is sent, it return all workers from that organization
org_id required | string |
name | string Filter worker by its name |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "name": "Worker Name",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
], - "id": "002f4753-5c5b-5dbd-8ed6-f0a83f86090d",
- "note": "string",
- "address": "string",
- "type": "EMPLOYEE",
- "applicator_licensing_number": "string",
- "license_valid_through": "2020-04-01T09:06:26.000+0000"
}, - {
- "name": "Other Worker Name",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
], - "id": "010b7b54-e006-4afc-a843-436b909ce90d",
- "note": "string",
- "address": "string",
- "type": "EXTERNAL_COMPANY",
- "phone": "string",
- "email": "string"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 2,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 2,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Get Properties by its org's Ids. If an id does not exist, it does not return it.
include_deleted | boolean Return only non-deleted or both deleted and non-deleted properties |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "root_region_id": "ad23de56-0312-4a6c-b576-27a16ee8cc2d",
- "name": "User's Farm",
- "time_zone": "Asia/Kolkata",
- "country": null,
- "state": null,
- "city": null,
- "address": null,
- "zip_code": null,
- "place_id": null,
- "reference_point": {
- "type": "Point",
- "coordinates": [
- 20.9235175,
- 77.7673384
]
}, - "deleted": false,
- "id": "dc2b45a4-3554-4c81-ab55-635d231c2810"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Get the current season fields from a specifief property
property_id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
lastUpdateDate | string <date-time> (String with a date format) Example: lastUpdateDate=2019-10-02 The last updated date. It will find occurrences after or equals this date |
deleted required | boolean Indicates which operation should be applied. If true find only deleted registers else created/updated |
{- "content": [
- {
- "createdAt": "2020-07-04T18:38:33+0000",
- "updatedAt": "2020-07-04T18:38:33+0000",
- "seasonId": "c80f7206-10b6-4f45-9cd4-8259f098b1ae",
- "propertyId": "001fc02b-e702-42e7-9e02-f2dc1f4029a5",
- "deleted": false,
- "varietiesIds": [
- "4e764f38-5eda-42d8-860f-162ceaa32444"
], - "plantingDate": "2020-07-04T03:00:00+0000",
- "harvestingDate": null,
- "emergencyDate": "2020-07-09T03:00:00+0000",
- "startDate": "2020-07-04T03:00:00+0000",
- "endDate": "2020-08-03T03:00:00+0000",
- "id": "a8b025fe-cda3-497a-9178-e06cdc42ae00"
}, - {
- "createdAt": "2020-07-04T18:38:33+0000",
- "updatedAt": "2020-07-04T18:38:33+0000",
- "seasonId": "c80f7206-10b6-4f45-9cd4-8259f098b1ae",
- "propertyId": "001fc02b-e702-42e7-9e02-f2dc1f4029a5",
- "deleted": false,
- "varietiesIds": [
- "4e764f38-5eda-42d8-860f-162ceaa32444"
], - "plantingDate": "2020-07-04T03:00:00+0000",
- "harvestingDate": null,
- "emergencyDate": "2020-07-09T03:00:00+0000",
- "startDate": "2020-07-04T03:00:00+0000",
- "endDate": "2020-08-03T03:00:00+0000",
- "id": "628c75d8-cac8-481f-b043-27a6fff7a66a"
}, - {
- "createdAt": "2020-07-04T18:38:33+0000",
- "updatedAt": "2020-07-04T18:38:33+0000",
- "seasonId": "c80f7206-10b6-4f45-9cd4-8259f098b1ae",
- "propertyId": "001fc02b-e702-42e7-9e02-f2dc1f4029a5",
- "deleted": false,
- "varietiesIds": [
- "4e764f38-5eda-42d8-860f-162ceaa32444"
], - "plantingDate": "2020-07-04T03:00:00+0000",
- "harvestingDate": null,
- "emergencyDate": "2020-07-09T03:00:00+0000",
- "startDate": "2020-07-04T03:00:00+0000",
- "endDate": "2020-08-03T03:00:00+0000",
- "id": "64002ffb-ef98-4023-bc9e-37b8034ccc89"
}, - {
- "createdAt": "2020-07-04T18:38:33+0000",
- "updatedAt": "2020-07-04T18:38:33+0000",
- "seasonId": "c80f7206-10b6-4f45-9cd4-8259f098b1ae",
- "propertyId": "001fc02b-e702-42e7-9e02-f2dc1f4029a5",
- "deleted": false,
- "varietiesIds": [
- "4e764f38-5eda-42d8-860f-162ceaa32444"
], - "plantingDate": "2020-07-04T03:00:00+0000",
- "harvestingDate": "null,",
- "emergencyDate": "2020-07-09T03:00:00+0000",
- "startDate": "2020-07-04T03:00:00+0000",
- "endDate": "2020-08-03T03:00:00+0000",
- "id": "defb10ed-ca36-4d74-aa9a-f7c920126da7"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "pageSize": 2147483647,
- "pageNumber": 0,
- "unpaged": false,
- "paged": true
}, - "totalElements": 4,
- "totalPages": 1,
- "last": true,
- "sort": {
- "sorted": "false,",
- "unsorted": true,
- "empty": true
}, - "numberOfElements": 4,
- "first": true,
- "size": 2147483647,
- "number": 0,
- "empty": false
}
Gets all cycles of an Property
propertyId required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
{- "content": [
- {
- "created_at": "2023-02-07T12:27:01.893+0000",
- "updated_at": "2023-02-07T12:27:01.893+0000",
- "org_id": "86d72961-803a-4505-94e2-c9e39fe14380",
- "name": "CycleDTO Example",
- "start_at": "2022-02-28T15:26:02.135+0000",
- "end_at": "2030-02-28T15:26:02.135+0000",
- "deleted": false,
- "id": "e55a7708-e42b-442d-9aea-cad5de550629"
}, - {
- "created_at": "2023-02-07T12:27:01.893+0000",
- "updated_at": "2023-02-07T12:27:01.893+0000",
- "org_id": "86d72961-803a-4505-94e2-c9e39fe14380",
- "name": "CycleDTO Example 2",
- "start_at": "2022-02-28T15:26:02.135+0000",
- "end_at": "2030-02-28T15:26:02.135+0000",
- "deleted": true,
- "id": "e55a7708-e42b-442d-9aea-cad5de550620"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 2,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 2,
- "size": 2000,
- "number": 0,
- "empty": false
}
Get the Fields of an specified property and optionally the Geometry of each Field
property_id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
attributes | Array of strings Items Value: "geometry" Enable fields in response |
extra_attribute | string Filtered by multiple key-value pair "name":"some-name","type":"some-type" |
include_extended required | boolean Filtered extra-Attribute only if include_extended = true |
client-id | string |
{- "content": [
- {
- "json_extended_attributes": {
- "name": "field 1",
- "type": "field"
}, - "name": "New field2",
- "property_id": "ccb755fc-b9d0-428e-bdb5-87e4718a9420",
- "parent_region_id": "ed54067a-6b7a-4bcd-b4b9-cbdc788d571b",
- "declared_area": 2.06,
- "tags": [ ],
- "id": "a9552812-44dc-4368-8c12-47dea882be64"
}
], - "pageable": {
- "sort": {
- "unsorted": true,
- "sorted": false,
- "empty": true
}, - "offset": 0,
- "page_number": 0,
- "page_size": 2147483647,
- "paged": true,
- "unpaged": false
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "size": 2147483647,
- "number": 0,
- "sort": {
- "unsorted": true,
- "sorted": false,
- "empty": true
}, - "number_of_elements": 1,
- "first": true,
- "empty": false
}
Get the Fields history of an specified property and optionally the Geometry of each Field
property_id required | object <uuid> (UUID Canonical textual representation) Recursive Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
attributes | Array of strings Items Value: "geometry" Enable fields in |
contract_id | object <uuid> (UUID Canonical textual representation) Recursive Example: contract_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "fields": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "versions": [
- {
- "name": "string",
- "parent_region_id": "def63655-2b82-4c75-b0b2-ccfb11be233e",
- "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",
- "calculated_area": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "declared_area": 0,
- "deleted_at": "2019-08-24T14:15:22Z",
- "event_date": "2019-08-24T14:15:22Z",
- "geometry": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "tags": [
- "string"
], - "last_modified": "2019-08-24T14:15:22Z",
- "reference_point": "string",
- "version_id": "9e94c502-ca41-4342-a7f7-af96b444512c"
}
]
}
]
}
Get the Fields of an specified property and optionally the Geometry of each Field
property_id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
attributes | Array of strings Items Value: "geometry" Enable fields in |
reference_date | string Filter on reference_date |
{- "content": [
- {
- "name": "Field Example",
- "property_id": "aab63ec2-4756-11ea-8d24-5e6d0beb7caa",
- "parent_region_id": "acfce85d-14ce-42d5-9685-cf260192550f",
- "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -43.938330709934235,
- -19.93101503667817
], - [
- -43.93878936767578,
- -19.93277002901534
], - [
- -43.93769234418869,
- -19.933012095394105
], - [
- -43.937163949012756,
- -19.931247019541928
], - [
- -43.938330709934235,
- -19.93101503667817
]
]
]
}, - "declared_area": 8.1,
- "event_date": "2019-10-02T00:00:00.000Z",
- "id": "ba69208b-d8fa-4603-be43-aef2ebda9003"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Get the regionTree of an specified property
propertyId required | object <uuid> (UUID Canonical textual representation) Recursive Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
reference_date | string Filter on reference_date |
{- "calculated_area": null,
- "children_region": [
- {
- "calculated_area": 0,
- "children_region": [ ],
- "created_at": "2021-04-28T03:25:47.000Z",
- "declared_area": 90,
- "deleted_at": null,
- "fields": [
- {
- "declared_area": 2.06,
- "id": "d8529788-20a3-4aa7-96bd-bf734bd1f23f",
- "name": "Field79",
- "parent_region_id": "3a2036fb-2f85-47a2-8874-e1a626a591c0",
- "property_id": "593b6155-d5b1-4876-9885-3bc3ea0409de",
- "event_date": "2019-10-02T00:00:00.000Z",
- "tags": [ ]
}
], - "id": "3a2036fb-2f85-47a2-8874-e1a626a591c0",
- "last_modified": "2021-04-29T02:21:57.000Z",
- "name": "region for fields",
- "parent_id": "b327eff3-629a-436c-bdf3-232239aaf33e",
- "property_id": "593b6155-d5b1-4876-9885-3bc3ea0409de"
}
], - "created_at": "2021-03-24T23:42:33.000Z",
- "declared_area": null,
- "deleted_at": null,
- "fields": [ ],
- "id": "b327eff3-629a-436c-bdf3-232239aaf33e",
- "last_modified": "2021-04-29T02:23:59.000Z",
- "name": "ajays region",
- "parent_id": null,
- "property_id": "593b6155-d5b1-4876-9885-3bc3ea0409de"
}
Get the Region history of an specified property
propertyId required | object <uuid> (UUID Canonical textual representation) Recursive Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "regions": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "versions": [
- {
- "calculated_area": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "declared_area": 0,
- "deleted_at": "2019-08-24T14:15:22Z",
- "event_date": "2019-08-24T14:15:22Z",
- "geometry": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "last_modified": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",
- "reference_point": "string",
- "version_id": "9e94c502-ca41-4342-a7f7-af96b444512c"
}
]
}
]
}
Get the Region of an specified property
propertyId required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
reference_date | string Filter on reference_date |
[- {
- "id": "b152e9b1-f858-4f89-83ca-be18054c8048",
- "name": "region35",
- "parent_id": "20b014b1-e81e-4a4f-991e-e8db908aee42",
- "property_id": "2e5e26a4-95d8-4198-83eb-3bcfc62f95e3",
- "event_date": "2019-10-02T00:00:00.000Z"
}
]
Get the season areas updates since last update by property
property_id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
last_update_date required | string <date-time> (String with a date format) Example: last_update_date=2019-10-02 Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
deleted required | boolean |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
{- "content": {
- "id": "d06e2de7-6b50-4dda-853e-ab7952def05f",
- "starts_at": "2020-04-01T09:06:26.418+0000",
- "ends_at": "2020-07-31T09:06:26.418+0000",
- "area_id": "6d5203f7-2b5c-485e-a6f8-b080ef1cf1a9",
- "deleted": false
}, - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false,
- "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sorted": false,
- "unsorted": true,
- "empty": true
}
}
Get the seasons of a specified property
property_id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
{- "content": {
- "id": "d06e2de7-6b50-4dda-853e-ab7952def05f",
- "name": "Watermelon season 2020",
- "start_date": "2020-04-01T09:06:26.418+0000",
- "end_date": "2020-07-31T09:06:26.418+0000",
- "crop_id": "6d5203f7-2b5c-485e-a6f8-b080ef1cf1a9",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": true,
- "deleted": false
}, - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false,
- "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sorted": false,
- "unsorted": true,
- "empty": true
}
}
Get the tasks of a specified property
property_id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
season_id | object <uuid> (UUID Canonical textual representation) Example: season_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 Tasks will be filtered by season_id |
since | string <date-time> (String with a date format) Example: since=2019-10-02 Tasks will be filtered by dates (start and end date) |
until | string <date-time> (String with a date format) Example: until=2019-10-02 Tasks will be filtered by dates (start and end date) |
attributes | Array of strings Items Value: "geometry" Enable fields in response |
tags | Array of strings Tasks will be filtered by tags when containing one or more of those strings |
extra_attribute | string Filtered by multiple key-value pair "name":"some-name","type":"some-type" |
include_extended required | boolean Filtered extra-Attribute only if include_extended = true |
client-id | string |
{- "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "description": "string",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "start_date": "2019-10-02",
- "due_date": "2019-10-02",
- "status": {
- "name": "string",
- "status_type_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}, - "progress_drilldown": {
- "type": "LOG_DRILLDOWN",
- "progress_logs": [
- {
- "start_date": "2019-10-02",
- "end_date": "2019-10-02",
- "progress_amount": 100
}
]
}, - "rank": "string",
- "category_resources": {
- "category_type_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "field_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "property_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "product_usages": [
- {
- "product_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "warehouse_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "unit": "string",
- "dose": 1,
- "amount": 100,
- "withdraw": 150
}
], - "equipment_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
]
}, - "completeness_calculation_method": "SUM_PROGRESSES"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Get the tasks of a specified property
property_id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
season_id | object <uuid> (UUID Canonical textual representation) Example: season_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 Tasks will be filtered by season_id |
since | string <date-time> (String with a date format) Example: since=2019-10-02 Tasks will be filtered by dates (start and end date) |
until | string <date-time> (String with a date format) Example: until=2019-10-02 Tasks will be filtered by dates (start and end date) |
attributes | Array of strings Items Value: "geometry" Enable fields in response |
tags | Array of strings Tasks will be filtered by tags when containing one or more of those strings |
{- "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "description": "string",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "start_date": "2019-10-02",
- "due_date": "2019-10-02",
- "status": {
- "name": "string",
- "status_type_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}, - "progress_drilldown": {
- "type": "LOG_DRILLDOWN",
- "progress_logs": [
- {
- "start_date": "2019-10-02",
- "end_date": "2019-10-02",
- "progress_amount": 100
}
]
}, - "rank": "string",
- "category_resources": {
- "category_type_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "field_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "property_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "product_usages": [
- {
- "product_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "warehouse_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "unit": "string",
- "dose": 1,
- "amount": 100,
- "withdraw": 150
}
], - "equipment_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
]
}, - "completeness_calculation_method": "SUM_PROGRESSES"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Gets the property details and optionally total area. Possible query parameters:
property_id required | string |
attributes | Array of strings Items Value: "total_area" |
{- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "root_region_id": "ad23de56-0312-4a6c-b576-27a16ee8cc2d",
- "name": "User's Farm",
- "time_zone": "Asia/Kolkata",
- "country": null,
- "state": null,
- "city": null,
- "address": null,
- "zip_code": null,
- "place_id": null,
- "reference_point": {
- "type": "Point",
- "coordinates": [
- 20.9235175,
- 77.7673384
]
}, - "deleted": false,
- "id": "dc2b45a4-3554-4c81-ab55-635d231c2810"
}
Edits an existing Property
with the specified id.
property_id required | string |
client-id | string |
Details of the Property to be updated.
name required | string |
org_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
root_region_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
time_zone required | string (TimeZone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Asmera" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Timbuktu" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/ComodRivadavia" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Atka" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Buenos_Aires" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Catamarca" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Coral_Harbour" "America/Cordoba" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Ensenada" "America/Fort_Nelson" "America/Fort_Wayne" "America/Fortaleza" "America/Glace_Bay" "America/Godthab" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Indianapolis" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Jujuy" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Knox_IN" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Louisville" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Mendoza" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montreal" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Acre" "America/Porto_Velho" "America/Puerto_Rico" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Rosario" "America/Santa_Isabel" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Shiprock" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Virgin" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/South_Pole" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Ashkhabad" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Calcutta" "Asia/Chita" "Asia/Choibalsan" "Asia/Chongqing" "Asia/Chungking" "Asia/Colombo" "Asia/Dacca" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Gaza" "Asia/Harbin" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Istanbul" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kashgar" "Asia/Kathmandu" "Asia/Katmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macao" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qyzylorda" "Asia/Rangoon" "Asia/Riyadh" "Asia/Saigon" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Tel_Aviv" "Asia/Thimbu" "Asia/Thimphu" "Asia/Tokyo" "Asia/Ujung_Pandang" "Asia/Ulaanbaatar" "Asia/Ulan_Bator" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faeroe" "Atlantic/Faroe" "Atlantic/Jan_Mayen" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/ACT" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Canberra" "Australia/Currie" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/LHI" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/North" "Australia/NSW" "Australia/Perth" "Australia/Queensland" "Australia/South" "Australia/Sydney" "Australia/Tasmania" "Australia/Victoria" "Australia/West" "Australia/Yancowinna" "Canada/Atlantic" "Canada/Central" "Canada/East-Saskatchewan" "Canada/Eastern" "Canada/Mountain" "Canada/Newfoundland" "Canada/Pacific" "Canada/Saskatchewan" "Canada/Yukon" "Chile/Continental" "Chile/EasterIsland" "Cuba" "Egypt" "Eire" "Europe/Amsterdam" "Europe/Andorra" "Europe/Athens" "Europe/Belfast" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Nicosia" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Tiraspol" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Greenwich" "Hongkong" "Iceland" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Iran" "Israel" "Jamaica" "Japan" "Kwajalein" "Libya" "Mexico/BajaNorte" "Mexico/BajaSur" "Mexico/General" "Navajo" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Johnston" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Ponape" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Samoa" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Truk" "Pacific/Wake" "Pacific/Wallis" "Pacific/Yap" "Poland" "Portugal" "Singapore" "Universal" "US/Alaska" "US/Aleutian" "US/Arizona" "US/Central" "US/East-Indiana" "US/Eastern" "US/Hawaii" "US/Indiana-Starke" "US/Michigan" "US/Mountain" "US/Pacific" "US/Pacific-New" "US/Samoa" |
country | string |
state | string |
city | string |
address | string |
zip_code | string |
place_id | string |
fields_updated_at | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
required | |
object (A two letter country code) | |
object (BasicExtendedAttribute) |
{- "org_id": "6d5ccc3b-bf9a-4678-a6fb-0b9f7b9eb425",
- "name": "Sample edited Farm",
- "time_zone": "America/Sao_Paulo",
- "country": "Brazil",
- "state": "MG",
- "city": "BH",
- "address": "rua",
- "zip_code": "33333-111",
- "place_id": "ChIJrTLr-GyuEmsRBfy61i59si0",
- "json_extended_attributes": {
- "name": "string"
}, - "reference_point": {
- "type": "Point",
- "coordinates": [
- 3,
- 4
]
}, - "id": "915f59f9-e351-4ab7-974a-41c347826cfa"
}
{- "org_id": "85010338-88c4-49ca-a480-79b7146c2058",
- "root_region_id": "31f8433c-ff3e-47fd-9ffd-000da1d4c2b4",
- "name": "User's Farm",
- "time_zone": "Asia/Kolkata",
- "country": "India",
- "state": "Maharashtra",
- "city": "Pune",
- "address": "Pune",
- "zip_code": "411014",
- "place_id": null,
- "json_extended_attributes": {
- "name": "string"
}, - "reference_point": {
- "type": "Point",
- "coordinates": [
- 19.7514798,
- 75.7138884
]
}, - "deleted": false,
- "id": "3aa8e4e9-9638-49f9-81f9-95f652bd89d3"
}
Get Properties by its org's Ids. If an id does not exist, it does not return it.
include_deleted | boolean Return only non-deleted or both deleted and non-deleted properties |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "0015962e-eecc-49c9-9aa4-e2a4f04068e1",
- "000228fd-5361-4964-810e-5cfa05f2f971",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "root_region_id": "ad23de56-0312-4a6c-b576-27a16ee8cc2d",
- "name": "User's Farm",
- "time_zone": "Asia/Kolkata",
- "country": null,
- "state": null,
- "city": null,
- "address": null,
- "zip_code": null,
- "place_id": null,
- "reference_point": {
- "type": "Point",
- "coordinates": [
- 20.9235175,
- 77.7673384
]
}, - "deleted": false,
- "id": "dc2b45a4-3554-4c81-ab55-635d231c2810"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Creates a property.
client-id | string |
Details of the Property to be created.
name required | string |
org_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
root_region_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
time_zone required | string (TimeZone) Enum: "Africa/Abidjan" "Africa/Accra" "Africa/Addis_Ababa" "Africa/Algiers" "Africa/Asmara" "Africa/Asmera" "Africa/Bamako" "Africa/Bangui" "Africa/Banjul" "Africa/Bissau" "Africa/Blantyre" "Africa/Brazzaville" "Africa/Bujumbura" "Africa/Cairo" "Africa/Casablanca" "Africa/Ceuta" "Africa/Conakry" "Africa/Dakar" "Africa/Dar_es_Salaam" "Africa/Djibouti" "Africa/Douala" "Africa/El_Aaiun" "Africa/Freetown" "Africa/Gaborone" "Africa/Harare" "Africa/Johannesburg" "Africa/Juba" "Africa/Kampala" "Africa/Khartoum" "Africa/Kigali" "Africa/Kinshasa" "Africa/Lagos" "Africa/Libreville" "Africa/Lome" "Africa/Luanda" "Africa/Lubumbashi" "Africa/Lusaka" "Africa/Malabo" "Africa/Maputo" "Africa/Maseru" "Africa/Mbabane" "Africa/Mogadishu" "Africa/Monrovia" "Africa/Nairobi" "Africa/Ndjamena" "Africa/Niamey" "Africa/Nouakchott" "Africa/Ouagadougou" "Africa/Porto-Novo" "Africa/Sao_Tome" "Africa/Timbuktu" "Africa/Tripoli" "Africa/Tunis" "Africa/Windhoek" "America/Adak" "America/Anchorage" "America/Anguilla" "America/Antigua" "America/Araguaina" "America/Argentina/Buenos_Aires" "America/Argentina/Catamarca" "America/Argentina/ComodRivadavia" "America/Argentina/Cordoba" "America/Argentina/Jujuy" "America/Argentina/La_Rioja" "America/Argentina/Mendoza" "America/Argentina/Rio_Gallegos" "America/Argentina/Salta" "America/Argentina/San_Juan" "America/Argentina/San_Luis" "America/Argentina/Tucuman" "America/Argentina/Ushuaia" "America/Aruba" "America/Asuncion" "America/Atikokan" "America/Atka" "America/Bahia" "America/Bahia_Banderas" "America/Barbados" "America/Belem" "America/Belize" "America/Blanc-Sablon" "America/Boa_Vista" "America/Bogota" "America/Boise" "America/Buenos_Aires" "America/Cambridge_Bay" "America/Campo_Grande" "America/Cancun" "America/Caracas" "America/Catamarca" "America/Cayenne" "America/Cayman" "America/Chicago" "America/Chihuahua" "America/Coral_Harbour" "America/Cordoba" "America/Costa_Rica" "America/Creston" "America/Cuiaba" "America/Curacao" "America/Danmarkshavn" "America/Dawson" "America/Dawson_Creek" "America/Denver" "America/Detroit" "America/Dominica" "America/Edmonton" "America/Eirunepe" "America/El_Salvador" "America/Ensenada" "America/Fort_Nelson" "America/Fort_Wayne" "America/Fortaleza" "America/Glace_Bay" "America/Godthab" "America/Goose_Bay" "America/Grand_Turk" "America/Grenada" "America/Guadeloupe" "America/Guatemala" "America/Guayaquil" "America/Guyana" "America/Halifax" "America/Havana" "America/Hermosillo" "America/Indiana/Indianapolis" "America/Indiana/Knox" "America/Indiana/Marengo" "America/Indiana/Petersburg" "America/Indiana/Tell_City" "America/Indiana/Vevay" "America/Indiana/Vincennes" "America/Indiana/Winamac" "America/Indianapolis" "America/Inuvik" "America/Iqaluit" "America/Jamaica" "America/Jujuy" "America/Juneau" "America/Kentucky/Louisville" "America/Kentucky/Monticello" "America/Knox_IN" "America/Kralendijk" "America/La_Paz" "America/Lima" "America/Los_Angeles" "America/Louisville" "America/Lower_Princes" "America/Maceio" "America/Managua" "America/Manaus" "America/Marigot" "America/Martinique" "America/Matamoros" "America/Mazatlan" "America/Mendoza" "America/Menominee" "America/Merida" "America/Metlakatla" "America/Mexico_City" "America/Miquelon" "America/Moncton" "America/Monterrey" "America/Montevideo" "America/Montreal" "America/Montserrat" "America/Nassau" "America/New_York" "America/Nipigon" "America/Nome" "America/Noronha" "America/North_Dakota/Beulah" "America/North_Dakota/Center" "America/North_Dakota/New_Salem" "America/Ojinaga" "America/Panama" "America/Pangnirtung" "America/Paramaribo" "America/Phoenix" "America/Port-au-Prince" "America/Port_of_Spain" "America/Porto_Acre" "America/Porto_Velho" "America/Puerto_Rico" "America/Rainy_River" "America/Rankin_Inlet" "America/Recife" "America/Regina" "America/Resolute" "America/Rio_Branco" "America/Rosario" "America/Santa_Isabel" "America/Santarem" "America/Santiago" "America/Santo_Domingo" "America/Sao_Paulo" "America/Scoresbysund" "America/Shiprock" "America/Sitka" "America/St_Barthelemy" "America/St_Johns" "America/St_Kitts" "America/St_Lucia" "America/St_Thomas" "America/St_Vincent" "America/Swift_Current" "America/Tegucigalpa" "America/Thule" "America/Thunder_Bay" "America/Tijuana" "America/Toronto" "America/Tortola" "America/Vancouver" "America/Virgin" "America/Whitehorse" "America/Winnipeg" "America/Yakutat" "America/Yellowknife" "Antarctica/Casey" "Antarctica/Davis" "Antarctica/DumontDUrville" "Antarctica/Macquarie" "Antarctica/Mawson" "Antarctica/McMurdo" "Antarctica/Palmer" "Antarctica/Rothera" "Antarctica/South_Pole" "Antarctica/Syowa" "Antarctica/Troll" "Antarctica/Vostok" "Arctic/Longyearbyen" "Asia/Aden" "Asia/Almaty" "Asia/Amman" "Asia/Anadyr" "Asia/Aqtau" "Asia/Aqtobe" "Asia/Ashgabat" "Asia/Ashkhabad" "Asia/Baghdad" "Asia/Bahrain" "Asia/Baku" "Asia/Bangkok" "Asia/Beirut" "Asia/Bishkek" "Asia/Brunei" "Asia/Calcutta" "Asia/Chita" "Asia/Choibalsan" "Asia/Chongqing" "Asia/Chungking" "Asia/Colombo" "Asia/Dacca" "Asia/Damascus" "Asia/Dhaka" "Asia/Dili" "Asia/Dubai" "Asia/Dushanbe" "Asia/Gaza" "Asia/Harbin" "Asia/Hebron" "Asia/Ho_Chi_Minh" "Asia/Hong_Kong" "Asia/Hovd" "Asia/Irkutsk" "Asia/Istanbul" "Asia/Jakarta" "Asia/Jayapura" "Asia/Jerusalem" "Asia/Kabul" "Asia/Kamchatka" "Asia/Karachi" "Asia/Kashgar" "Asia/Kathmandu" "Asia/Katmandu" "Asia/Khandyga" "Asia/Kolkata" "Asia/Krasnoyarsk" "Asia/Kuala_Lumpur" "Asia/Kuching" "Asia/Kuwait" "Asia/Macao" "Asia/Macau" "Asia/Magadan" "Asia/Makassar" "Asia/Manila" "Asia/Muscat" "Asia/Nicosia" "Asia/Novokuznetsk" "Asia/Novosibirsk" "Asia/Omsk" "Asia/Oral" "Asia/Phnom_Penh" "Asia/Pontianak" "Asia/Pyongyang" "Asia/Qatar" "Asia/Qyzylorda" "Asia/Rangoon" "Asia/Riyadh" "Asia/Saigon" "Asia/Sakhalin" "Asia/Samarkand" "Asia/Seoul" "Asia/Shanghai" "Asia/Singapore" "Asia/Srednekolymsk" "Asia/Taipei" "Asia/Tashkent" "Asia/Tbilisi" "Asia/Tehran" "Asia/Tel_Aviv" "Asia/Thimbu" "Asia/Thimphu" "Asia/Tokyo" "Asia/Ujung_Pandang" "Asia/Ulaanbaatar" "Asia/Ulan_Bator" "Asia/Urumqi" "Asia/Ust-Nera" "Asia/Vientiane" "Asia/Vladivostok" "Asia/Yakutsk" "Asia/Yekaterinburg" "Asia/Yerevan" "Atlantic/Azores" "Atlantic/Bermuda" "Atlantic/Canary" "Atlantic/Cape_Verde" "Atlantic/Faeroe" "Atlantic/Faroe" "Atlantic/Jan_Mayen" "Atlantic/Madeira" "Atlantic/Reykjavik" "Atlantic/South_Georgia" "Atlantic/St_Helena" "Atlantic/Stanley" "Australia/ACT" "Australia/Adelaide" "Australia/Brisbane" "Australia/Broken_Hill" "Australia/Canberra" "Australia/Currie" "Australia/Darwin" "Australia/Eucla" "Australia/Hobart" "Australia/LHI" "Australia/Lindeman" "Australia/Lord_Howe" "Australia/Melbourne" "Australia/North" "Australia/NSW" "Australia/Perth" "Australia/Queensland" "Australia/South" "Australia/Sydney" "Australia/Tasmania" "Australia/Victoria" "Australia/West" "Australia/Yancowinna" "Canada/Atlantic" "Canada/Central" "Canada/East-Saskatchewan" "Canada/Eastern" "Canada/Mountain" "Canada/Newfoundland" "Canada/Pacific" "Canada/Saskatchewan" "Canada/Yukon" "Chile/Continental" "Chile/EasterIsland" "Cuba" "Egypt" "Eire" "Europe/Amsterdam" "Europe/Andorra" "Europe/Athens" "Europe/Belfast" "Europe/Belgrade" "Europe/Berlin" "Europe/Bratislava" "Europe/Brussels" "Europe/Bucharest" "Europe/Budapest" "Europe/Busingen" "Europe/Chisinau" "Europe/Copenhagen" "Europe/Dublin" "Europe/Gibraltar" "Europe/Guernsey" "Europe/Helsinki" "Europe/Isle_of_Man" "Europe/Istanbul" "Europe/Jersey" "Europe/Kaliningrad" "Europe/Kiev" "Europe/Lisbon" "Europe/Ljubljana" "Europe/London" "Europe/Luxembourg" "Europe/Madrid" "Europe/Malta" "Europe/Mariehamn" "Europe/Minsk" "Europe/Monaco" "Europe/Moscow" "Europe/Nicosia" "Europe/Oslo" "Europe/Paris" "Europe/Podgorica" "Europe/Prague" "Europe/Riga" "Europe/Rome" "Europe/Samara" "Europe/San_Marino" "Europe/Sarajevo" "Europe/Simferopol" "Europe/Skopje" "Europe/Sofia" "Europe/Stockholm" "Europe/Tallinn" "Europe/Tirane" "Europe/Tiraspol" "Europe/Uzhgorod" "Europe/Vaduz" "Europe/Vatican" "Europe/Vienna" "Europe/Vilnius" "Europe/Volgograd" "Europe/Warsaw" "Europe/Zagreb" "Europe/Zaporozhye" "Europe/Zurich" "Greenwich" "Hongkong" "Iceland" "Indian/Antananarivo" "Indian/Chagos" "Indian/Christmas" "Indian/Cocos" "Indian/Comoro" "Indian/Kerguelen" "Indian/Mahe" "Indian/Maldives" "Indian/Mauritius" "Indian/Mayotte" "Indian/Reunion" "Iran" "Israel" "Jamaica" "Japan" "Kwajalein" "Libya" "Mexico/BajaNorte" "Mexico/BajaSur" "Mexico/General" "Navajo" "Pacific/Apia" "Pacific/Auckland" "Pacific/Bougainville" "Pacific/Chatham" "Pacific/Chuuk" "Pacific/Easter" "Pacific/Efate" "Pacific/Enderbury" "Pacific/Fakaofo" "Pacific/Fiji" "Pacific/Funafuti" "Pacific/Galapagos" "Pacific/Gambier" "Pacific/Guadalcanal" "Pacific/Guam" "Pacific/Honolulu" "Pacific/Johnston" "Pacific/Kiritimati" "Pacific/Kosrae" "Pacific/Kwajalein" "Pacific/Majuro" "Pacific/Marquesas" "Pacific/Midway" "Pacific/Nauru" "Pacific/Niue" "Pacific/Norfolk" "Pacific/Noumea" "Pacific/Pago_Pago" "Pacific/Palau" "Pacific/Pitcairn" "Pacific/Pohnpei" "Pacific/Ponape" "Pacific/Port_Moresby" "Pacific/Rarotonga" "Pacific/Saipan" "Pacific/Samoa" "Pacific/Tahiti" "Pacific/Tarawa" "Pacific/Tongatapu" "Pacific/Truk" "Pacific/Wake" "Pacific/Wallis" "Pacific/Yap" "Poland" "Portugal" "Singapore" "Universal" "US/Alaska" "US/Aleutian" "US/Arizona" "US/Central" "US/East-Indiana" "US/Eastern" "US/Hawaii" "US/Indiana-Starke" "US/Michigan" "US/Mountain" "US/Pacific" "US/Pacific-New" "US/Samoa" |
country | string |
state | string |
city | string |
address | string |
zip_code | string |
place_id | string |
fields_updated_at | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
required | |
object (A two letter country code) | |
object (BasicExtendedAttribute) |
{- "org_id": "6d5ccc3b-bf9a-4678-a6fb-0b9f7b9eb425",
- "name": "Sample Farm",
- "time_zone": "America/Sao_Paulo",
- "country": "Brazil",
- "state": "MG",
- "city": "BH",
- "address": "rua",
- "zip_code": "33333-111",
- "place_id": "ChIJrTLr-GyuEmsRBfy61i59si0",
- "json_extended_attributes": {
- "name": "string"
}, - "reference_point": {
- "type": "Point",
- "coordinates": [
- 3,
- 4
]
}
}
{- "org_id": "85010338-88c4-49ca-a480-79b7146c2058",
- "root_region_id": "cd492bb0-161c-4c98-923c-2f746cb8e5ce",
- "name": "New Property",
- "time_zone": "Asia/Kolkata",
- "country": "India",
- "state": "MH",
- "city": "Amravati",
- "address": "New Address",
- "zip_code": "444606",
- "place_id": null,
- "json_extended_attributes": {
- "name": "string"
}, - "reference_point": {
- "type": "Point",
- "coordinates": [
- 20.9234911,
- 77.7680833
]
}, - "deleted": false,
- "id": "76b74b0d-3143-45c9-9fa2-f9a9843b8b02"
}
Associate/dissociate properties and/or fields to/from a Season.
season_id required | string |
required | Array of objects (A season-land operation) |
{- "updates": [
- {
- "operation": "create",
- "land": {
- "properties": [
- {
- "id": "76fb58fe-1a0e-4681-a5b6-8f8dab5431be"
}
], - "fields": [
- {
- "id": "fec847e9-2909-4548-a3ea-772c29a62787",
- "planting_date": "2019-10-02T15:00:00Z",
- "emergency_date": "2020-08-02T15:00:00Z",
- "harvesting_date": "2020-10-02T15:00:00Z",
- "start_date": "2019-10-02T15:00:00Z",
- "end_date": "2020-10-02T15:00:00Z",
- "varieties_ids": [
- "010b7b54-e006-4afc-a843-436b909ce90d"
]
}
]
}
}, - {
- "operation": "remove",
- "land": {
- "properties": [
- {
- "id": "08ac19fb-14c8-457e-893f-95e054cc98a3"
}
], - "fields": [
- {
- "id": "89c8e4e5-2230-4366-80a0-ef0bd8ec37c0"
}
]
}
}
]
}
List the Season/Property relationship of the specified Season and optionally the Season/Field relationship for each Season/Property.
season_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
{- "content": [
- {
- "season_id": "d06e2de7-6b50-4dda-853e-ab7952def05f",
- "deleted": false,
- "id": "dc2b45a4-3554-4c81-ab55-635d231c2810"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
List the Season/Field relationship for specifieds Seasons. It can be filtered by passing a property id. If none is passed, no season field is filtered.
include_deleted | boolean Return only non-deleted or both deleted and non-deleted organizations |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
{- "properties_by_season": [
- {
- "season_id": "77d056b9-06af-4db1-a177-2310cd1ba62e",
- "property_ids": [
- "77d056b9-06af-4db1-a177-2310cd1ba62e",
- "2b303caa-2dd9-49ae-addc-3b30a9c85a75",
- "c7bdc03d-2257-44a3-b2a2-62b8223e42f7",
- "85ed3cee-6a91-4b4b-b4b8-d285ab62e6b1",
- "1b656569-47fb-4da7-a350-8e601167eb2d"
]
}
]
}
{- "content": [
- {
- "season_id": "d06e2de7-6b50-4dda-853e-ab7952def05f",
- "property_id": "dc2b45a4-3554-4c81-ab55-635d231c2810",
- "deleted": false,
- "varieties_ids": [
- "a55e72ad-5be9-41ed-832b-5d6f61c67cf2"
], - "planting_date": "2020-04-01T09:06:26.000+0000",
- "emergency_date": "2020-06-01T09:06:26.000+0000",
- "harvesting_date": "2020-07-31T09:06:26.000+0000",
- "start_date": "2020-04-01T09:06:26.000+0000",
- "end_date": "2020-07-31T09:06:26.000+0000",
- "id": "027f565b-77f8-49d2-82e9-5ed452e2cb85"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Associate/dissociate properties and/or fields to/from each Season.
required | Array of objects (A season-land batch operation) |
{- "batch": [
- {
- "season_id": "b5f51a97-c2e4-427f-bced-c384cae3b161",
- "updates": [
- {
- "operation": "create",
- "land": {
- "properties": [
- {
- "id": "76fb58fe-1a0e-4681-a5b6-8f8dab5431be"
}
], - "fields": [
- {
- "id": "fec847e9-2909-4548-a3ea-772c29a62787",
- "planting_date": "2019-10-02T15:00:00Z",
- "emergency_date": "2020-08-02T15:00:00Z",
- "harvesting_date": "2020-10-02T15:00:00Z",
- "start_date": "2019-10-02T15:00:00Z",
- "end_date": "2020-10-02T15:00:00Z",
- "varieties_ids": [
- "010b7b54-e006-4afc-a843-436b909ce90d"
]
}
]
}
}, - {
- "operation": "remove",
- "land": {
- "properties": [
- {
- "id": "08ac19fb-14c8-457e-893f-95e054cc98a3"
}
], - "fields": [
- {
- "id": "89c8e4e5-2230-4366-80a0-ef0bd8ec37c0"
}
]
}
}
]
}
]
}
Get the history of region by id
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 UUID from region |
include_deleted | boolean True to fetch deleted area |
since | string <date-time> (String with a date format) Example: since=2019-10-02 Date in format ISO "yyyy-MM-ddTHH:mm:ssZ", Start date of area history |
until | string <date-time> (String with a date format) Example: until=2019-10-02 Date in format ISO "yyyy-MM-ddTHH:mm:ssZ", End date of area history |
{- "current": {
- "calculated_area": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "declared_area": 0,
- "deleted_at": "2019-08-24T14:15:22Z",
- "event_date": "2019-08-24T14:15:22Z",
- "geometry": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "last_modified": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",
- "reference_point": "string",
- "version_id": "9e94c502-ca41-4342-a7f7-af96b444512c"
}, - "history": [
- {
- "calculated_area": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "declared_area": 0,
- "deleted_at": "2019-08-24T14:15:22Z",
- "event_date": "2019-08-24T14:15:22Z",
- "geometry": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "last_modified": "2019-08-24T14:15:22Z",
- "name": "string",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "property_id": "05003a8a-8f3c-454b-8884-a906ec46f5f5",
- "reference_point": "string",
- "version_id": "9e94c502-ca41-4342-a7f7-af96b444512c"
}
]
}
Create a Region
.
The request is executed asynchronously, so at the end of the request the process may not be completed.
client-id | string |
name required | string |
parent_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
property_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
calculated_area | number |
declared_area required | number |
object (BasicExtendedAttribute) | |
event_date | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
{- "name": "region35",
- "property_id": "2e5e26a4-95d8-4198-83eb-3bcfc62f95e3",
- "parent_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "calculated_area": 2.5,
- "declared_area": "30",
- "event_date": "2019-10-02T15:00:00.000Z",
- "json_extended_attributes": {
- "name": "string"
}, - "geometry": {
- "type": "Feature",
- "properties": {
- "name": "Example"
}, - "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -78.3984375,
- 59.35559611001632
], - [
- -69.2578125,
- 48.45835188280866
], - [
- -34.453125,
- 51.17934297928928
], - [
- -34.80468749999999,
- 64.47279382008166
], - [
- -78.3984375,
- 59.35559611001632
]
]
]
}
}, - "reference_point": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -78.3984375,
- 59.35559611001632
], - [
- -69.2578125,
- 48.45835188280866
], - [
- -34.453125,
- 51.17934297928928
], - [
- -34.80468749999999,
- 64.47279382008166
], - [
- -78.3984375,
- 59.35559611001632
]
]
]
}
}
{- "id": "b152e9b1-f858-4f89-83ca-be18054c8048",
- "name": "region35",
- "parent_id": "20b014b1-e81e-4a4f-991e-e8db908aee42",
- "property_id": "2e5e26a4-95d8-4198-83eb-3bcfc62f95e3",
- "declared_area": 30,
- "calculated_area": 2.5,
- "event_date": "2019-10-02T15:00:00.000Z",
- "json_extended_attributes": {
- "name": "string"
}, - "geometry": {
- "type": "Feature",
- "properties": {
- "name": "Example"
}, - "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -78.3984375,
- 59.35559611001632
], - [
- -69.2578125,
- 48.45835188280866
], - [
- -34.453125,
- 51.17934297928928
], - [
- -34.80468749999999,
- 64.47279382008166
], - [
- -78.3984375,
- 59.35559611001632
]
]
]
}
}, - "reference_point": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -78.3984375,
- 59.35559611001632
], - [
- -69.2578125,
- 48.45835188280866
], - [
- -34.453125,
- 51.17934297928928
], - [
- -34.80468749999999,
- 64.47279382008166
], - [
- -78.3984375,
- 59.35559611001632
]
]
]
}
}
Get the fields of an specified region
regionId required | object <uuid> (UUID Canonical textual representation) Recursive Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
reference_date | string <date-time> (String with a date format) Example: reference_date=2019-10-02 Filter on reference_date |
[- {
- "name": "region35",
- "parent_region_id": "20b014b1-e81e-4a4f-991e-e8db908aee42",
- "property_id": "2e5e26a4-95d8-4198-83eb-3bcfc62f95e3",
- "region_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "declared_area": 30,
- "geometry": {
- "type": "Feature",
- "properties": {
- "name": "Example"
}, - "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -78.3984375,
- 59.35559611001632
], - [
- -69.2578125,
- 48.45835188280866
], - [
- -34.453125,
- 51.17934297928928
], - [
- -34.80468749999999,
- 64.47279382008166
], - [
- -78.3984375,
- 59.35559611001632
]
]
]
}
}, - "reference_point": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -78.3984375,
- 59.35559611001632
], - [
- -69.2578125,
- 48.45835188280866
], - [
- -34.453125,
- 51.17934297928928
], - [
- -34.80468749999999,
- 64.47279382008166
], - [
- -78.3984375,
- 59.35559611001632
]
]
]
}, - "tags": [
- "string"
]
}
]
Delete a region's version. The request is executed asynchronously, so at the end of the request the process may not be completed.
id required | object <uuid> (UUID Canonical textual representation) Recursive Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 UUID from region |
version_id required | object <uuid> (UUID Canonical textual representation) Recursive Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 UUID from region versioning |
Get the parentRegion of an specified region
regionId required | object <uuid> (UUID Canonical textual representation) Recursive Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
reference_date | string <date-time> (String with a date format) Example: reference_date=2019-10-02 Filter on reference_date |
{- "id": "b152e9b1-f858-4f89-83ca-be18054c8048",
- "name": "region35 new",
- "parent_id": "20b014b1-e81e-4a4f-991e-e8db908aee42",
- "property_id": "2e5e26a4-95d8-4198-83eb-3bcfc62f95e3",
- "declared_area": 40,
- "calculated_area": 2.5,
- "geometry": {
- "type": "Feature",
- "properties": {
- "name": "Example"
}, - "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -78.3984375,
- 59.35559611001632
], - [
- -69.2578125,
- 48.45835188280866
], - [
- -34.453125,
- 51.17934297928928
], - [
- -34.80468749999999,
- 64.47279382008166
], - [
- -78.3984375,
- 59.35559611001632
]
]
]
}
}, - "reference_point": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -78.3984375,
- 59.35559611001632
], - [
- -69.2578125,
- 48.45835188280866
], - [
- -34.453125,
- 51.17934297928928
], - [
- -34.80468749999999,
- 64.47279382008166
], - [
- -78.3984375,
- 59.35559611001632
]
]
]
}
}
Get the regionTree of an specified region
regionId required | object <uuid> (UUID Canonical textual representation) Recursive Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
reference_date | string <date-time> (String with a date format) Example: reference_date=2019-10-02 Filter on reference_date |
{- "calculated_area": null,
- "children_region": [
- {
- "calculated_area": 0,
- "children_region": [ ],
- "created_at": "2021-04-27T23:22:09.000Z",
- "declared_area": 50,
- "deleted_at": null,
- "fields": [
- {
- "declared_area": 2.06,
- "geometry": {
- "type": "Feature",
- "properties": {
- "name": "Example"
}, - "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -78.3984375,
- 59.35559611001632
], - [
- -69.2578125,
- 48.45835188280866
], - [
- -34.453125,
- 51.17934297928928
], - [
- -34.80468749999999,
- 64.47279382008166
], - [
- -78.3984375,
- 59.35559611001632
]
]
]
}
}, - "id": "2267331b-c31f-4781-a5ea-0ba84c0381de",
- "name": "Field26",
- "parent_region_id": "b04be56c-c865-4130-8a7e-422432a7bf61",
- "property_id": "593b6155-d5b1-4876-9885-3bc3ea0409de",
- "tags": [ ]
}, - {
- "declared_area": 2.06,
- "id": "ccda1db8-8722-436a-8d83-9cbbd4883834",
- "name": "Field25",
- "parent_region_id": "b04be56c-c865-4130-8a7e-422432a7bf61",
- "property_id": "593b6155-d5b1-4876-9885-3bc3ea0409de",
- "tags": [ ]
}
], - "id": "b04be56c-c865-4130-8a7e-422432a7bf61",
- "last_modified": "2021-04-28T03:23:30.000Z",
- "name": "test field",
- "parent_id": "b327eff3-629a-436c-bdf3-232239aaf33e",
- "property_id": "593b6155-d5b1-4876-9885-3bc3ea0409de"
}
], - "created_at": "2021-03-24T23:42:33.000Z",
- "declared_area": null,
- "deleted_at": null,
- "fields": [ ],
- "id": "b327eff3-629a-436c-bdf3-232239aaf33e",
- "last_modified": "2021-04-29T02:23:59.000Z",
- "name": "ajays region",
- "parent_id": null,
- "property_id": "593b6155-d5b1-4876-9885-3bc3ea0409de"
}
Get the Region of an specified region
regionId required | object <uuid> (UUID Canonical textual representation) Recursive Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
reference_date | string <date-time> (String with a date format) Example: reference_date=2019-10-02 Filter on reference_date |
[- {
- "id": "b152e9b1-f858-4f89-83ca-be18054c8048",
- "name": "region35",
- "parent_id": "20b014b1-e81e-4a4f-991e-e8db908aee42",
- "property_id": "2e5e26a4-95d8-4198-83eb-3bcfc62f95e3",
- "declared_area": 30,
- "calculated_area": 2.5,
- "geometry": {
- "type": "Feature",
- "properties": {
- "name": "Example"
}, - "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -78.3984375,
- 59.35559611001632
], - [
- -69.2578125,
- 48.45835188280866
], - [
- -34.453125,
- 51.17934297928928
], - [
- -34.80468749999999,
- 64.47279382008166
], - [
- -78.3984375,
- 59.35559611001632
]
]
]
}
}, - "reference_point": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -78.3984375,
- 59.35559611001632
], - [
- -69.2578125,
- 48.45835188280866
], - [
- -34.453125,
- 51.17934297928928
], - [
- -34.80468749999999,
- 64.47279382008166
], - [
- -78.3984375,
- 59.35559611001632
]
]
]
}
}
]
Get the specified Region details.
id required | object <uuid> (UUID Canonical textual representation) Recursive Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "id": "b152e9b1-f858-4f89-83ca-be18054c8048",
- "name": "region35",
- "parent_id": "20b014b1-e81e-4a4f-991e-e8db908aee42",
- "property_id": "2e5e26a4-95d8-4198-83eb-3bcfc62f95e3",
- "declared_area": 30,
- "calculated_area": 2.5,
- "geometry": {
- "type": "Feature",
- "properties": {
- "name": "Example"
}, - "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -78.3984375,
- 59.35559611001632
], - [
- -69.2578125,
- 48.45835188280866
], - [
- -34.453125,
- 51.17934297928928
], - [
- -34.80468749999999,
- 64.47279382008166
], - [
- -78.3984375,
- 59.35559611001632
]
]
]
}
}, - "reference_point": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -78.3984375,
- 59.35559611001632
], - [
- -69.2578125,
- 48.45835188280866
], - [
- -34.453125,
- 51.17934297928928
], - [
- -34.80468749999999,
- 64.47279382008166
], - [
- -78.3984375,
- 59.35559611001632
]
]
]
}
}
Edits an existing Region
with the specified id.
The event_date
param will define if the region will be edit or will create a new version.
The request is executed asynchronously, so at the end of the request the process may not be completed.
id required | object <uuid> (UUID Canonical textual representation) Recursive Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
client-id | string |
Details of the Region to be updated.
type required | string Value: "Feature" |
id required | object <uuid> A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
required | |
object (Region Properties) Identified structure that represents all the feature characteristics and its parenthood relationship. If the If the | |
event_date | string <date-time> Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
name required | string |
parent_id required | object <uuid> (UUID Canonical textual representation) Recursive A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
property_id required | object <uuid> (UUID Canonical textual representation) Recursive A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
calculated_area | number |
declared_area required | number |
object (BasicExtendedAttribute) |
{- "name": "region35 new",
- "parent_id": "20b014b1-e81e-4a4f-991e-e8db908aee42",
- "property_id": "2e5e26a4-95d8-4198-83eb-3bcfc62f95e3",
- "declared_area": 40,
- "event_date": "2019-10-02T00:00:00.000Z",
- "calculated_area": 2.5,
- "json_extended_attributes": {
- "name": "string"
}, - "geometry": {
- "type": "Feature",
- "properties": {
- "name": "Example"
}, - "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -78.3984375,
- 59.35559611001632
], - [
- -69.2578125,
- 48.45835188280866
], - [
- -34.453125,
- 51.17934297928928
], - [
- -34.80468749999999,
- 64.47279382008166
], - [
- -78.3984375,
- 59.35559611001632
]
]
]
}
}, - "reference_point": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -78.3984375,
- 59.35559611001632
], - [
- -69.2578125,
- 48.45835188280866
], - [
- -34.453125,
- 51.17934297928928
], - [
- -34.80468749999999,
- 64.47279382008166
], - [
- -78.3984375,
- 59.35559611001632
]
]
]
}
}
{- "id": "b152e9b1-f858-4f89-83ca-be18054c8048",
- "name": "region35 new",
- "parent_id": "20b014b1-e81e-4a4f-991e-e8db908aee42",
- "property_id": "2e5e26a4-95d8-4198-83eb-3bcfc62f95e3",
- "declared_area": 40,
- "calculated_area": 2.5,
- "event_date": "2019-10-02T00:00:00.000Z",
- "json_extended_attributes": {
- "name": "string"
}, - "geometry": {
- "type": "Feature",
- "properties": {
- "name": "Example"
}, - "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -78.3984375,
- 59.35559611001632
], - [
- -69.2578125,
- 48.45835188280866
], - [
- -34.453125,
- 51.17934297928928
], - [
- -34.80468749999999,
- 64.47279382008166
], - [
- -78.3984375,
- 59.35559611001632
]
]
]
}
}, - "reference_point": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -78.3984375,
- 59.35559611001632
], - [
- -69.2578125,
- 48.45835188280866
], - [
- -34.453125,
- 51.17934297928928
], - [
- -34.80468749999999,
- 64.47279382008166
], - [
- -78.3984375,
- 59.35559611001632
]
]
]
}
}
Delete the specified Region
.
The request is executed asynchronously, so at the end of the request the process may not be completed.
id required | object <uuid> (UUID Canonical textual representation) Recursive Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
Get the Regions by its ids
include_deleted | boolean Return only non-deleted or both deleted and non-deleted regions |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
reference_date | string <date-time> (String with a date format) Example: reference_date=2019-10-02 Filter on reference_date |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "id": "b152e9b1-f858-4f89-83ca-be18054c8048",
- "name": "region35",
- "parent_id": "20b014b1-e81e-4a4f-991e-e8db908aee42",
- "property_id": "2e5e26a4-95d8-4198-83eb-3bcfc62f95e3",
- "declared_area": 30,
- "calculated_area": 2.5,
- "geometry": {
- "type": "Feature",
- "properties": {
- "name": "Example"
}, - "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -78.3984375,
- 59.35559611001632
], - [
- -69.2578125,
- 48.45835188280866
], - [
- -34.453125,
- 51.17934297928928
], - [
- -34.80468749999999,
- 64.47279382008166
], - [
- -78.3984375,
- 59.35559611001632
]
]
]
}
}, - "reference_point": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- -78.3984375,
- 59.35559611001632
], - [
- -69.2578125,
- 48.45835188280866
], - [
- -34.453125,
- 51.17934297928928
], - [
- -34.80468749999999,
- 64.47279382008166
], - [
- -78.3984375,
- 59.35559611001632
]
]
]
}
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Get the Region of an specified property
propertyId required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
extra_attribute | string Filtered by multiple key-value pair "name":"some-name","type":"some-type" |
include_extended required | boolean Filtered extra-Attribute only if include_extended = true |
client-id | string |
[- {
- "id": "b152e9b1-f858-4f89-83ca-be18054c8048",
- "name": "region35",
- "parent_id": "20b014b1-e81e-4a4f-991e-e8db908aee42",
- "property_id": "2e5e26a4-95d8-4198-83eb-3bcfc62f95e3",
- "event_date": "2019-10-02T00:00:00.000Z"
}
]
A regions batch that can be created, updated or deleted. The request is executed asynchronously, so at the end of the request the process may not be completed.
property_id required | object <uuid> (UUID Canonical textual representation) Example: 42
|
version | string (Object version) Value: "v1" Version of the request object |
strict | boolean (Strict mode) If enabled, the request either succeeds completely or fails completely. If disabled, regions which can be changed will be changed, and the others will return an error, indicated individually by region in the response. |
relative_root | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
format required | string Value: "geojson" Currently supports only GeoJSON in with the property schema listed below. |
required | object (Region Collection) GeoJSON Feature collection |
{- "version": "v1",
- "strict": true,
- "relative_root": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "format": "geojson",
- "region_set": {
- "type": "FeatureCollection",
- "features": [
- {
- "type": "Feature",
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "geometry": {
- "type": "string"
}, - "properties": {
- "name": "string",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "operation": "create",
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "declared_area": 0,
- "max_cut_out": 0,
- "buffer_zone": 0
}, - "event_date": "2019-10-02",
- "name": "string",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "property_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "calculated_area": 0,
- "declared_area": 0,
- "reference_point": {
- "type": "string",
- "coordinates": [
- 0,
- 0
]
}, - "json_extended_attributes": {
- "name": "string"
}
}
]
}
}
{- "status": "FULLY_ACCEPTED",
- "errors": [ ]
}
Return the roles of an account
account_id required | string Account ID. |
last_key | string |
size | integer |
{- "content": [
- {
- "id": "account:a13924d5-cb9d-47a3-96d9-b31a169e6e09/system/WorkspaceOwner/crn:workspace:636f56f2-e0db-415c-8d31-237931c9e9b7",
- "account_id": "a13924d5-cb9d-47a3-96d9-b31a169e6e09",
- "role_id": "WorkspaceOwner",
- "name": "Workspace Owner",
- "context": "system",
- "version": 13,
- "level": "workspace",
- "resource_attachment": "crn:workspace:636f56f2-e0db-415c-8d31-237931c9e9b7",
- "resources": [
- "crn:workspace:636f56f2-e0db-415c-8d31-237931c9e9b7",
- "crn:workspace:636f56f2-e0db-415c-8d31-237931c9e9b7/org/*"
]
}
], - "pageable": {
- "current_key": null,
- "size": 2500,
- "next_key": null
}, - "number_of_elements": 1,
- "last": true,
- "first": true,
- "empty": false
}
Return the roles of accounts
last_key | string |
size | integer |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "id": "account:a13924d5-cb9d-47a3-96d9-b31a169e6e09/system/WorkspaceOwner/crn:workspace:636f56f2-e0db-415c-8d31-237931c9e9b7",
- "account_id": "a13924d5-cb9d-47a3-96d9-b31a169e6e09",
- "role_id": "WorkspaceOwner",
- "name": "Workspace Owner",
- "context": "system",
- "version": 13,
- "level": "workspace",
- "resource_attachment": "crn:workspace:636f56f2-e0db-415c-8d31-237931c9e9b7",
- "resources": [
- "crn:workspace:636f56f2-e0db-415c-8d31-237931c9e9b7",
- "crn:workspace:636f56f2-e0db-415c-8d31-237931c9e9b7/org/*"
]
}
], - "pageable": {
- "current_key": null,
- "size": 2500,
- "next_key": null
}, - "number_of_elements": 1,
- "last": true,
- "first": true,
- "empty": false
}
Get Cycle's Seasons
cycleId required | string Cycle ID. |
include_deleted | boolean |
{- "content": [
- {
- "name": "Wheat season 2020",
- "start_date": "2019-12-01T08:24:28.000+0000",
- "end_date": "2020-05-31T08:24:28.000+0000",
- "crop_id": "5ae35c1e-35f1-4c67-ba05-997c5191759f",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": false,
- "deleted": false,
- "json_extended_attributes": {
- "name": "string"
}, - "id": "6dba7432-fc66-4659-b4af-91e8a8ab021a"
}, - {
- "name": "Watermelon season 2020",
- "start_date": "2020-04-01T09:06:26.000+0000",
- "end_date": "2020-07-31T09:06:26.000+0000",
- "crop_id": "6d5203f7-2b5c-485e-a6f8-b080ef1cf1a9",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": true,
- "deleted": false,
- "json_extended_attributes": {
- "name": "string"
}, - "id": "d06e2de7-6b50-4dda-853e-ab7952def05f"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 2,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 2,
- "size": 2000,
- "number": 0,
- "empty": false
}
Attach/Deattach Cycle's season
cycleId required | string Cycle ID. |
required | Array of objects (OperationAttachSeasonDTO) |
{- "updates": [
- {
- "operation": "ADD",
- "season": "fd41e610-6a1d-490a-a754-65932a930824"
}, - {
- "operation": "remove",
- "season": "aa9e6626-1b9b-4073-8337-b20615becc37"
}
]
}
{- "accepted_seasons": [
- {
- "season_id": "fd41e610-6a1d-490a-a754-65932a930824",
- "operation": "ADD"
}
], - "refused_seasons": [
- {
- "season_id": "aa9e6626-1b9b-4073-8337-b20615becc37",
- "operation"": "remove",
- "error": "The Season and Cycle must belong to the same organization"
}
]
}
Get Current Season by Field Id
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
include_extended | boolean |
client-id | string |
{- "name": "Watermelon season 2020",
- "start_date": "2020-04-01T09:06:26.000+0000",
- "end_date": "2020-07-31T09:06:26.000+0000",
- "crop_id": "6d5203f7-2b5c-485e-a6f8-b080ef1cf1a9",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": true,
- "deleted": false,
- "json_extended_attributes": {
- "name": "string"
}, - "id": "d06e2de7-6b50-4dda-853e-ab7952def05f"
}
Get Seasons by Field Id
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "content": [
- {
- "created_at": "2020-09-28T01:46:15.000+0000",
- "updated_at": "2020-09-28T03:04:08.000+0000",
- "season_id": "a174fce8-ef67-495f-aa0b-3af06ef8985f",
- "property_id": "3275eda0-7f32-47f0-98dd-835a878f0257",
- "deleted": false,
- "varieties_ids": [
- "37942bf2-ccbd-4981-a2c8-6ffa2d84de0e"
], - "planting_date": "2020-09-01T04:00:00.000+0000",
- "harvesting_date": null,
- "emergency_date": "2020-09-06T04:00:00.000+0000",
- "start_date": "2020-09-01T04:00:00.000+0000",
- "end_date": "2021-08-31T04:00:00.000+0000",
- "id": "9d31a5e7-49e4-4d11-add6-04f732405038"
}, - {
- "created_at": "2020-09-11T21:01:17.000+0000",
- "updated_at": "2020-09-28T01:32:52.000+0000",
- "season_id": "0807528e-6b9e-4400-ae23-49cc301c8225",
- "property_id": "3275eda0-7f32-47f0-98dd-835a878f0257",
- "deleted": true,
- "varieties_ids": [
- "a38ef304-c0d5-45ef-8203-a4da68ffd6fc"
], - "planting_date": "2020-08-28T04:00:00.000+0000",
- "harvesting_date": null,
- "emergency_date": "2020-09-02T04:00:00.000+0000",
- "start_date": "2020-08-28T04:00:00.000+0000",
- "end_date": "2021-03-31T04:00:00.000+0000",
- "id": "9d31a5e7-49e4-4d11-add6-04f732405038"
}
], - "pageable": {
- "sort": {
- "unsorted": true,
- "sorted": false,
- "empty": true
}, - "offset": 0,
- "page_number": 0,
- "page_size": 2147483647,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 2,
- "last": true,
- "size": 2147483647,
- "number": 0,
- "first": true,
- "sort": {
- "unsorted": true,
- "sorted": false,
- "empty": true
}, - "number_of_elements": 2,
- "empty": false
}
Gets all seasons of an Organization with ExtendedAttribute
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
include_extended | boolean |
extra_attribute | string Filtered by multiple key-value pair "name":"some-name","type":"some-type" |
client-id | string |
{- "content": [
- {
- "name": "Wheat season 2020",
- "start_date": "2019-12-01T08:24:28.000+0000",
- "end_date": "2020-05-31T08:24:28.000+0000",
- "crop_id": "5ae35c1e-35f1-4c67-ba05-997c5191759f",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": false,
- "deleted": false,
- "json_extended_attributes": {
- "name": "season1"
}, - "id": "6dba7432-fc66-4659-b4af-91e8a8ab021a"
}, - {
- "name": "Watermelon season 2020",
- "start_date": "2020-04-01T09:06:26.000+0000",
- "end_date": "2020-07-31T09:06:26.000+0000",
- "crop_id": "6d5203f7-2b5c-485e-a6f8-b080ef1cf1a9",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": true,
- "deleted": false,
- "json_extended_attributes": {
- "name": "season1"
}, - "id": "d06e2de7-6b50-4dda-853e-ab7952def05f"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 2,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 2,
- "size": 2000,
- "number": 0,
- "empty": false
}
Gets all seasons of an Organization
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
include_extended | boolean |
client-id | string |
{- "content": [
- {
- "name": "Wheat season 2020",
- "start_date": "2019-12-01T08:24:28.000+0000",
- "end_date": "2020-05-31T08:24:28.000+0000",
- "crop_id": "5ae35c1e-35f1-4c67-ba05-997c5191759f",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": false,
- "deleted": false,
- "json_extended_attributes": {
- "name": "string"
}, - "id": "6dba7432-fc66-4659-b4af-91e8a8ab021a"
}, - {
- "name": "Watermelon season 2020",
- "start_date": "2020-04-01T09:06:26.000+0000",
- "end_date": "2020-07-31T09:06:26.000+0000",
- "crop_id": "6d5203f7-2b5c-485e-a6f8-b080ef1cf1a9",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": true,
- "deleted": false,
- "json_extended_attributes": {
- "name": "string"
}, - "id": "d06e2de7-6b50-4dda-853e-ab7952def05f"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 2,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 2,
- "size": 2000,
- "number": 0,
- "empty": false
}
Get Seasons by its org's Ids. If an id does not exist, it does not return it.
include_deleted | boolean Return only non-deleted or both deleted and non-deleted seasons |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "name": "Wheat season 2020",
- "start_date": "2019-12-01T08:24:28.000+0000",
- "end_date": "2020-05-31T08:24:28.000+0000",
- "crop_id": "5ae35c1e-35f1-4c67-ba05-997c5191759f",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": false,
- "deleted": false,
- "json_extended_attributes": {
- "name": "string"
}, - "id": "6dba7432-fc66-4659-b4af-91e8a8ab021a"
}, - {
- "name": "Watermelon season 2020",
- "start_date": "2020-04-01T09:06:26.000+0000",
- "end_date": "2020-07-31T09:06:26.000+0000",
- "crop_id": "6d5203f7-2b5c-485e-a6f8-b080ef1cf1a9",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": true,
- "deleted": false,
- "json_extended_attributes": {
- "name": "string"
}, - "id": "d06e2de7-6b50-4dda-853e-ab7952def05f"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 2,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 2,
- "size": 2000,
- "number": 0,
- "empty": false
}
Get the seasons of a specified property
property_id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
{- "content": {
- "id": "d06e2de7-6b50-4dda-853e-ab7952def05f",
- "name": "Watermelon season 2020",
- "start_date": "2020-04-01T09:06:26.418+0000",
- "end_date": "2020-07-31T09:06:26.418+0000",
- "crop_id": "6d5203f7-2b5c-485e-a6f8-b080ef1cf1a9",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": true,
- "deleted": false
}, - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false,
- "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sorted": false,
- "unsorted": true,
- "empty": true
}
}
List the Season/Field relationship of the specified Season. It can be filtered using a query parameter to specify a Property.
season_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
property_id | string An UUID |
{- "content": [
- {
- "season_id": "d06e2de7-6b50-4dda-853e-ab7952def05f",
- "property_id": "dc2b45a4-3554-4c81-ab55-635d231c2810",
- "deleted": false,
- "varieties_ids": [
- "a55e72ad-5be9-41ed-832b-5d6f61c67cf2"
], - "planting_date": "2020-04-01T09:06:26.000+0000",
- "emergency_date": "2020-06-01T09:06:26.000+0000",
- "harvesting_date": "2020-07-31T09:06:26.000+0000",
- "start_date": "2020-04-01T09:06:26.000+0000",
- "end_date": "2020-07-31T09:06:26.000+0000",
- "id": "027f565b-77f8-49d2-82e9-5ed452e2cb85"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Associate/dissociate properties and/or fields to/from a Season.
season_id required | string |
required | Array of objects (A season-land operation) |
{- "updates": [
- {
- "operation": "create",
- "land": {
- "properties": [
- {
- "id": "76fb58fe-1a0e-4681-a5b6-8f8dab5431be"
}
], - "fields": [
- {
- "id": "fec847e9-2909-4548-a3ea-772c29a62787",
- "planting_date": "2019-10-02T15:00:00Z",
- "emergency_date": "2020-08-02T15:00:00Z",
- "harvesting_date": "2020-10-02T15:00:00Z",
- "start_date": "2019-10-02T15:00:00Z",
- "end_date": "2020-10-02T15:00:00Z",
- "varieties_ids": [
- "010b7b54-e006-4afc-a843-436b909ce90d"
]
}
]
}
}, - {
- "operation": "remove",
- "land": {
- "properties": [
- {
- "id": "08ac19fb-14c8-457e-893f-95e054cc98a3"
}
], - "fields": [
- {
- "id": "89c8e4e5-2230-4366-80a0-ef0bd8ec37c0"
}
]
}
}
]
}
List the Season/Property relationship of the specified Season and optionally the Season/Field relationship for each Season/Property.
season_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
{- "content": [
- {
- "season_id": "d06e2de7-6b50-4dda-853e-ab7952def05f",
- "deleted": false,
- "id": "dc2b45a4-3554-4c81-ab55-635d231c2810"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Gets the specified Season details.
season_id required | string |
include_extended | boolean |
client-id | string |
{- "name": "Watermelon season 2020",
- "start_date": "2020-04-01T09:06:26.000+0000",
- "end_date": "2020-07-31T09:06:26.000+0000",
- "crop_id": "6d5203f7-2b5c-485e-a6f8-b080ef1cf1a9",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": true,
- "deleted": false,
- "json_extended_attributes": {
- "name": "string"
}, - "id": "d06e2de7-6b50-4dda-853e-ab7952def05f"
}
Update the specified Season.
season_id required | string |
client-id | string |
Details of the Season to be updated.
id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
active | boolean |
deleted | boolean |
name required | string |
org_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
start_date | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
end_date | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
crop_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "name": "Apple season 2020",
- "start_date": "2020-06-01T12:13:37.000+0000",
- "end_date": "2020-07-28T12:13:37.000+0000",
- "crop_id": "09616ba5-c12d-4028-a1f6-5f10ca2a4ff0",
- "org_id": "85010338-88c4-49ca-a480-79b7146c2058",
- "active": true,
- "deleted": false,
- "json_extended_attributes": {
- "name": "string"
}, - "id": "bbb41ba0-a337-4949-9959-ed371d04ebbc"
}
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "active": true,
- "deleted": true,
- "name": "string",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "start_date": "2019-10-02",
- "end_date": "2019-10-02",
- "crop_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}
List the Season/Field relationship for specifieds Seasons. It can be filtered by passing a property id. If none is passed, no season field is filtered.
include_deleted | boolean Return only non-deleted or both deleted and non-deleted organizations |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
{- "properties_by_season": [
- {
- "season_id": "77d056b9-06af-4db1-a177-2310cd1ba62e",
- "property_ids": [
- "77d056b9-06af-4db1-a177-2310cd1ba62e",
- "2b303caa-2dd9-49ae-addc-3b30a9c85a75",
- "c7bdc03d-2257-44a3-b2a2-62b8223e42f7",
- "85ed3cee-6a91-4b4b-b4b8-d285ab62e6b1",
- "1b656569-47fb-4da7-a350-8e601167eb2d"
]
}
]
}
{- "content": [
- {
- "season_id": "d06e2de7-6b50-4dda-853e-ab7952def05f",
- "property_id": "dc2b45a4-3554-4c81-ab55-635d231c2810",
- "deleted": false,
- "varieties_ids": [
- "a55e72ad-5be9-41ed-832b-5d6f61c67cf2"
], - "planting_date": "2020-04-01T09:06:26.000+0000",
- "emergency_date": "2020-06-01T09:06:26.000+0000",
- "harvesting_date": "2020-07-31T09:06:26.000+0000",
- "start_date": "2020-04-01T09:06:26.000+0000",
- "end_date": "2020-07-31T09:06:26.000+0000",
- "id": "027f565b-77f8-49d2-82e9-5ed452e2cb85"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Get Seasons by its Ids. If an id does not exist, it does not return it.
include_deleted | boolean Return only non-deleted or both deleted and non-deleted seasons |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "0022a42d-b4f5-4930-a6ea-075f9a6e34bd",
- "00317ded-2367-479c-8fc8-9dd38d042bf2",
- "0034dee9-2bc1-4bf3-bde8-3ac074585262"
]
}
{- "content": [
- {
- "name": "Wheat season 2020",
- "start_date": "2019-12-01T08:24:28.000+0000",
- "end_date": "2020-05-31T08:24:28.000+0000",
- "crop_id": "5ae35c1e-35f1-4c67-ba05-997c5191759f",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": false,
- "deleted": false,
- "json_extended_attributes": {
- "name": "string"
}, - "id": "6dba7432-fc66-4659-b4af-91e8a8ab021a"
}, - {
- "name": "Watermelon season 2020",
- "start_date": "2020-04-01T09:06:26.000+0000",
- "end_date": "2020-07-31T09:06:26.000+0000",
- "crop_id": "6d5203f7-2b5c-485e-a6f8-b080ef1cf1a9",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": true,
- "deleted": false,
- "json_extended_attributes": {
- "name": "string"
}, - "id": "d06e2de7-6b50-4dda-853e-ab7952def05f"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 2,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 2,
- "size": 2000,
- "number": 0,
- "empty": false
}
Associate/dissociate properties and/or fields to/from each Season.
required | Array of objects (A season-land batch operation) |
{- "batch": [
- {
- "season_id": "b5f51a97-c2e4-427f-bced-c384cae3b161",
- "updates": [
- {
- "operation": "create",
- "land": {
- "properties": [
- {
- "id": "76fb58fe-1a0e-4681-a5b6-8f8dab5431be"
}
], - "fields": [
- {
- "id": "fec847e9-2909-4548-a3ea-772c29a62787",
- "planting_date": "2019-10-02T15:00:00Z",
- "emergency_date": "2020-08-02T15:00:00Z",
- "harvesting_date": "2020-10-02T15:00:00Z",
- "start_date": "2019-10-02T15:00:00Z",
- "end_date": "2020-10-02T15:00:00Z",
- "varieties_ids": [
- "010b7b54-e006-4afc-a843-436b909ce90d"
]
}
]
}
}, - {
- "operation": "remove",
- "land": {
- "properties": [
- {
- "id": "08ac19fb-14c8-457e-893f-95e054cc98a3"
}
], - "fields": [
- {
- "id": "89c8e4e5-2230-4366-80a0-ef0bd8ec37c0"
}
]
}
}
]
}
]
}
Create a season.
client-id | string |
Details of the Season to be created
name required | string |
org_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
start_date | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
end_date | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
crop_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
object (Season Relationship) |
{- "name": "Season Test - 2020/21",
- "org_id": "34550190-7d4f-4a03-91ec-4f5568e50029",
- "start_date": "2020-01-31T20:47:15.767Z",
- "end_date": "2021-01-31T20:47:15.767Z",
- "crop_id": "010b7b54-e006-4afc-a843-436b909ce90d"
}
{- "name": "Watermelon season 2020",
- "start_date": "2020-04-01T09:06:26.418+0000",
- "end_date": "2020-07-31T09:06:26.418+0000",
- "crop_id": "6d5203f7-2b5c-485e-a6f8-b080ef1cf1a9",
- "org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "active": true,
- "deleted": false,
- "json_extended_attributes": {
- "name": "string"
}, - "id": "d06e2de7-6b50-4dda-853e-ab7952def05f"
}
Get App By Id in Store
app_id required | string |
workspace_id required | string |
include_expired_contracts | boolean Search for App in Store with expired contract |
{- "id": "f0d59ad7-b2c2-490a-965c-2899fc09c44b",
- "name": "Basic App Name",
- "short_description": "Short description goes here",
- "detailed_description": "Detailed description goes here",
- "published": true,
}
List Apps in Store per workspace, for all the workspaces with at least one organization.
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
filter_by_language | boolean Filter apps by accept-language header. Default true |
include_default_workspace | boolean Includes the default workspace on the response, even if it doesn't have an org. Default false |
include_unpublished | boolean Returns unpublished apps as well as published ones. Default false |
{- "content": [
- {
- "name": "Workspace A,",
- "workspace_id": "1ebe3408-cf14-4424-ab39-ebee50ec8047",
- "workspace_apps": [
- {
- "updated_at": "2021-11-24T13:46:29.000+0000",
- "last_updated_by_id": "df20403e-36bc-456e-8465-b4385d7b5284",
- "name": "Cropwise Base",
- "short_description": "Set up the digital representation of your farm and its areas.",
- "detailed_description": "Set up the digital representation of your farm and its areas.",
- "published": true,
- "type": "APPLICATION",
- "supported_apps": [ ],
- "id": "43524f50-5749-5345-4253-434149554249\""
}
]
}, - {
- "name": "Workspace B",
- "workspace_id": "06954e91-c0da-4f1a-a3ea-142ade8b0e90",
- "workspace_apps": [
- {
- "updated_at": "2022-03-04T12:18:38.000+0000",
- "last_updated_by_id": "a6dbc7c8-f976-40cb-b0f9-b2b09172d45a",
- "name": "Strider Tracker",
- "short_description": "Strider Tracker",
- "detailed_description": "null,",
- "published": true,
- "type": "APPLICATION",
- "supported_apps": [ ],
- "id": "53444454-5241-434b-4552-434149554249\""
}, - {
- "updated_at": "2021-11-24T13:46:29.000+0000",
- "last_updated_by_id": "df20403e-36bc-456e-8465-b4385d7b5284",
- "name": "Cropwise Base",
- "short_description": "Set up the digital representation of your farm and its areas.",
- "detailed_description": "Set up the digital representation of your farm and its areas.",
- "published": true,
- "type": "APPLICATION",
- "supported_apps": [ ],
- "id": "43524f50-5749-5345-4253-434149554249\""
}
]
}, - {
- "name": "Workspace C",
- "workspace_id": "d35ef7dc-269a-4507-abc9-d969abd3577e",
- "workspace_apps": [
- {
- "updated_at": "2021-11-24T13:46:29.000+0000",
- "last_updated_by_id": "df20403e-36bc-456e-8465-b4385d7b5284",
- "name": "Cropwise Base",
- "short_description": "Set up the digital representation of your farm and its areas.",
- "detailed_description": "Set up the digital representation of your farm and its areas.",
- "published": true,
- "type": "APPLICATION",
- "supported_apps": [ ],
- "id": "43524f50-5749-5345-4253-434149554249\""
}, - {
- "updated_at": "2021-08-03T16:37:25.000+0000",
- "last_updated_by_id": "df20403e-36bc-456e-8465-b4385d7b5284",
- "name": "Protector",
- "short_description": "Cropwise Protector",
- "detailed_description": "null,",
- "published": true,
- "type": "APPLICATION",
- "supported_apps": [ ],
- "id": "50524f54-4543-544f-5226-434149554249\""
}, - {
- "updated_at": "2022-03-04T12:18:38.000+0000",
- "last_updated_by_id": "a6dbc7c8-f976-40cb-b0f9-b2b09172d45a",
- "name": "Strider Tracker",
- "short_description": "Strider Tracker",
- "detailed_description": "null,",
- "published": true,
- "type": "APPLICATION",
- "supported_apps": [ ],
- "id": "53444454-5241-434b-4552-434149554249\""
}
]
}
], - "pageable": {
- "sort": {
- "sorted": "false,",
- "unsorted": "true,",
- "empty": true
}, - "page_number": "0,",
- "page_size": "2147483647,",
- "offset": "0,",
- "paged": "true,",
- "unpaged": false
}, - "total_elements": "3,",
- "total_pages": "1,",
- "last": "true,",
- "first": "true,",
- "number": "0,",
- "sort": {
- "sorted": "false,",
- "unsorted": "true,",
- "empty": true
}, - "number_of_elements": "3,",
- "size": "2147483647,",
- "empty": false
}
List Apps in Store
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
workspace_id | object <uuid> (UUID Canonical textual representation) Example: workspace_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
licensing_account_id | object <uuid> (UUID Canonical textual representation) Example: licensing_account_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
filter_by_language | string Filter apps by accept-language header. Default true |
include_default_workspace | string include default workspace. Default false |
include_unpublished | string Include unpublished apps. Default false |
include_clients_info | string Include clients info. Default false |
{- "content": [
- {
- "id": "f0d59ad7-b2c2-490a-965c-2899fc09c44b",
- "name": "Basic App Name",
- "short_description": "Short description goes here",
- "detailed_description": "Detailed description goes here",
- "published": true,
- "workspaces": [
- "e0b09521-b881-4485-aa6d-cb09530c6be0",
- "03ab1f1a-a01a-480a-b9d5-ae2f8f0c1486"
]
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Get the tasks of a specified organization
org_id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
List of Task for an Organization
property_ids | Array of objects <uuid> (UUID Canonical textual representation) |
season_ids | Array of objects <uuid> (UUID Canonical textual representation) |
field_ids | Array of objects <uuid> (UUID Canonical textual representation) |
region_ids | Array of objects <uuid> (UUID Canonical textual representation) |
season_field_ids | Array of objects <uuid> (UUID Canonical textual representation) |
status_ids | Array of objects <uuid> (UUID Canonical textual representation) |
tags | Array of strings |
{- "property_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "fields_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
]
}
{- "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "description": "string",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "start_date": "2019-10-02",
- "due_date": "2019-10-02",
- "status": {
- "name": "string",
- "status_type_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}, - "progress_drilldown": {
- "type": "LOG_DRILLDOWN",
- "progress_logs": [
- {
- "start_date": "2019-10-02",
- "end_date": "2019-10-02",
- "progress_amount": 100
}
]
}, - "rank": "string",
- "category_resources": {
- "category_type_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "field_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "property_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "product_usages": [
- {
- "product_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "warehouse_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "unit": "string",
- "dose": 1,
- "amount": 100,
- "withdraw": 150
}
], - "equipment_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
]
}, - "completeness_calculation_method": "SUM_PROGRESSES"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
season_id | object <uuid> (UUID Canonical textual representation) Example: season_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 Tasks will be filtered by season_id |
since | string <date-time> (String with a date format) Example: since=2019-10-02 Tasks will be filtered by start date |
until | string <date-time> (String with a date format) Example: until=2019-10-02 Tasks will be filtered by end date |
property_id | object <uuid> (UUID Canonical textual representation) Example: property_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
deleted | boolean Tasks will be filtered by deletion status |
{- "content": [
- {
- "id": "18c61154-6710-46bc-a661-cb95e72f0f1e",
- "description": "task 1",
- "org_id": "32eab319-b391-4ff3-9cf6-deba9f5868e1",
- "property_ids": [
- "da11b20c-c1ed-4d30-9580-9198e566595a"
], - "season_ids": [
- "f46d3641-8ea0-4354-ad0f-7231c0d45212"
], - "start_date": "2019-10-02",
- "due_date": "2019-10-02",
- "status": {
- "name": "string",
- "status_type_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}, - "progress_drilldown": {
- "type": "LOG_DRILLDOWN",
- "progress_logs": [
- {
- "start_date": "2019-10-02",
- "end_date": "2019-10-02",
- "progress_amount": 100
}
]
}, - "rank": "string",
- "category_resources": {
- "category_type_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "field_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "property_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "product_usages": [
- {
- "product_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "warehouse_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "unit": "string",
- "dose": 1,
- "amount": 100,
- "withdraw": 150
}
], - "equipment_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
]
}, - "completeness_calculation_method": "SUM_PROGRESSES"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Get the tasks of a specified property
property_id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
season_id | object <uuid> (UUID Canonical textual representation) Example: season_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 Tasks will be filtered by season_id |
since | string <date-time> (String with a date format) Example: since=2019-10-02 Tasks will be filtered by dates (start and end date) |
until | string <date-time> (String with a date format) Example: until=2019-10-02 Tasks will be filtered by dates (start and end date) |
attributes | Array of strings Items Value: "geometry" Enable fields in response |
tags | Array of strings Tasks will be filtered by tags when containing one or more of those strings |
extra_attribute | string Filtered by multiple key-value pair "name":"some-name","type":"some-type" |
include_extended required | boolean Filtered extra-Attribute only if include_extended = true |
client-id | string |
{- "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "description": "string",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "start_date": "2019-10-02",
- "due_date": "2019-10-02",
- "status": {
- "name": "string",
- "status_type_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}, - "progress_drilldown": {
- "type": "LOG_DRILLDOWN",
- "progress_logs": [
- {
- "start_date": "2019-10-02",
- "end_date": "2019-10-02",
- "progress_amount": 100
}
]
}, - "rank": "string",
- "category_resources": {
- "category_type_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "field_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "property_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "product_usages": [
- {
- "product_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "warehouse_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "unit": "string",
- "dose": 1,
- "amount": 100,
- "withdraw": 150
}
], - "equipment_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
]
}, - "completeness_calculation_method": "SUM_PROGRESSES"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Get the tasks of a specified property
property_id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
season_id | object <uuid> (UUID Canonical textual representation) Example: season_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 Tasks will be filtered by season_id |
since | string <date-time> (String with a date format) Example: since=2019-10-02 Tasks will be filtered by dates (start and end date) |
until | string <date-time> (String with a date format) Example: until=2019-10-02 Tasks will be filtered by dates (start and end date) |
attributes | Array of strings Items Value: "geometry" Enable fields in response |
tags | Array of strings Tasks will be filtered by tags when containing one or more of those strings |
{- "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "description": "string",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "start_date": "2019-10-02",
- "due_date": "2019-10-02",
- "status": {
- "name": "string",
- "status_type_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}, - "progress_drilldown": {
- "type": "LOG_DRILLDOWN",
- "progress_logs": [
- {
- "start_date": "2019-10-02",
- "end_date": "2019-10-02",
- "progress_amount": 100
}
]
}, - "rank": "string",
- "category_resources": {
- "category_type_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "field_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "property_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "product_usages": [
- {
- "product_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "warehouse_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "unit": "string",
- "dose": 1,
- "amount": 100,
- "withdraw": 150
}
], - "equipment_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
]
}, - "completeness_calculation_method": "SUM_PROGRESSES"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 1,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 1,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Retrieve Task Status
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
{- "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "name": "planning"
}, - {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "name": "in progress"
}
], - "empty": true,
- "first": true,
- "last": true,
- "number": 0,
- "number_of_elements": 0,
- "size": 0,
- "total_elements": 0,
- "total_pages": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "page": 0,
- "size": 0,
- "sort": "string"
}
}
Retrieve Task Categories
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
{- "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "name": "sampling",
- "icon_slug": "SAMPLING"
}, - {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "name": "planting",
- "icon_slug": "PLANTING"
}
], - "empty": true,
- "first": true,
- "last": true,
- "number": 0,
- "number_of_elements": 0,
- "size": 0,
- "total_elements": 0,
- "total_pages": 0,
- "sort": {
- "empty": true,
- "sorted": true,
- "unsorted": true
}, - "pageable": {
- "page": 0,
- "size": 0,
- "sort": "string"
}
}
Update task by task-id
comment_id required | string |
comment | string |
{- "comment": "string"
}
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "comment": "string",
- "created_at": "2019-10-02",
- "account_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}
Create Task comment by Task Id
task_id required | string |
comment | string |
{- "comment": "string"
}
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "comment": "string",
- "created_at": "2019-10-02",
- "account_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}
Create Task Progress by Task Id
task_id required | string |
start_date required | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
end_date required | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
progress_amount required | number |
{- "start_date": "2019-10-02",
- "end_date": "2019-10-02",
- "progress_amount": 0
}
{- "start_date": "2019-10-02",
- "end_date": "2019-10-02",
- "progress_amount": 0
}
{- "description": "Coverage",
- "org_id": "ba670bec-33f1-4689-b3a9-4e4ff7a01558",
- "property_id": "9ec7cd46-5cf7-4137-98d2-6d2d9e90ea11",
- "season_id": "ee971900-c9dd-45c5-a8b9-b9cc377994bc",
- "start_date": "2020-06-02T08:00:00.000+0000",
- "end_date": "2020-06-06T18:00:00.000+0000",
- "status_id": "c56e4d21-a01e-4d9d-8e5c-f2334de8ad21",
- "category_resources": {
- "category_type_id": "87a2d4dc-c8b7-4658-a84e-5f5768b7c2b0",
- "field_ids": [
- "04b192a6-828f-47cd-b0d4-f7c06b945477"
], - "product_usages": [
- {
- "product_id": "0fecadfe-6a2c-4cba-9286-77ccacea6580",
- "unit": "LITERS",
- "dose": 1,
- "amount": 100,
- "withdraw": 150
}
], - "equipment_ids": [
- "395961d1-ffe2-477d-95d7-8a7e404a0ba5"
], - "workers_ids": [
- "2561fcdd-4a08-45d6-ae65-3a5c237e0b30"
]
}, - "comments": [
- {
- "comment": "comment 1"
}, - {
- "comment": "comment 2"
}
]
}
Update task by task-id
task_id required | string |
client-id | string |
id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
org_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
property_ids | Array of objects <uuid> (UUID Canonical textual representation) |
season_ids | Array of objects <uuid> (UUID Canonical textual representation) |
description required | string |
duration | integer The duration must be in minutes |
external_id | integer The external_id is an incremental value by default, but the value can be provided by the client |
start_date required | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
end_date required | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
status_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
required | object (SamplingCategoryResources) |
object (BasicExtendedAttribute) | |
tags | Array of strings |
Array of objects (Basic Task Comment) | |
Array of objects (ProgressLogDrilldown) Only available for Get wont be available in Post call. |
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "property_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "season_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "description": "string",
- "duration": 0,
- "external_id": 0,
- "start_date": "2019-10-02",
- "end_date": "2019-10-02",
- "status_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "category_resources": {
- "category_type_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "field_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "product_usages": [
- {
- "product_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "warehouse_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "unit": "string",
- "dose": 0,
- "amount": 0,
- "withdraw": 0
}
], - "equipment_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "workers_roles": [
- {
- "worker_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "worker_role": "RESPONSIBLE"
}
], - "season_field_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
]
}, - "json_extended_attributes": {
- "name": "string"
}, - "tags": [
- "string"
], - "comments": [
- {
- "comment": "string"
}
], - "progress_drilldown": [
- {
- "start_date": "2019-10-02",
- "end_date": "2019-10-02",
- "progress_amount": 0
}
]
}
{- "description": "Coverage",
- "org_id": "ba670bec-33f1-4689-b3a9-4e4ff7a01558",
- "property_id": "9ec7cd46-5cf7-4137-98d2-6d2d9e90ea11",
- "season_id": "ee971900-c9dd-45c5-a8b9-b9cc377994bc",
- "start_date": "2020-06-02T08:00:00.000+0000",
- "end_date": "2020-06-06T18:00:00.000+0000",
- "status_id": "c56e4d21-a01e-4d9d-8e5c-f2334de8ad21",
- "json_extended_attributes": {
- "name": "string"
}, - "category_resources": {
- "category_type_id": "87a2d4dc-c8b7-4658-a84e-5f5768b7c2b0",
- "field_ids": [
- "04b192a6-828f-47cd-b0d4-f7c06b945477"
], - "product_usages": [
- {
- "product_id": "0fecadfe-6a2c-4cba-9286-77ccacea6580",
- "unit": "LITERS",
- "dose": 1,
- "amount": 100,
- "withdraw": 150
}
], - "equipment_ids": [
- "395961d1-ffe2-477d-95d7-8a7e404a0ba5"
], - "workers_ids": [
- "2561fcdd-4a08-45d6-ae65-3a5c237e0b30"
]
}, - "comments": [
- {
- "comment": "comment 1"
}, - {
- "comment": "comment 2"
}
]
}
Create Task
client-id | string |
id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
org_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
property_ids | Array of objects <uuid> (UUID Canonical textual representation) |
season_ids | Array of objects <uuid> (UUID Canonical textual representation) |
description required | string |
duration | integer The duration must be in minutes |
external_id | integer The external_id is an incremental value by default, but the value can be provided by the client |
start_date required | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
end_date required | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
status_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
required | object (SamplingCategoryResources) |
object (BasicExtendedAttribute) | |
tags | Array of strings |
Array of objects (Basic Task Comment) | |
Array of objects (ProgressLogDrilldown) Only available for Get wont be available in Post call. |
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "property_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "season_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "description": "string",
- "duration": 0,
- "external_id": 0,
- "start_date": "2019-10-02",
- "end_date": "2019-10-02",
- "status_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "category_resources": {
- "category_type_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "field_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "product_usages": [
- {
- "product_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "warehouse_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "unit": "string",
- "dose": 0,
- "amount": 0,
- "withdraw": 0
}
], - "equipment_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "workers_roles": [
- {
- "worker_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "worker_role": "RESPONSIBLE"
}
], - "season_field_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
]
}, - "json_extended_attributes": {
- "name": "string"
}, - "tags": [
- "string"
], - "comments": [
- {
- "comment": "string"
}
], - "progress_drilldown": [
- {
- "start_date": "2019-10-02",
- "end_date": "2019-10-02",
- "progress_amount": 0
}
]
}
{- "description": "Coverage",
- "org_id": "ba670bec-33f1-4689-b3a9-4e4ff7a01558",
- "property_ids": [
- "9ec7cd46-5cf7-4137-98d2-6d2d9e90ea11"
], - "season_ids": [
- "ee971900-c9dd-45c5-a8b9-b9cc377994bc"
], - "external_id": 1,
- "duration": 2,
- "start_date": "2020-06-02T08:00:00.000+0000",
- "end_date": "2020-06-06T18:00:00.000+0000",
- "status_id": "c56e4d21-a01e-4d9d-8e5c-f2334de8ad21",
- "json_extended_attributes": {
- "name": "string"
}, - "category_resources": {
- "category_type_id": "87a2d4dc-c8b7-4658-a84e-5f5768b7c2b0",
- "field_ids": [
- "04b192a6-828f-47cd-b0d4-f7c06b945477"
], - "product_usages": [
- {
- "product_id": "0fecadfe-6a2c-4cba-9286-77ccacea6580",
- "unit": "LITERS",
- "dose": 1,
- "amount": 100,
- "withdraw": 150
}
], - "equipment_ids": [
- "395961d1-ffe2-477d-95d7-8a7e404a0ba5"
], - "workers_ids": [
- "2561fcdd-4a08-45d6-ae65-3a5c237e0b30"
]
}, - "comments": [
- {
- "comment": "comment 1"
}, - {
- "comment": "comment 2"
}
]
}
Sign the term and plan
term_id | string |
plan_id | string |
accepted_on | string <date-time> |
[- {
- "term_id": "string",
- "plan_id": "string",
- "accepted_on": "2019-08-24T14:15:22Z"
}
]
Get all terms
size | integer Number of terms to return |
last_key | string Id of the last term returned by the previous query |
name | string Case insensitive term title or term title fragment |
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "content": "string",
- "format": "plaintext",
- "language": "string",
- "title": "string"
}
]
}
Get a single term
termsId required | string Numeric ID of the term to get |
{- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "content": "string",
- "format": "plaintext",
- "language": "string",
- "title": "string"
}
Updates a single term
termsId required | string Numeric ID of the term to update |
title required | string |
content required | string |
language required | string |
format required | string |
{- "title": "string",
- "content": "string",
- "language": "string",
- "format": "string"
}
{- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "content": "string",
- "format": "plaintext",
- "language": "string",
- "title": "string"
}
Creates a new term
title required | string |
content required | string |
language required | string |
format required | string |
{- "title": "string",
- "content": "string",
- "language": "string",
- "format": "string"
}
{- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "content": "string",
- "format": "plaintext",
- "language": "string",
- "title": "string"
}
Multipart Form including either one single .kml file or a set of shapefiles (at least .shp, .shx and .dbf)
file | Array of strings <binary> |
{- "type": "FeatureCollection",
- "features": [
- {
- "type": "Feature",
- "geometry": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 12.4726,
- 41.8859
], - [
- 12.4949,
- 41.8859
], - [
- 12.4949,
- 41.8992
], - [
- 12.4726,
- 41.8992
], - [
- 12.4726,
- 41.8859
]
]
]
}, - "properties": {
- "visibility": true,
- "open": true
}, - "id": "fid--74c273ac_170cb596d51_-7fff"
}
]
}
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
Accept-Language | string regulatory zone list |
{- "content": [
- {
- "id": "06a36cd3-9e09-4b8d-8a7d-112ac07776a3",
- "country_name": "India",
- "iso3166_alpha2_code": "IN"
}, - {
- "id": "06a36cd3-9e09-4b8d-8a7d-112ac07776a3",
- "country_name": "Brazil",
- "iso3166_alpha2_code": "BR"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 2,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 2,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
List Varieties
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
Accept-Language | string Variety names will be responded in the chosen language |
{- "content": [
- {
- "org_id": null,
- "name": "Cotton Growth Seed",
- "manufacturer": {
- "name": "Syngenta",
- "org_id": null,
- "countries": null,
- "id": "c2f0d39d-e75b-4302-95b5-e858377cac79"
}, - "unit_of_measurement": "KILOGRAMS",
- "id": "06a36cd3-9e09-4b8d-8a7d-112ac07776a3"
}, - {
- "org_id": null,
- "name": "Banana",
- "manufacturer": {
- "name": "Bayer",
- "org_id": null,
- "countries": null,
- "id": "1081f14f-37a8-455a-8223-bd9da76cdda0"
}, - "unit_of_measurement": "KILOGRAMS",
- "id": "0ea2ede3-ac6e-5935-baeb-2fe5f6ae9724"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 2,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 2,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
Get all vouchers from a campaign
campaignId required | string Numeric ID of the campaign to get |
size | integer Number of vouchers to return |
last_key | string Id of the last voucher returned by the previous query |
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "campaign_id": "string",
- "campaign": "string",
- "code": "string",
- "consumed": false,
- "id": "string",
- "link_id": "string"
}
]
}
Add vouchers to a campaign
campaignId required | string Numeric ID of the campaign to toggle activation |
amount required | number |
{- "amount": 0
}
[- {
- "campaign": "string",
- "campaign_id": "string",
- "code": "string",
- "consumed": false,
- "id": "string",
- "link_id": "string"
}
]
Redeem a voucher
account required | string |
code required | string |
{- "account": "string",
- "code": "string"
}
{- "apps": [
- {
- "id": "string",
- "is_new": true,
- "name": "string",
- "plan": {
- "plan_id": "string",
- "plan_name": "string"
}, - "icon_uri": "string"
}
]
}
Get the redeem info that a voucher entitles
voucherId required | string Numeric ID of the voucher to get |
include_app_basic_info | boolean The endpoint will include the apps basic info if and only if this query parameter is true. |
{- "id": "string",
- "consumed": true,
- "active_campaign": true,
- "campaign_duration": 0,
- "plans": [
- {
- "plan": {
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "app": "string",
- "default": true,
- "default_duration": 0,
- "deleted": true,
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "name": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "limit": 0,
- "unit": "string",
- "entity_type": "string",
- "over_quota_threshold": 0
}
], - "terms": [
- "string"
], - "valid_countries": [
- "string"
], - "accounts": [
- "string"
], - "location": "string",
- "legalDocuments": [
- "string"
]
}, - "app_name": "string",
- "app_description": "string",
- "app_icon_uri": "string"
}
]
}
Updates a single voucher
voucherId required | string Numeric ID of the voucher to update |
consumed | boolean |
consume_date | string |
{- "consumed": true,
- "consume_date": "string"
}
{- "campaign": "string",
- "campaign_id": "string",
- "code": "string",
- "consumed": false,
- "id": "string",
- "link_id": "string"
}
Creates a new voucher
campaign | string |
campaign_id | string |
code | string |
consumed | boolean Default: false |
id | string |
link_id | string |
{- "campaign": "string",
- "campaign_id": "string",
- "code": "string",
- "consumed": false,
- "id": "string",
- "link_id": "string"
}
{- "campaign": "string",
- "campaign_id": "string",
- "code": "string",
- "consumed": false,
- "id": "string",
- "link_id": "string"
}
List Organization Workers
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
name | string Workers will be filtered by names containing the string in Worker name |
extra_attribute | string Filtered by multiple key-value pair "name":"some-name","type":"some-type" |
include_extended required | boolean Filtered extra-Attribute only if include_extended = true |
Accept-Language | string Names will be responded in the chosen language |
client-id | string |
{- "content": [
- {
- "json_extended_attributes": {
- "name": "worker 1",
- "type": "worker"
}, - "name": "worker3",
- "org_id": "325ebba0-7931-46df-a6f6-d3aaf5a1ee9f",
- "property_ids": [
- "ccb755fc-b9d0-428e-bdb5-87e4718a9420"
], - "id": "8a1dfcbb-ae79-46f4-bca9-6129a8cc8d9b"
}, - {
- "json_extended_attributes": {
- "name": "worker 1"
}, - "name": "worker2",
- "org_id": "325ebba0-7931-46df-a6f6-d3aaf5a1ee9f",
- "property_ids": [
- "ccb755fc-b9d0-428e-bdb5-87e4718a9420"
], - "id": "9bb44f98-0010-417d-afa4-3cf3d850af5b"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 2147483647,
- "page_number": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "last": true,
- "total_elements": 2,
- "size": 2147483647,
- "number": 0,
- "number_of_elements": 2,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "first": true,
- "empty": false
}
List Organization Workers
org_id required | string |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
name | string Workers will be filtered by names containing the string in Worker name |
Accept-Language | string Names will be responded in the chosen language |
{- "content": [
- {
- "name": "Worker Name",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "id": "002f4753-5c5b-5dbd-8ed6-f0a83f86090d",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
], - "note": "string",
- "address": "string",
- "type": "EMPLOYEE",
- "applicator_licensing_number": "string",
- "license_valid_through": "2020-04-01T09:06:26.000+0000"
}, - {
- "name": "Other Worker",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "id": "010b7b54-e006-4afc-a843-436b909ce90d",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
], - "note": "string",
- "address": "string",
- "type": "EXTERNAL_COMPANY",
- "phone": "string",
- "email": "string"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 2,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 2,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
List Worker in a Organization by properties ids. If an empty list is sent, it return all workers from that organization
org_id required | string |
name | string Filter worker by its name |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "name": "Worker Name",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
], - "id": "002f4753-5c5b-5dbd-8ed6-f0a83f86090d",
- "note": "string",
- "address": "string",
- "type": "EMPLOYEE",
- "applicator_licensing_number": "string",
- "license_valid_through": "2020-04-01T09:06:26.000+0000"
}, - {
- "name": "Other Worker Name",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
], - "id": "010b7b54-e006-4afc-a843-436b909ce90d",
- "note": "string",
- "address": "string",
- "type": "EXTERNAL_COMPANY",
- "phone": "string",
- "email": "string"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "page_size": 10,
- "page_number": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "total_elements": 2,
- "total_pages": 1,
- "size": 10,
- "number": 0,
- "number_of_elements": 2,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "empty": false
}
{- "org_id": "06a34cd3-9e09-7b8d-8a7d-112ac07776a3",
- "name": "Worker Name",
- "id": "06a36cd3-9e09-4b8d-8a7d-112ac07776a3",
- "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
], - "note": "string",
- "address": "string",
- "type": "EMPLOYEE",
- "applicator_licensing_number": "string",
- "license_valid_through": "2020-04-01T09:06:26.000+0000"
}
Update Worker
id required | string |
orgId required | string |
client-id | string |
id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
name required | string |
property_ids | Array of objects <uuid> (UUID Canonical textual representation) |
org_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
object (BasicExtendedAttribute) | |
note | string |
address | string |
type | string Enum: "EMPLOYEE" "EXTERNAL_COMPANY" |
string | |
phone | string |
applicator_licensing_number | string |
license_valid_through | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "name": "string",
- "property_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "json_extended_attributes": {
- "name": "string"
}, - "note": "string",
- "address": "string",
- "type": "EMPLOYEE",
- "email": "string",
- "phone": "string",
- "applicator_licensing_number": "string",
- "license_valid_through": "2019-10-02"
}
{- "org_id": "06a34cd3-9e09-7b8d-8a7d-112ac07776a3",
- "name": "Update Worker Name",
- "id": "06a36cd3-9e09-4b8d-8a7d-112ac07776a3",
- "json_extended_attributes": {
- "name": "string"
}, - "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
], - "note": "string",
- "address": "string",
- "type": "EMPLOYEE",
- "applicator_licensing_number": "string",
- "license_valid_through": "2020-04-01T09:06:26.000+0000"
}
Create Worker
orgId required | string |
client-id | string |
id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
name required | string |
property_ids | Array of objects <uuid> (UUID Canonical textual representation) |
org_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
object (BasicExtendedAttribute) | |
note | string |
address | string |
type | string Enum: "EMPLOYEE" "EXTERNAL_COMPANY" |
string | |
phone | string |
applicator_licensing_number | string |
license_valid_through | string <date-time> (String with a date format) Full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21 |
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "name": "string",
- "property_ids": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "json_extended_attributes": {
- "name": "string"
}, - "note": "string",
- "address": "string",
- "type": "EMPLOYEE",
- "email": "string",
- "phone": "string",
- "applicator_licensing_number": "string",
- "license_valid_through": "2019-10-02"
}
{- "org_id": "06a34cd3-9e09-7b8d-8a7d-112ac07776a3",
- "name": "Worker Name",
- "id": "06a36cd3-9e09-4b8d-8a7d-112ac07776a3",
- "json_extended_attributes": {
- "name": "string"
}, - "property_ids": [
- "06a36cd3-9e09-4b8d-8a7d-112ac0777622"
], - "note": "string",
- "address": "string",
- "type": "EMPLOYEE",
- "applicator_licensing_number": "string",
- "license_valid_through": "2020-04-01T09:06:26.000+0000"
}
entitlements | Array of strings |
shouldContractHaveAllEntitlements | boolean |
shouldConsiderDeletedContracts | boolean |
lastKey | string |
lastKeyComplement | integer |
{- "contracts": [
- {
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "quota": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
], - "plan_name": "string"
}
], - "lastKey": {
- "id": "string",
- "start": 0
}
}
Get Root owners from the orgs that the workspace id is linked. If an id does not exist, it does not return it.
include_deleted | boolean Return only non-deleted or both deleted and non-deleted accounts |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "name": "Akash",
- "authorities": [
- {
- "context": "ORGANIZATION",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "TEMPLATES"
}, - {
- "scope": "READ",
- "name": "FARMSHOTS"
}, - {
- "scope": "WRITE",
- "name": "VENDORS"
}, - {
- "scope": "WRITE",
- "name": "SUPPLIES"
}, - {
- "scope": "WRITE",
- "name": "PRODUCTS"
}, - {
- "scope": "WRITE",
- "name": "BUDGETS"
}, - {
- "scope": "WRITE",
- "name": "REPORTS"
}, - {
- "scope": "WRITE",
- "name": "REVENUES"
}, - {
- "scope": "WRITE",
- "name": "SEASONS"
}, - {
- "scope": "WRITE",
- "name": "USERS"
}, - {
- "scope": "WRITE",
- "name": "ASSIGNEES"
}, - {
- "scope": "WRITE",
- "name": "PURCHASE_ORDERS"
}, - {
- "scope": "WRITE",
- "name": "PROPERTIES"
}, - {
- "scope": "WRITE",
- "name": "EXPENSES"
}, - {
- "scope": "WRITE",
- "name": "ORG"
}, - {
- "scope": "WRITE",
- "name": "TRACKER"
}
], - "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}, - {
- "context": "PROPERTY",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "FIELDS"
}, - {
- "scope": "WRITE",
- "name": "WAREHOUSES"
}, - {
- "scope": "WRITE",
- "name": "EQUIPMENTS"
}, - {
- "scope": "WRITE",
- "name": "INFORMATION"
}, - {
- "scope": "WRITE",
- "name": "TASKS"
}
], - "id": "dc2b45a4-3554-4c81-ab55-635d231c2810"
}
], - "type": "USER",
- "orgs": [
- {
- "name": "Akash's Organization",
- "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}
], - "ssn": null,
- "role": null,
- "phone": "+91 98765-4321",
- "locale": "en",
- "country_code": "BR",
- "clock_format": "LET_LOCALE_DECIDE",
- "login": "akash_anand.rangari@syngenta.com",
- "email": "akash_anand.rangari@syngenta.com",
- "auto_created_org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "opt_ins": [
- {
- "type": "CELLPHONE_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "15587d25-67bd-4b45-8ae4-f8d06f780940"
}, - {
- "type": "EMAIL_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
}
], - "id": "c8f6a433-a8a2-481d-83c9-c2ee29681f6b"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Delete entities from all contracts from one workspace
workspaceId required | string Numeric ID of the account to get |
[- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
]
Delete a single workspace
workspaceId required | string Numeric ID of the account to get |
{- "status": 100,
- "code": "string",
- "error": "string",
- "message": "string",
- "path": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
Get a single workspace
workspaceId required | string Numeric ID of the account to get |
{- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "workspace_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "contracts": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
], - "name": "string",
- "use_type": "TEST"
}
Update a single workspace
workspaceId required | string Numeric ID of the account to get |
org_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
workspace_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
created_at | string <date-time> |
id | string |
metadata | object |
updated_at | string <date-time> |
Array of objects (Contracts) | |
name required | string |
use_type | string Enum: "TEST" "SYNGENTA_DIGITAL_GROWER" "SYNGENTA_DIGITAL_DISTRIBUTION" "SYNGENTA_SEEDS" "SYNGENTA_CP" "WS-DEFAULT" |
{- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "workspace_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "contracts": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
], - "name": "string",
- "use_type": "TEST"
}
{- "id": "string",
- "name": "string",
- "metadata": { },
- "use_type": "TEST"
}
Get Accounts by their default workspace ids. If an id does not exist, it does not return it.
include_deleted | boolean Return only non-deleted or both deleted and non-deleted accounts |
page | integer Requested page number. Starting from zero. Default is zero. |
size | integer Requested page size. Default is unpaged |
ids | Array of objects <uuid> (UUID Canonical textual representation) |
{- "ids": [
- "c8f6a433-a8a2-481d-83c9-c2ee29681f6b",
- "15587d25-67bd-4b45-8ae4-f8d06f780940",
- "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
]
}
{- "content": [
- {
- "name": "Akash",
- "authorities": [
- {
- "context": "ORGANIZATION",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "TEMPLATES"
}, - {
- "scope": "READ",
- "name": "FARMSHOTS"
}, - {
- "scope": "WRITE",
- "name": "VENDORS"
}, - {
- "scope": "WRITE",
- "name": "SUPPLIES"
}, - {
- "scope": "WRITE",
- "name": "PRODUCTS"
}, - {
- "scope": "WRITE",
- "name": "BUDGETS"
}, - {
- "scope": "WRITE",
- "name": "REPORTS"
}, - {
- "scope": "WRITE",
- "name": "REVENUES"
}, - {
- "scope": "WRITE",
- "name": "SEASONS"
}, - {
- "scope": "WRITE",
- "name": "USERS"
}, - {
- "scope": "WRITE",
- "name": "ASSIGNEES"
}, - {
- "scope": "WRITE",
- "name": "PURCHASE_ORDERS"
}, - {
- "scope": "WRITE",
- "name": "PROPERTIES"
}, - {
- "scope": "WRITE",
- "name": "EXPENSES"
}, - {
- "scope": "WRITE",
- "name": "ORG"
}, - {
- "scope": "WRITE",
- "name": "TRACKER"
}
], - "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}, - {
- "context": "PROPERTY",
- "permissions": [
- {
- "scope": "WRITE",
- "name": "FIELDS"
}, - {
- "scope": "WRITE",
- "name": "WAREHOUSES"
}, - {
- "scope": "WRITE",
- "name": "EQUIPMENTS"
}, - {
- "scope": "WRITE",
- "name": "INFORMATION"
}, - {
- "scope": "WRITE",
- "name": "TASKS"
}
], - "id": "dc2b45a4-3554-4c81-ab55-635d231c2810"
}
], - "type": "USER",
- "orgs": [
- {
- "name": "Akash's Organization",
- "id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832"
}
], - "ssn": null,
- "role": null,
- "phone": "+91 98765-4321",
- "locale": "en",
- "country_code": "BR",
- "clock_format": "LET_LOCALE_DECIDE",
- "login": "akash_anand.rangari@syngenta.com",
- "email": "akash_anand.rangari@syngenta.com",
- "auto_created_org_id": "384f0b5f-25a5-4102-85ca-7c4fa43a7832",
- "opt_ins": [
- {
- "type": "CELLPHONE_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "15587d25-67bd-4b45-8ae4-f8d06f780940"
}, - {
- "type": "EMAIL_OFFERS",
- "accepted_on": "2020-05-28T13:52:56.000+0000",
- "id": "aa68ea62-7ab1-42b7-84da-bbb4d1c54536"
}
], - "id": "c8f6a433-a8a2-481d-83c9-c2ee29681f6b"
}
], - "pageable": {
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "page_size": 2000,
- "page_number": 0,
- "offset": 0,
- "unpaged": false,
- "paged": true
}, - "total_pages": 1,
- "total_elements": 1,
- "last": true,
- "first": true,
- "sort": {
- "sorted": false,
- "unsorted": true,
- "empty": true
}, - "number_of_elements": 1,
- "size": 2000,
- "number": 0,
- "empty": false
}
Get all workspaces
size | integer Number of workspaces to return |
last_key | string Id of the last workspace returned by the previous query |
name | string Filter accounts containing this name |
country | string Filter accounts containing this country |
app_id | string Filter accounts containing this appId |
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "workspace_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "contracts": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
], - "name": "string",
- "use_type": "TEST"
}
]
}
Create a workspace
country | string Filter accounts containing this country |
set_workspace_owner | boolean Set Workspace Owner role to current user or not |
name required | string |
id | string |
Array of objects (Contracts) | |
metadata | object |
use_type required | string Enum: "TEST" "SYNGENTA_DIGITAL_GROWER" "SYNGENTA_DIGITAL_DISTRIBUTION" "SYNGENTA_SEEDS" "SYNGENTA_CP" "WS-DEFAULT" |
{- "name": "string",
- "id": "string",
- "contracts": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
], - "metadata": { },
- "use_type": "TEST"
}
{- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "workspace_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "metadata": { },
- "updated_at": "2019-08-24T14:15:22Z",
- "contracts": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "end": "string",
- "entitlements": [
- {
- "app_id": "string",
- "key": "string",
- "name": "string",
- "created_by": "string",
- "updated_by": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted": true
}
], - "start": "string",
- "plan": "string",
- "plan_name": "string",
- "notes": "string",
- "licensing_account_id": "string",
- "workspace_id": "string",
- "quotas": [
- {
- "key": "string",
- "name": "string",
- "value": 0,
- "usage": 0
}
]
}
], - "name": "string",
- "use_type": "TEST"
}
Get Attachment Details
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "string",
- "created_by": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "status": "C",
- "key": "file-uploaded.png",
- "file_type": "video"
}
Create a new Attachment
extension required | string Allowed extensions: mp4, mov, wmv, m4a, mp3, amr, aac, jpg, png, gif, pdf, doc, txt |
metadata | string Metadata from file. Source (gallery or camera) or other metadata file |
size required | number Size in bytes |
{- "extension": "video.mp4",
- "metadata": "source:gallery",
- "size": "1024 bytes (1mb)"
}
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "string",
- "created_by": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "status": "C",
- "key": "file-uploaded.png",
- "file_type": "video"
}
There are two special values for the parameter context
to search notes, null
and *
Ex: property:cf4ff242-674c-42a7-837d-f52a82fd2648/parent_region:null/field:*
,
This example should return all notes without the key parent_region
and with any value at the key field
.
The dates format (YYYY-MM-DD HH:MM:SS)
offset | integer |
size | integer |
org_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
context required | string (Note context value) A key:value collection with the format: |
start_date | string format (YYYY-MM-DD HH:MM:SS) |
end_date | string format (YYYY-MM-DD HH:MM:SS) |
tags | Array of strings |
{- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "context": "property:cf4ff242-674c-42a7-837d-f52a82fd2648/field:daf2d4f8-6029-4035-b571-01ce03f4b422",
- "start_date": "2023-01-20 21:00:00",
- "end_date": "2023-01-31 00:00:00",
- "tags": [
- "string"
]
}
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "namespace": "Namespace Example",
- "source": "string",
- "created_by": "string",
- "author": "John Doe",
- "note": "Short description explaining something.",
- "date": "string",
- "type": "Land Annotation",
- "context": "property:cf4ff242-674c-42a7-837d-f52a82fd2648/field:daf2d4f8-6029-4035-b571-01ce03f4b422",
- "user_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "manual_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "note_attachment": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "key": "string",
- "created_by": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "2023-02-14T19",
- "status": "C",
- "file_type": "video",
}
], - "note_tag": [
- "string"
], - "external_id": "string"
}
]
}
Get Notes created by a specific user
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
last_key | string |
size | integer |
org_id required | object <uuid> (UUID Canonical textual representation) Example: org_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
tag | Array of strings If it's more than one value the values should be sent separately.
Ex: |
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "namespace": "Namespace Example",
- "source": "string",
- "created_by": "string",
- "author": "John Doe",
- "note": "Short description explaining something.",
- "date": "string",
- "type": "Land Annotation",
- "context": "property:cf4ff242-674c-42a7-837d-f52a82fd2648/field:daf2d4f8-6029-4035-b571-01ce03f4b422",
- "user_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "manual_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "note_attachment": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "key": "string",
- "created_by": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "2023-02-14T19",
- "status": "C",
- "file_type": "video",
}
], - "note_tag": [
- "string"
], - "external_id": "string"
}
]
}
Get Notes by field ID in a time interval
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
last_key | string |
size | integer |
start_date | string |
end_date | string |
org_id required | object <uuid> (UUID Canonical textual representation) Example: org_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
tag | Array of strings If it's more than one value the values should be sent separately.
Ex: |
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "namespace": "Namespace Example",
- "source": "string",
- "created_by": "string",
- "author": "John Doe",
- "note": "Short description explaining something.",
- "date": "string",
- "type": "Land Annotation",
- "context": "property:cf4ff242-674c-42a7-837d-f52a82fd2648/field:daf2d4f8-6029-4035-b571-01ce03f4b422",
- "user_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "manual_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "note_attachment": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "key": "string",
- "created_by": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "2023-02-14T19",
- "status": "C",
- "file_type": "video",
}
], - "note_tag": [
- "string"
], - "external_id": "string"
}
]
}
Get Notes by fields in a time interval
last_key | string |
size | integer |
fields required | Array of strings |
org_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
start_date | string |
end_date | string |
tags | Array of strings |
{- "fields": [
- "string"
], - "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "start_date": "string",
- "end_date": "string",
- "tags": [
- "string"
]
}
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "namespace": "Namespace Example",
- "source": "string",
- "created_by": "string",
- "author": "John Doe",
- "note": "Short description explaining something.",
- "date": "string",
- "type": "Land Annotation",
- "context": "property:cf4ff242-674c-42a7-837d-f52a82fd2648/field:daf2d4f8-6029-4035-b571-01ce03f4b422",
- "user_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "manual_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "note_attachment": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "key": "string",
- "created_by": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "2023-02-14T19",
- "status": "C",
- "file_type": "video",
}
], - "note_tag": [
- "string"
], - "external_id": "string"
}
]
}
Get Note Details
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "namespace": "Namespace Example",
- "source": "string",
- "created_by": "string",
- "author": "John Doe",
- "note": "Short description explaining something.",
- "date": "string",
- "type": "Land Annotation",
- "context": "property:cf4ff242-674c-42a7-837d-f52a82fd2648/field:daf2d4f8-6029-4035-b571-01ce03f4b422",
- "user_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "manual_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "note_attachment": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "key": "string",
- "created_by": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "2023-02-14T19",
- "status": "C",
- "file_type": "video",
}
], - "note_tag": [
- "string"
], - "external_id": "string"
}
Edit Note with specified Id. Obs: if the client wants to delete all the Tags and/or the Attachemnt,
it should send the attribute with an empty array (the value []
)
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
org_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
namespace required | string |
source required | string |
created_by | string |
author | string |
note required | string |
type | string (NoteType) Enum: "Land Annotation" "Comment" |
context required | string (Note context value) A key:value collection with the format: |
user_location | string |
manual_location | string |
parent_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
note_attachment | Array of objects <uuid> (UUID Canonical textual representation) |
note_tag | Array of strings |
external_id | string |
{- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "namespace": "Cropzone Example",
- "source": "string",
- "created_by": "string",
- "author": "John Doe",
- "note": "Short description explaining something.",
- "type": "Land Annotation",
- "context": "property:cf4ff242-674c-42a7-837d-f52a82fd2648/field:daf2d4f8-6029-4035-b571-01ce03f4b422",
- "user_location": "-18.161360,-47.943459",
- "manual_location": "-18.161360,-47.943459",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "note_attachment": [
- "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
], - "note_tag": [
- "string"
], - "external_id": "string"
}
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "namespace": "Namespace Example",
- "source": "string",
- "created_by": "string",
- "author": "John Doe",
- "note": "Short description explaining something.",
- "date": "string",
- "type": "Land Annotation",
- "context": "property:cf4ff242-674c-42a7-837d-f52a82fd2648/field:daf2d4f8-6029-4035-b571-01ce03f4b422",
- "user_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "manual_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "note_attachment": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "key": "string",
- "created_by": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "2023-02-14T19",
- "status": "C",
- "file_type": "video",
}
], - "note_tag": [
- "string"
], - "external_id": "string"
}
Get Notes by namespace
last_key | string |
size | integer |
org_id required | string |
namespace required | string |
tags | Array of strings |
{- "org_id": "string",
- "namespace": "string",
- "tags": [
- "string"
]
}
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "namespace": "Namespace Example",
- "source": "string",
- "created_by": "string",
- "author": "John Doe",
- "note": "Short description explaining something.",
- "date": "string",
- "type": "Land Annotation",
- "context": "property:cf4ff242-674c-42a7-837d-f52a82fd2648/field:daf2d4f8-6029-4035-b571-01ce03f4b422",
- "user_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "manual_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "note_attachment": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "key": "string",
- "created_by": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "2023-02-14T19",
- "status": "C",
- "file_type": "video",
}
], - "note_tag": [
- "string"
], - "external_id": "string"
}
]
}
Get Notes by nearest points
offset | string |
size | integer |
org_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
latitude required | string |
longitude required | string |
source required | string |
radius required | string |
tags | Array of strings |
{- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "latitude": "-18.161360",
- "longitude": "-47.943459",
- "source": "string",
- "radius": "10",
- "tags": [
- "string"
]
}
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "namespace": "Namespace Example",
- "source": "string",
- "created_by": "string",
- "author": "John Doe",
- "note": "Short description explaining something.",
- "date": "string",
- "type": "Land Annotation",
- "context": "property:cf4ff242-674c-42a7-837d-f52a82fd2648/field:daf2d4f8-6029-4035-b571-01ce03f4b422",
- "user_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "manual_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "note_attachment": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "key": "string",
- "created_by": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "2023-02-14T19",
- "status": "C",
- "file_type": "video",
}
], - "distance": 0,
- "note_tag": [
- "string"
], - "external_id": "string"
}
]
}
Get Notes by property in a time interval
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
org_id required | object <uuid> (UUID Canonical textual representation) Example: org_id=bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
last_key | string |
size | integer |
start_date | string |
end_date | string |
tag | Array of strings If it's more than one value the values should be sent separately.
Ex: |
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "namespace": "Namespace Example",
- "source": "string",
- "created_by": "string",
- "author": "John Doe",
- "note": "Short description explaining something.",
- "date": "string",
- "type": "Land Annotation",
- "context": "property:cf4ff242-674c-42a7-837d-f52a82fd2648/field:daf2d4f8-6029-4035-b571-01ce03f4b422",
- "user_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "manual_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "note_attachment": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "key": "string",
- "created_by": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "2023-02-14T19",
- "status": "C",
- "file_type": "video",
}
], - "note_tag": [
- "string"
], - "external_id": "string"
}
]
}
Get Notes by source
last_key | string |
size | integer |
source required | string |
tags | Array of strings |
{- "source": "string",
- "tags": [
- "string"
]
}
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "namespace": "Namespace Example",
- "source": "string",
- "created_by": "string",
- "author": "John Doe",
- "note": "Short description explaining something.",
- "date": "string",
- "type": "Land Annotation",
- "context": "property:cf4ff242-674c-42a7-837d-f52a82fd2648/field:daf2d4f8-6029-4035-b571-01ce03f4b422",
- "user_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "manual_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "note_attachment": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "key": "string",
- "created_by": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "2023-02-14T19",
- "status": "C",
- "file_type": "video",
}
], - "note_tag": [
- "string"
], - "external_id": "string"
}
]
}
Create a new Note
id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
org_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
namespace required | string |
source required | string |
created_by required | string |
author required | string |
note required | string |
date required | string |
type required | string (NoteType) Enum: "Land Annotation" "Comment" |
context required | string (Note context value) A key:value collection with the format: |
object (Geojson object) | |
object (Geojson object) | |
parent_id | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
Array of objects (Note Attachment Object) | |
note_tag | Array of strings |
external_id | string |
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "namespace": "Namespace Example",
- "source": "string",
- "created_by": "string",
- "author": "John Doe",
- "note": "Short description explaining something.",
- "date": "string",
- "type": "Land Annotation",
- "context": "property:cf4ff242-674c-42a7-837d-f52a82fd2648/field:daf2d4f8-6029-4035-b571-01ce03f4b422",
- "user_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "manual_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "note_attachment": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "key": "string",
- "created_by": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "2023-02-14T19",
- "status": "C",
- "file_type": "video",
}
], - "note_tag": [
- "string"
], - "external_id": "string"
}
{- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "namespace": "Namespace Example",
- "source": "string",
- "created_by": "string",
- "author": "John Doe",
- "note": "Short description explaining something.",
- "date": "string",
- "type": "Land Annotation",
- "context": "property:cf4ff242-674c-42a7-837d-f52a82fd2648/field:daf2d4f8-6029-4035-b571-01ce03f4b422",
- "user_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "manual_location": {
- "type": "string",
- "geometry": {
- "type": "string",
- "coordinates": [
- 0
]
}
}, - "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "note_attachment": [
- {
- "id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "key": "string",
- "created_by": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "created_at": "2023-02-14T19",
- "status": "C",
- "file_type": "video",
}
], - "note_tag": [
- "string"
], - "external_id": "string"
}
Get Note Comment Details
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "id": "string",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "source": "string",
- "created_by": "string",
- "author": "John Doe",
- "created_at": "string",
- "note": "Short description explaining something.",
- "date": "string",
- "type": "Comment",
- "context": "property:cf4ff242-674c-42a7-837d-f52a82fd2648/field:daf2d4f8-6029-4035-b571-01ce03f4b422",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}
Delete a Note Comment
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
Get Note Comment by Parent ID
id required | object <uuid> (UUID Canonical textual representation) Example: bf1ac975-482e-405d-a9f0-efe8ad7d7481 A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "empty": true,
- "first": true,
- "last": true,
- "number_of_elements": 0,
- "pageable": {
- "current_key": "string",
- "size": 0,
- "next_key": "string"
}, - "content": [
- {
- "id": "string",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "source": "string",
- "created_by": "string",
- "author": "John Doe",
- "created_at": "string",
- "note": "Short description explaining something.",
- "date": "string",
- "type": "Comment",
- "context": "property:cf4ff242-674c-42a7-837d-f52a82fd2648/field:daf2d4f8-6029-4035-b571-01ce03f4b422",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}
]
}
Create a new Note Comment
id | string |
source required | string |
created_by required | string |
author required | string |
note required | string |
date required | string |
type required | string A Note Comment must have Comment type. |
parent_id required | object <uuid> (UUID Canonical textual representation) A v4 UUID, represented in its canonical textual form (hexadecimal, lowercase, 8-4-4-4-12 groups separated by a dash (-)). |
{- "id": "string",
- "source": "string",
- "created_by": "string",
- "author": "John Doe",
- "note": "Short description explaining something.",
- "date": "string",
- "type": "Comment",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}
{- "id": "string",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "source": "string",
- "created_by": "string",
- "author": "John Doe",
- "created_at": "string",
- "note": "Short description explaining something.",
- "date": "string",
- "type": "Comment",
- "context": "property:cf4ff242-674c-42a7-837d-f52a82fd2648/field:daf2d4f8-6029-4035-b571-01ce03f4b422",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}
Edit Note Comment with specified Id
id required | string |
source required | string |
author | string |
note | string |
{- "id": "string",
- "source": "string",
- "author": "John Doe",
- "note": "Short description explaining something."
}
{- "id": "string",
- "org_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481",
- "source": "string",
- "created_by": "string",
- "author": "John Doe",
- "created_at": "string",
- "note": "Short description explaining something.",
- "date": "string",
- "type": "Comment",
- "context": "property:cf4ff242-674c-42a7-837d-f52a82fd2648/field:daf2d4f8-6029-4035-b571-01ce03f4b422",
- "parent_id": "bf1ac975-482e-405d-a9f0-efe8ad7d7481"
}