als_get_block_defs.api

Top  Previous  Next

Description

The als_get_block_defs.cgi web service will retrieve block definitions.

 

Example Usage            http://127.0.0.1/als_get_block_defs.cgi

 

Inputs

Parameter

Description

Required

Example

Data Type

block

Unique identifier for block defs

 

Optional

block=5

Integer

vendor

Vendor Code to limit the result set to a specific vendor

 

See also als_get_vendors.cgi

 

Optional

vendor=22

Integer

product

Product  Code to limit the result set to a specific product

 

See also als_get_products.cgi

 

Optional

product=234

Integer

startdate

StartDate of block is greater than or equal to this date

Optional

startdate=2005-11-08

Date

enddate

EndDate of block is less than  than or equal to this date

Optional

enddate=205-11-25

Date

 

 

Returned Fields

#

Field Name

Description

Data Type

1

 



2




 

 

 

 

 

XML Example

 

<?xml version="1.0" encoding="utf-8" ?>

- <root>

- <blockdefs>

<row block="12" vendor="395" product="1280" startdate="11/5/2005" enddate="12/31/2005" mon="True" tue="True" wed="True" thu="True" fri="True" sat="True" sun="True" quantity="10" active="False" releasedays="14" releasetime="" autofax="False" faxno="" blocktime="10:00:00 AM" notes="Test Block Note" problock="False" email="" autoemail="False" lastemailsent="" emailccto="" sequenceorder="" lastupdatedon="11/11/2005 11:32:21 AM" />

<row block="13" vendor="395" product="1280" startdate="11/5/2005" enddate="12/31/2005" mon="True" tue="True" wed="True" thu="True" fri="True" sat="True" sun="True" quantity="20" active="False" releasedays="14" releasetime="" autofax="False" faxno="" blocktime="2:00:00 PM" notes="Test Block Note" problock="False" email="" autoemail="False" lastemailsent="" emailccto="" sequenceorder="" lastupdatedon="11/11/2005 11:32:21 AM" />

</blockdefs>

</root>