Visiblefarm system can carry out geographical and statistical calculations, summaries and processes on the data arriving in the system. In the point below the API calls to realize these are described.
GET /fieldsbypath?filter[JWToken]=’ba1af54ec3f014f765e8172f9a86dc2a’&filter[MeasurePath] =34252790 HTTP/1.1 Accept: application/vnd.api+json
POST /fieldsbypath HTTP/1.1 Content-Type: application/vnd.api+json Accept: application/vnd.api+json { "meta":{ "JWToken": "ba1af54ec3f014f765e8172f9a86dc2a" }, "data":[{ "type": " fieldsbypath ", "attributes": { "MeasurePath": "34252790" }, },{ "type": " fieldsbypath ", "attributes": { "Measure": "135372" } }] }
HTTP/1.1 200 OK Content-Type: application/vnd.api+json { "meta":{ "JWToken": "ba1af54ec3f014f765e8172f9a86dc2a" }, "link":[{ "self": "http://api.visiblefarm.net/fieldsbypath" }, "data":[{ "type": "partfield", "id": "130", "attributes": { "MeasurePath": "34252790", "PartFieldName": "WETZL-1-16", "Length": "12453.2", } },{ "type": "partfield", "id": "131", "attributes": { "MeasurePath": "34252790", "PartFieldName": "WETZL-1-17", "Length": "345.3", } },{ "type": "partfield", "id": "141", "attributes": { "MeasurePath": "135372", "PartFieldName": "WETZL-2-1", "Length": "145.3", } },{ "type": "partfield", "id": "142", "attributes": { "MeasurePath": "135372", "PartFieldName": "WETZL-2-2", "Length": "235.2", } }] }
GET /splitpathbyfield?filter[JWToken]=’ba1af54ec3f014f765e8172f9a86dc2a’ &filter[MeasurePath]=34252790 HTTP/1.1 Accept: application/vnd.api+json
HTTP/1.1 200 OK Content-Type: application/vnd.api+json { "meta":{ "JWToken": "ba1af54ec3f014f765e8172f9a86dc2a" }, "link":[{ "self": "http://api.visiblefarm.net/splitpathbyfield" }, "data":[{ "type": "measurepath", "id": "34252792", "attributes": { "Count": "210" }, "relationships": { "measure": { "data": { "id": "128", "type": "measure" } } } },{ "type": "measurepath", "id": "34252793", "attributes": { "Count": "4350", }, "relationships": { "measure": { "data": { "id": "129", "type": "measure" } } } },{ } },{ "type": "measurepath", "id": "34252794", "attributes": { "Count": "132" }, "relationships": { "measure": { "data": { "id": "130", "type": "measure" } } } },{ } },{ "type": "measurepath", "id": "34252795", "attributes": { "Count": "266" }, "relationships": { "measure": { "data": { "id": "131", "type": "measure" } } } }] }
GET /lengthsbypath?filter[JWToken]=’ba1af54ec3f014f765e8172f9a86dc2a’&filter[MeasurePath]= 34252790 HTTP/1.1 Accept: application/vnd.api+json
POST /lengthbypath HTTP/1.1 Content-Type: application/vnd.api+json Accept: application/vnd.api+json { "meta":{ "JWToken": "ba1af54ec3f014f765e8172f9a86dc2a" }, "data":[{ "type": " lengthbypath ", "attributes": { "MeasurePath": "34252790" }, },{ "type": " lengthbypath ", "attributes": { "Measure": "135372" } }] }
HTTP/1.1 200 OK Content-Type: application/vnd.api+json { "meta":{ "JWToken": "ba1af54ec3f014f765e8172f9a86dc2a" }, "link":[{ "self": "http://api.visiblefarm.net/lengthbypath" }, "data":[{ "type": " measurepath ", "id": "34252790", "attributes": { "MeasurePath": "34252790" "Length": "12453.2" }, }] }
GET /areabypath?filter[JWToken]=’ba1af54ec3f014f765e8172f9a86dc2a’&filter[MeasurePath]= 34252790 HTTP/1.1 Accept: application/vnd.api+json
POST /areabypath HTTP/1.1 Content-Type: application/vnd.api+json Accept: application/vnd.api+json { "meta":{ "JWToken": "ba1af54ec3f014f765e8172f9a86dc2a" }, "data":[{ "type": " areabypath ", "attributes": { "MeasurePath": "34252790" }, },{ "type": " areabypath ", "attributes": { "Measure": "135372" } }] }
HTTP/1.1 200 OK Content-Type: application/vnd.api+json { "meta":{ "JWToken": "ba1af54ec3f014f765e8172f9a86dc2a" }, "link":[{ "self": "http://api.visiblefarm.net/areabypath" }, "data":[{ "type": " measurepath ", "id": "34252790", "attributes": { "MeasurePath": "34252790" "Area": "74719.2" }, }] }
GET /netareabypath?filter[JWToken]=’ba1af54ec3f014f765e8172f9a86dc2a’&filter[MeasurePath]= 34252790 HTTP/1.1 Accept: application/vnd.api+json
POST /netareabypath HTTP/1.1 Content-Type: application/vnd.api+json Accept: application/vnd.api+json { "meta":{ "JWToken": "ba1af54ec3f014f765e8172f9a86dc2a" }, "data":[{ "type": " netareabypath ", "attributes": { "MeasurePath": "34252790" }, },{ "type": " netareabypath ", "attributes": { "Measure": "135372" } }] }
HTTP/1.1 200 OK Content-Type: application/vnd.api+json { "meta":{ "JWToken": "ba1af54ec3f014f765e8172f9a86dc2a" }, "link":[{ "self": "http://api.visiblefarm.net/netareabypath" }, "data":[{ "type": " measurepath ", "id": "34252790", "attributes": { "MeasurePath": "34252790" "Area": "58560.6" }, }] }
GET /gridbymeasure?filter[JWToken]=’ba1af54ec3f014f765e8172f9a86dc2a’&filter[MeasurePath]= 34252790 HTTP/1.1 Accept: application/vnd.api+json
HTTP/1.1 200 OK Content-Type: application/vnd.api+json { "meta":{ "JWToken": "ba1af54ec3f014f765e8172f9a86dc2a" }, "link":[{ "self": "http://api.visiblefarm.net/gridbymeasure" }, "data":[{ "type": " measurecell ", "id": "2343", "attributes": { "Property_ID": "247" }, }] }
POST /importisoxml HTTP/1.1 Content-Type: application/vnd.api+json Accept: application/vnd.api+json { "meta":{ "JWToken": "ba1af54ec3f014f765e8172f9a86dc2a" }, "data":[{ "type": " isoxml ", "zip": "[isoxml package content in zipped bytestring format]" }] }
HTTP/1.1 200 OK Content-Type: application/vnd.api+json { "meta":{ "JWToken": "ba1af54ec3f014f765e8172f9a86dc2a" }, "link":[{ "self": "http://api.visiblefarm.net/importxml" }, "data":[{ "type": " task ", "id": "301", "attributes": { "TaskName": "TASK_22082017", "TaskStatus": "Closed", }, },{ "type": " task ", "id": "302", "attributes": { "TaskName": "TASK_22082017", "TaskStatus": "Paused", }, }] }
GET /exportisoxml?filter[JWToken]=’ba1af54ec3f014f765e8172f9a86dc2a’&filter[Task]=12,13 HTTP/1.1 Accept: application/vnd.api+json
HTTP/1.1 200 OK Content-Type: application/vnd.api+json { "meta":{ "JWToken": "ba1af54ec3f014f765e8172f9a86dc2a" }, "link":[{ "self": "http://api.visiblefarm.net/exportisoxml" }, "data":[{ "type": " isoxml ", "zip": "[isoxml taskdata.xml content in zipped bytestring format]" }] }