external
Archives
Bandset
Catalog
Report
Create an order
Create a new order with tasking or/and archive orderitems
curl --request POST \
--url https://api.pixxel.space/v0/orders \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"dry_run": false,
"order_items": [
{
"bandset": {
"bandset_id": "<string>"
},
"cloud_cover": 20,
"cloud_delivery": {
"config": "d5f40033-4abd-48a1-a2f1-276df6edfeaf",
"path": "my-bucket/my-folder"
},
"delivery_speed": "STANDARD",
"end_date": "2020-10-28T00:00:00Z",
"geometry": {
"features": [
{
"geometry": {
"coordinates": [
[
[
123
]
]
],
"type": "Polygon"
},
"type": "Feature"
}
],
"type": "FeatureCollection"
},
"item_ids": [
"<string>"
],
"name": "Order Item 1",
"no_of_occurrences": 0,
"off_nadir": 20,
"project_id": "1234567890",
"recurrence": "ONCE",
"start_date": "2020-10-22T00:00:00Z",
"usecase": "agriculture"
}
]
}'
{
"created_at": "2020-01-01T00:00:00+00:00",
"created_by": "47435e2b-d8c4-41ff-9de9-2be3bfc92270",
"id": "47435e2b-d8c4-41ff-9de9-2be3bfc92276",
"order_items": [
{
"area": 1000,
"bandset": {
"bands": [
{
"name": "B001",
"wavelength": 473
}
],
"bandset_id": "47435e2b-d8c4-41ff-9de9-2be3bfc92276",
"custom": [
[
123
]
]
},
"base_amount": 10000,
"cloud_cover": 0,
"cloud_delivery": {
"config": "config",
"path": "/path/subdirectory1"
},
"created_at": "2024-05-27T06:50:20.056549Z",
"created_by": "e31ab6f8-d359-4c6a-83c6-bfa32229bb01",
"delivery_speed": "STANDARD/EXPEDITED",
"end_date": "2020-10-28T00:00:00Z",
"feasibility_status": "FAILED/WEAK_SUCCESS/SUCCESS",
"final_amount": 12000,
"id": "47435e2b-d8c4-41ff-9de9-2be3bfc92276",
"image_type": "VNIR",
"images": [
{
"geometry": "<any>",
"item_id": "<string>"
}
],
"last_feasibility_check": "2024-05-27T06:50:20.056549Z",
"name": "order item 1",
"no_of_occurrences": 0,
"number_of_bands": 2,
"occurrences": [
{
"end": "2020-01-01T00:00:00+00:00",
"start": "2020-01-01T00:00:00+00:00"
}
],
"off_nadir": 0,
"order_id": "47435e2b-d8c4-41ff-9de9-2be3bfc92276",
"org_id": "47435e2b-d8c4-41ff-9de9-2be3bfc92276",
"payment_status": "PAID/PARTIAL-REFUND/REFUND/UNPAID/PARTIAL-MONTHLY",
"project_id": "47435e2b-d8c4-41ff-9de9-2be3bfc92276",
"recurrence": "ONCE",
"start_date": "2020-10-22T00:00:00Z",
"status": "DRAFT/ACTIVE/COMPLETED/CANCELLED/FAILED/PARTIALLY_COMPLETED",
"tokens_used": 100,
"transaction_id": "47435e2b-d8c4-41ff-9de9-2be3bfc92276",
"type": "TASKING/ARCHIVE/RECURRING",
"updated_at": "2024-05-27T06:50:20.056549Z",
"updated_by": "e31ab6f8-d359-4c6a-83c6-bfa32229bb01",
"uplifts": [
{
"amount": 123,
"item_id": "<string>",
"percentage": 123,
"subtitle": "<string>",
"title": "<string>"
}
],
"usecase": "agriculture",
"user_id": "47435e2b-d8c4-41ff-9de9-2be3bfc92276"
}
],
"org_id": "e31ab6f8-d359-4c6a-83c6-bfa32229bb01",
"paid_at": "",
"status": "PAID",
"total_amount": 1000,
"transaction_id": "e31ab6f8-d359-4c6a-83c6-bfa32229bb01",
"updated_at": "2020-01-01T00:00:00+00:00",
"updated_by": "47435e2b-d8c4-41ff-9de9-2be3bfc92270",
"user_id": "e31ab6f8-d359-4c6a-83c6-bfa32449bb01"
}
Authorizations
Body
"1234567890"
"agriculture"
(tasking) default: 20
20
(tasking) default: STANDARD
STANDARD
, EXPEDITED
, NOT_APPLICABLE
"STANDARD"
(required for tasking) end date of your tasking order, the utc date will be considered as the end date.
"2020-10-28T00:00:00Z"
(required for tasking) Example
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"coordinates": [
[
[
-102.41263671019601,
34.221627630943814
],
[
-102.41263671019601,
34.189892538147575
],
[
-102.28599400714128,
34.189892538147575
],
[
-102.28599400714128,
34.221627630943814
],
[
-102.41263671019601,
34.221627630943814
]
]
],
"type": "Polygon"
}
}
]
}
FeatureCollection
(required for archive orders)
100
"Order Item 1"
(tasking) in case of recurring orders ie , either one of no_of_occurrences or end_date should be specified.
0
(tasking) default: 20
20
(required for tasking)
ONCE
, WEEKLY
, BIWEEKLY
, MONTHLY
, BIMONTHLY
, QUARTERLY
, NOT_APPLICABLE
"ONCE"
(required for tasking) start date of your tasking order, the utc date will be considered as the start date.
"2020-10-22T00:00:00Z"
default is false
false
Response
"2020-01-01T00:00:00+00:00"
uuid of the user who created the order
"47435e2b-d8c4-41ff-9de9-2be3bfc92270"
"47435e2b-d8c4-41ff-9de9-2be3bfc92276"
UTM based area of the current order in sq. km.
1000
bandset configuration for the current order
id of the bandset
"47435e2b-d8c4-41ff-9de9-2be3bfc92276"
base amount of the order item without any uplifts or discounts
10000
maximum cloud cover percentage for the tasking order
0
timestamp of the creation of the order item
"2024-05-27T06:50:20.056549Z"
uuid of the user who created the order item
"e31ab6f8-d359-4c6a-83c6-bfa32229bb01"
delivery speed of the tasking order
STANDARD
, EXPEDITED
, NOT_APPLICABLE
"STANDARD/EXPEDITED"
end date of your tasking order, the utc date will be considered as the end date.
"2020-10-28T00:00:00Z"
(only for tasking) feasibility status of the order showing the probability of the actual capture
NOT_APPLICABLE
, FAILED
, WEAK_SUCCESS
, SUCCESS
, UNSPECIFIED
"FAILED/WEAK_SUCCESS/SUCCESS"
final amount of the order item after applying uplifts and discounts
12000
unique identifier of the order item
"47435e2b-d8c4-41ff-9de9-2be3bfc92276"
image type for the tasking order
VNIR
, SWIR
, VSWIR
"VNIR"
(only for tasking) timestamp of the feasibility status. Feasibility status can change wrt time for the same order.
"2024-05-27T06:50:20.056549Z"
name of the order item
"order item 1"
number of occurrences of the recurring order.
0
number of bands in the tasking order
2
maximum off nadir angle for the tasking order
0
UUID of the order
"47435e2b-d8c4-41ff-9de9-2be3bfc92276"
UUID of the organization
"47435e2b-d8c4-41ff-9de9-2be3bfc92276"
payment status of the order item
PAID
, PARTIAL-REFUND
, REFUND
, UNPAID
, PARTIAL-MONTHLY
"PAID/PARTIAL-REFUND/REFUND/UNPAID/PARTIAL-MONTHLY"
UUID of the project
"47435e2b-d8c4-41ff-9de9-2be3bfc92276"
recurrence of the order item, (only for tasking and recurring orders)
ONCE
, WEEKLY
, BIWEEKLY
, MONTHLY
, BIMONTHLY
, QUARTERLY
, NOT_APPLICABLE
"ONCE"
start date of your tasking order, the utc date will be considered as the start date.
"2020-10-22T00:00:00Z"
status of the order item
DRAFT
, ACTIVE
, COMPLETED
, CANCELLED
, FAILED
, PARTIALLY_COMPLETED
"DRAFT/ACTIVE/COMPLETED/CANCELLED/FAILED/PARTIALLY_COMPLETED"
tokens used by the order item, populated only after payment
100
transaction id assorciated with the order item
"47435e2b-d8c4-41ff-9de9-2be3bfc92276"
type of the order item
TASKING
, ARCHIVE
, RECURRING
"TASKING/ARCHIVE/RECURRING"
timestamp of the last update of the order item
"2024-05-27T06:50:20.056549Z"
uuid of the user who last updated the order item
"e31ab6f8-d359-4c6a-83c6-bfa32229bb01"
list of uplifts/discounts applied to the order
delta amount due to the uplift
(only for archive order) the item id to which the uplift applies
percentage of the uplift
description of the uplift
type/cause of the uplift
usecase for which this order was requested
"agriculture"
UUID of the user
"47435e2b-d8c4-41ff-9de9-2be3bfc92276"
"e31ab6f8-d359-4c6a-83c6-bfa32229bb01"
""
payment status of the order PAID/UNPAID/PAYMENT_IN_PROGRESS
PAID
, REFUND
, UNPAID
, PAYMENT_IN_PROGRESS
"PAID"
1000
"e31ab6f8-d359-4c6a-83c6-bfa32229bb01"
"2020-01-01T00:00:00+00:00"
uuid of the user who last updated the order
"47435e2b-d8c4-41ff-9de9-2be3bfc92270"
"e31ab6f8-d359-4c6a-83c6-bfa32449bb01"
curl --request POST \
--url https://api.pixxel.space/v0/orders \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"dry_run": false,
"order_items": [
{
"bandset": {
"bandset_id": "<string>"
},
"cloud_cover": 20,
"cloud_delivery": {
"config": "d5f40033-4abd-48a1-a2f1-276df6edfeaf",
"path": "my-bucket/my-folder"
},
"delivery_speed": "STANDARD",
"end_date": "2020-10-28T00:00:00Z",
"geometry": {
"features": [
{
"geometry": {
"coordinates": [
[
[
123
]
]
],
"type": "Polygon"
},
"type": "Feature"
}
],
"type": "FeatureCollection"
},
"item_ids": [
"<string>"
],
"name": "Order Item 1",
"no_of_occurrences": 0,
"off_nadir": 20,
"project_id": "1234567890",
"recurrence": "ONCE",
"start_date": "2020-10-22T00:00:00Z",
"usecase": "agriculture"
}
]
}'
{
"created_at": "2020-01-01T00:00:00+00:00",
"created_by": "47435e2b-d8c4-41ff-9de9-2be3bfc92270",
"id": "47435e2b-d8c4-41ff-9de9-2be3bfc92276",
"order_items": [
{
"area": 1000,
"bandset": {
"bands": [
{
"name": "B001",
"wavelength": 473
}
],
"bandset_id": "47435e2b-d8c4-41ff-9de9-2be3bfc92276",
"custom": [
[
123
]
]
},
"base_amount": 10000,
"cloud_cover": 0,
"cloud_delivery": {
"config": "config",
"path": "/path/subdirectory1"
},
"created_at": "2024-05-27T06:50:20.056549Z",
"created_by": "e31ab6f8-d359-4c6a-83c6-bfa32229bb01",
"delivery_speed": "STANDARD/EXPEDITED",
"end_date": "2020-10-28T00:00:00Z",
"feasibility_status": "FAILED/WEAK_SUCCESS/SUCCESS",
"final_amount": 12000,
"id": "47435e2b-d8c4-41ff-9de9-2be3bfc92276",
"image_type": "VNIR",
"images": [
{
"geometry": "<any>",
"item_id": "<string>"
}
],
"last_feasibility_check": "2024-05-27T06:50:20.056549Z",
"name": "order item 1",
"no_of_occurrences": 0,
"number_of_bands": 2,
"occurrences": [
{
"end": "2020-01-01T00:00:00+00:00",
"start": "2020-01-01T00:00:00+00:00"
}
],
"off_nadir": 0,
"order_id": "47435e2b-d8c4-41ff-9de9-2be3bfc92276",
"org_id": "47435e2b-d8c4-41ff-9de9-2be3bfc92276",
"payment_status": "PAID/PARTIAL-REFUND/REFUND/UNPAID/PARTIAL-MONTHLY",
"project_id": "47435e2b-d8c4-41ff-9de9-2be3bfc92276",
"recurrence": "ONCE",
"start_date": "2020-10-22T00:00:00Z",
"status": "DRAFT/ACTIVE/COMPLETED/CANCELLED/FAILED/PARTIALLY_COMPLETED",
"tokens_used": 100,
"transaction_id": "47435e2b-d8c4-41ff-9de9-2be3bfc92276",
"type": "TASKING/ARCHIVE/RECURRING",
"updated_at": "2024-05-27T06:50:20.056549Z",
"updated_by": "e31ab6f8-d359-4c6a-83c6-bfa32229bb01",
"uplifts": [
{
"amount": 123,
"item_id": "<string>",
"percentage": 123,
"subtitle": "<string>",
"title": "<string>"
}
],
"usecase": "agriculture",
"user_id": "47435e2b-d8c4-41ff-9de9-2be3bfc92276"
}
],
"org_id": "e31ab6f8-d359-4c6a-83c6-bfa32229bb01",
"paid_at": "",
"status": "PAID",
"total_amount": 1000,
"transaction_id": "e31ab6f8-d359-4c6a-83c6-bfa32229bb01",
"updated_at": "2020-01-01T00:00:00+00:00",
"updated_by": "47435e2b-d8c4-41ff-9de9-2be3bfc92270",
"user_id": "e31ab6f8-d359-4c6a-83c6-bfa32449bb01"
}