API Testing Using Postman

Features

Description

This Features API is used to register a field by users.

Request URL

Field URL

Request Body

Field Request

Response

Field Response

Plant Health Indices

i. Subscription

Request URL

Plant Health URL

Request Body

Plant Health Request

Response

Plant Health Response

ii. Fetch All

Request

Request

Response

Response

iii. Fetch by Format

Request

Request

Response

Response

Synthetic Aperture Radar (SAR) - NDVIS

i. Subscription

Request URL

NDVIS Request URL

Resquest Body

NDVIS Request Body

Response

Response

ii. Fetch All

Request

Request

Response

Response

Zoning

i. Subscription

Request URL

Zoning Request URL

Resquest Body

Zoning Request Body

Response

Response

ii. Fetch All

Request

Request

Response

Response

iii. Fetch By Format

Request

Request

Response

Response

Crop Specific Nitrogen Recommendation

i. Subscription

Request URL

Nitrogen Request URL

Resquest Body

Nitrogen Request body

Response

Nitrogen Response

ii. Fetch All

Request

Request

Response

Response

iii. Fetch By Format

Request

Request

Response

Response Response

NDWI (water stress)

i. Subscription

First need to figure out the token. There are two ways to make it.

Plan A is to add token in ‘Authorization’ tab. User need to choose token type in the dropdown list. If user have set the token before, after choose the bearer token the value of token will add in the text box in the right side of the image.

Authorization Tab

Plan B is add token attribute in the ‘Header’ tab. The detail will show in the image at below.

Header Tab

Then is sending request to Vultus server.

Sending Request

The Response body sample

Response Sample

ii. Fetch All

This part also need to figure out the token the way have been described at above Subscription part.

Request sample

Request Sample

Response sample

If your processing is finish the fetch API Response body will be at below

Response body

Soil Organic Carbon

i. Subscription

Request URL

SOC Request URL

Resquest Body

SOC Request Body

Response

Response

ii. Fetch All

Request

Request

Response

Response

Productivity Zones

i. Subscription

Request URL

SOC Request URL

Resquest Body

SOC Request Body

Response

Response

ii. Fetch All

Request

Request

Response

Response

Weather API

Request

Request

Response

Response

Processing Status

Request

Request

Response

Response

In response, there is a parameter called "status" returns either "true" or "false". True means the available images are processed and generated without any issue. False means the available images are having issue in generation or being processed in the backend. There is another parameter called "numImages" will show the total number of available dates from the satellite for the particular date range.

There is processing status in the ‘datelist’ parameter. The parameter ‘processstatus’ shows the file is processed or not. The ‘true’ means the file is processed and the ‘false’ means the file is not processed. ‘Adaptor’ shows which part of the services get result for user.

And we added the “cloud” tag to let user know about the polygon is covered by cloud or not.

First Sample:

First Sample

Second Sample:

Second Sample

There are two samples for the processing status for data have been processed and date of data is skipped.