POST api/Recycling?uprn={uprn}&type={type}&showAllWasteTypes={showAllWasteTypes}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| uprn | string |
Required |
|
| type | integer |
Required |
|
| showAllWasteTypes | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CollectionModel| Name | Description | Type | Additional information |
|---|---|---|---|
| wasteTypeId | integer |
None. |
|
| wasteCollectionsENG | string |
None. |
|
| wasteCollectionsCYM | string |
None. |
|
| collectionDate | string |
None. |
|
| calendarRef | string |
None. |
|
| calendarRefGW | string |
None. |
|
| calendarRefAHP | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"wasteTypeId": 1,
"wasteCollectionsENG": "sample string 2",
"wasteCollectionsCYM": "sample string 3",
"collectionDate": "sample string 4",
"calendarRef": "sample string 5",
"calendarRefGW": "sample string 6",
"calendarRefAHP": "sample string 7"
},
{
"wasteTypeId": 1,
"wasteCollectionsENG": "sample string 2",
"wasteCollectionsCYM": "sample string 3",
"collectionDate": "sample string 4",
"calendarRef": "sample string 5",
"calendarRefGW": "sample string 6",
"calendarRefAHP": "sample string 7"
}
]
application/xml, text/xml
Sample:
<ArrayOfCollectionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FirmStepFillTask.Api.Domain.FirmStep.Models">
<CollectionModel>
<calendarRef>sample string 5</calendarRef>
<calendarRefAHP>sample string 7</calendarRefAHP>
<calendarRefGW>sample string 6</calendarRefGW>
<collectionDate>sample string 4</collectionDate>
<wasteCollectionsCYM>sample string 3</wasteCollectionsCYM>
<wasteCollectionsENG>sample string 2</wasteCollectionsENG>
<wasteTypeId>1</wasteTypeId>
</CollectionModel>
<CollectionModel>
<calendarRef>sample string 5</calendarRef>
<calendarRefAHP>sample string 7</calendarRefAHP>
<calendarRefGW>sample string 6</calendarRefGW>
<collectionDate>sample string 4</collectionDate>
<wasteCollectionsCYM>sample string 3</wasteCollectionsCYM>
<wasteCollectionsENG>sample string 2</wasteCollectionsENG>
<wasteTypeId>1</wasteTypeId>
</CollectionModel>
</ArrayOfCollectionModel>