GET Technology/GetTechnologyLicenses?TransactionDate={TransactionDate}&ProductGuid={ProductGuid}&CustomerGuid={CustomerGuid}&DeptID={DeptID}&ProdID={ProdID}&CustID={CustID}

Returns the technology license information about a single customer and product for a given transaction date. To retrieve a list of technology licenses, provide the following: 1. Transaction Date 2. CustID or CustGuid 3. DeptID and ProdID -or- ProductGuid

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
TransactionDate

The Agvance transaction date, either the Invoice Date, Book Date, or Delivery Ticket Date.

date

Required

ProductGuid

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

globally unique identifier
CustomerGuid

The Globally Unique Identifier of the Agvance Customer. This is used if the CustID is Blank.

globally unique identifier
DeptID

The Agvance DeptID.

string

Default value is string.Empty

ProdID

The Agvance ProdID.

string

Default value is string.Empty

CustID

The Agvance CustID.

string

Default value is string.Empty

Body Parameters

Response Information

Resource Description

Returns the technology license information about a single customer and product for a given transaction date. To retrieve a list of technology licenses, provide the following: 1. Transaction Date 2. CustID or CustGuid 3. DeptID and ProdID -or- ProductGuid

AgvTechnologyLicense
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
LicenseList

JSON Object of ClsTechnologyLicense.

Collection of ClsTechnologyLicense

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": "2",
  "LicenseList": [
    {
      "LicenseNumber": "sample string 1",
      "EffectiveDate": "2022-12-08T02:24:04.5321647+00:00",
      "ExpirationDate": "2022-12-08T02:24:04.5321647+00:00"
    },
    {
      "LicenseNumber": "sample string 1",
      "EffectiveDate": "2022-12-08T02:24:04.5321647+00:00",
      "ExpirationDate": "2022-12-08T02:24:04.5321647+00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<AgvTechnologyLicense xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Customer">
  <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>
  <LicenseList xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.Customer">
    <d2p1:ClsTechnologyLicense>
      <d2p1:EffectiveDate>2022-12-08T02:24:04.5321647+00:00</d2p1:EffectiveDate>
      <d2p1:ExpirationDate>2022-12-08T02:24:04.5321647+00:00</d2p1:ExpirationDate>
      <d2p1:LicenseNumber>sample string 1</d2p1:LicenseNumber>
    </d2p1:ClsTechnologyLicense>
    <d2p1:ClsTechnologyLicense>
      <d2p1:EffectiveDate>2022-12-08T02:24:04.5321647+00:00</d2p1:EffectiveDate>
      <d2p1:ExpirationDate>2022-12-08T02:24:04.5321647+00:00</d2p1:ExpirationDate>
      <d2p1:LicenseNumber>sample string 1</d2p1:LicenseNumber>
    </d2p1:ClsTechnologyLicense>
  </LicenseList>
  <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>
</AgvTechnologyLicense>