POST api/v1/product
Request Information
URI Parameters
None.
Body Parameters
Product| Name | Description | Type | Additional information |
|---|---|---|---|
| service_id | string |
None. |
|
| layer | string |
None. |
|
| workspace | string |
None. |
|
| sensor | string |
None. |
|
| product | string |
None. |
|
| date | string |
None. |
|
| crs | string |
None. |
|
| minx | decimal number |
None. |
|
| miny | decimal number |
None. |
|
| maxx | decimal number |
None. |
|
| maxy | decimal number |
None. |
|
| low_value | decimal number |
None. |
|
| high_value | decimal number |
None. |
|
| confidence | integer |
None. |
|
| alert | integer |
None. |
|
| job_id | string |
None. |
|
| tempUpload | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"service_id": "sample string 1",
"layer": "sample string 2",
"workspace": "sample string 3",
"sensor": "sample string 4",
"product": "sample string 5",
"date": "sample string 6",
"crs": "sample string 7",
"minx": 8.1,
"miny": 9.1,
"maxx": 10.1,
"maxy": 11.1,
"low_value": 1.1,
"high_value": 1.1,
"confidence": 12,
"alert": 13,
"job_id": "sample string 14",
"tempUpload": true
}
application/xml, text/xml
Sample:
<Product xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoilEssentials.API.Models.Product"> <alert>13</alert> <confidence>12</confidence> <crs>sample string 7</crs> <date>sample string 6</date> <high_value>1.1</high_value> <job_id>sample string 14</job_id> <layer>sample string 2</layer> <low_value>1.1</low_value> <maxx>10.1</maxx> <maxy>11.1</maxy> <minx>8.1</minx> <miny>9.1</miny> <product>sample string 5</product> <sensor>sample string 4</sensor> <service_id>sample string 1</service_id> <tempUpload>true</tempUpload> <workspace>sample string 3</workspace> </Product>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>