GET BlendTicketList/GetBlendTicket?custID={custID}&fieldID={fieldID}&Location={Location}&StartDate={StartDate}&EndDate={EndDate}

Returns a list of blend tickets.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
custID

CustID of the blend tickets to return, also Customer GUID can be used as a filter. (optional)

string

Default value is string.Empty

fieldID

FieldID of the blend tickets to return, also Field GUID can be used as a filter. (optional)

string

Default value is string.Empty

Location

Location of the blend tickets to return, also Location GUID can be used as a filter. (optional)

string

Default value is ALL

StartDate

Include all tickets Ordered on or after this date. Format MM-dd-yyyy (optional)

string

Default value is string.Empty

EndDate

Include all tickets Ordered on or before this date. Format MM-dd-yyyy (optional)

string

Default value is string.Empty

Body Parameters

Response Information

Resource Description

Returns a list of blend tickets.

AgvBlendTicketList
NameDescriptionTypeAdditional Information
Status

Status of the API call.

string
Message

Message of the API call.

string
Count

Count of how many BlendTickets JSON dictionaries.

string
BlendTicketListItems

JSON dictionary of BlendTickets

Collection of clsBlendTicketListItem

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Count": "sample string 3",
  "BlendTicketListItems": [
    {
      "TicketNum": 1,
      "GrowerID": "sample string 2",
      "FieldID": "sample string 3",
      "Location": "sample string 4",
      "Zone": "sample string 5",
      "Plan": "sample string 6",
      "Comments": "sample string 7",
      "Status": "sample string 8",
      "OrderedDate": "2022-12-08T03:10:57.3390603+00:00",
      "LoadedDate": "2022-12-08T03:10:57.3390603+00:00",
      "ControlNum": "sample string 9",
      "AddedByUserID": "sample string 10",
      "LastEditedUserID": "sample string 11"
    },
    {
      "TicketNum": 1,
      "GrowerID": "sample string 2",
      "FieldID": "sample string 3",
      "Location": "sample string 4",
      "Zone": "sample string 5",
      "Plan": "sample string 6",
      "Comments": "sample string 7",
      "Status": "sample string 8",
      "OrderedDate": "2022-12-08T03:10:57.3390603+00:00",
      "LoadedDate": "2022-12-08T03:10:57.3390603+00:00",
      "ControlNum": "sample string 9",
      "AddedByUserID": "sample string 10",
      "LastEditedUserID": "sample string 11"
    }
  ]
}

application/xml, text/xml

Sample:
<AgvBlendTicketList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Blend">
  <BlendTicketListItems xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI.plbl">
    <d2p1:clsBlendTicketListItem>
      <d2p1:AddedByUserID>sample string 10</d2p1:AddedByUserID>
      <d2p1:Comments>sample string 7</d2p1:Comments>
      <d2p1:ControlNum>sample string 9</d2p1:ControlNum>
      <d2p1:FieldID>sample string 3</d2p1:FieldID>
      <d2p1:GrowerID>sample string 2</d2p1:GrowerID>
      <d2p1:LastEditedUserID>sample string 11</d2p1:LastEditedUserID>
      <d2p1:LoadedDate>2022-12-08T03:10:57.3390603+00:00</d2p1:LoadedDate>
      <d2p1:Location>sample string 4</d2p1:Location>
      <d2p1:OrderedDate>2022-12-08T03:10:57.3390603+00:00</d2p1:OrderedDate>
      <d2p1:Plan>sample string 6</d2p1:Plan>
      <d2p1:Status>sample string 8</d2p1:Status>
      <d2p1:TicketNum>1</d2p1:TicketNum>
      <d2p1:Zone>sample string 5</d2p1:Zone>
    </d2p1:clsBlendTicketListItem>
    <d2p1:clsBlendTicketListItem>
      <d2p1:AddedByUserID>sample string 10</d2p1:AddedByUserID>
      <d2p1:Comments>sample string 7</d2p1:Comments>
      <d2p1:ControlNum>sample string 9</d2p1:ControlNum>
      <d2p1:FieldID>sample string 3</d2p1:FieldID>
      <d2p1:GrowerID>sample string 2</d2p1:GrowerID>
      <d2p1:LastEditedUserID>sample string 11</d2p1:LastEditedUserID>
      <d2p1:LoadedDate>2022-12-08T03:10:57.3390603+00:00</d2p1:LoadedDate>
      <d2p1:Location>sample string 4</d2p1:Location>
      <d2p1:OrderedDate>2022-12-08T03:10:57.3390603+00:00</d2p1:OrderedDate>
      <d2p1:Plan>sample string 6</d2p1:Plan>
      <d2p1:Status>sample string 8</d2p1:Status>
      <d2p1:TicketNum>1</d2p1:TicketNum>
      <d2p1:Zone>sample string 5</d2p1:Zone>
    </d2p1:clsBlendTicketListItem>
  </BlendTicketListItems>
  <Count>sample string 3</Count>
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
</AgvBlendTicketList>