GET Technology/GetTechnologyGroupCheck?TransactionType={TransactionType}&ProductGuid={ProductGuid}&DeptID={DeptID}&ProdID={ProdID}

Returns the technology group check information for a transaction type and product. To retrieve the technology group check information, provide the following: 1. TransactionType 2. DeptID and ProdID -or- ProductGuid

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
TransactionType

The Agvance transaction type enumeration, either INVOICE = 1, BOOK = 2, or DELIVERY = 3

TransactionType

Required

ProductGuid

The Globally Unique Identifier of the Agvance Product. This is used if either the DeptID or ProdID are Blank.

globally unique identifier
DeptID

The Agvance DeptID.

string

Default value is string.Empty

ProdID

The Agvance ProdID.

string

Default value is string.Empty

Body Parameters

Response Information

Resource Description

Returns the technology group check information for a transaction type and product. To retrieve the technology group check information, provide the following: 1. TransactionType 2. DeptID and ProdID -or- ProductGuid

AgvTechnologyGroupCheck
NameDescriptionTypeAdditional Information
Status

0 = Success. 1 = An error occurred. 2 = An error occurred. 3 = Descriptive message, process was successful.

string
Message

Informational message that corresponds to the Status returned. 0 - Message will be "OK". 1 - Detailed message returned to give user an indication of what went wrong. 2 - Less Detailed message returned that may not mean anything to the user but that the application might use to take a corrective action. 3 - Not an error but something the user might need to know.

string
ErrorList

List of errors from the API

Collection of string
WarningList

List of warnings from the API

Collection of string
Count

Count of how many JSON Objects.

string
CheckObject

JSON Object of ClsTechnologyGroupCheck.

ClsTechnologyGroupCheck

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "ErrorList": [
    "sample string 1",
    "sample string 2"
  ],
  "WarningList": [
    "sample string 1",
    "sample string 2"
  ],
  "Count": "1",
  "CheckObject": {
    "TechnologyGroup": "sample string 1",
    "CheckMethod": "sample string 2",
    "VeterinaryFeedDirective": true
  }
}

application/xml, text/xml

Sample:
<AgvTechnologyGroupCheck xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Customer">
  <CheckObject xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.Customer">
    <d2p1:CheckMethod>sample string 2</d2p1:CheckMethod>
    <d2p1:TechnologyGroup>sample string 1</d2p1:TechnologyGroup>
    <d2p1:VeterinaryFeedDirective>true</d2p1:VeterinaryFeedDirective>
  </CheckObject>
  <ErrorList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ErrorList>
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
  <WarningList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </WarningList>
</AgvTechnologyGroupCheck>