Field Squared API Services

<back to all web services

InventoryItemsByPriorityRequest

The following routes are available for this service:
GET/{Workspace}/v2/InventoryItemsByPriority/{NumberOfDays}
GET/{Workspace}/v2/InventoryItemsByPriority/
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class InventoryItemsByPriorityRequest
    {
        public String Workspace = null;
        public Integer NumberOfDays = null;
        
        public String getWorkspace() { return Workspace; }
        public InventoryItemsByPriorityRequest setWorkspace(String value) { this.Workspace = value; return this; }
        public Integer getNumberOfDays() { return NumberOfDays; }
        public InventoryItemsByPriorityRequest setNumberOfDays(Integer value) { this.NumberOfDays = value; return this; }
    }

}

Java InventoryItemsByPriorityRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /{Workspace}/v2/InventoryItemsByPriority/{NumberOfDays} HTTP/1.1 
Host: dev.fieldsquared.com 
Accept: text/jsv