GET TenderTypes/GetTenderTypes/{SiteId}?Active={Active}
Gets A List Of All Tender Types defaulted to Active only
Request Information
URI Parameters
| Name | Type | Description | Additional information |
|---|---|---|---|
| SiteId | integer | ||
| Active | boolean |
Body Parameters
None.
Response Information
Resource Description
Collection of TenderTypeModel| Name | Type | Description | Additional information |
|---|---|---|---|
| TenderTypeID | integer |
None. |
|
| SiteID | integer |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"TenderTypeID": 1,
"SiteID": 2,
"Name": "sample string 3"
},
{
"TenderTypeID": 1,
"SiteID": 2,
"Name": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfTenderTypesCatalogue.TenderTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.Core.Models">
<TenderTypesCatalogue.TenderTypeModel>
<Name>sample string 3</Name>
<SiteID>2</SiteID>
<TenderTypeID>1</TenderTypeID>
</TenderTypesCatalogue.TenderTypeModel>
<TenderTypesCatalogue.TenderTypeModel>
<Name>sample string 3</Name>
<SiteID>2</SiteID>
<TenderTypeID>1</TenderTypeID>
</TenderTypesCatalogue.TenderTypeModel>
</ArrayOfTenderTypesCatalogue.TenderTypeModel>