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/
namespace Field2Office.API.V2.Model.Inventory

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type InventoryItemsByPriorityRequest() = 
        member val Workspace:String = null with get,set
        member val NumberOfDays:Int32 = new Int32() with get,set

F# 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