POST Draft/Award/SetNoticeAwards
This method allows multiple award details for a notice to be updated. The provided AwardDetails should identify the notice associated with the awards and contain the updated state.
Requires Authorization
The endpoint requires a bearer token in the http authorization header. For example "bearer 2YotnFZFEjr1zCsicMWpAA"
Request Information
URI Parameters
None.
Body Parameters
A list of AwardDetail objects containing the updated award details.
SetAwardListRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| NoticeId |
Gets or sets the Notice GUID. |
globally unique identifier |
None. |
| AwardList |
Gets or sets the list of AwardDetail objects for the specified notice |
Collection of AwardDetail |
None. |
Request Formats
application/json, text/json
Sample:
{
"noticeId": "46363e71-5ed7-4008-a0ab-625ff17afc06",
"awardList": [
{
"id": 1,
"noticeId": "58767f4c-1953-4ee5-8a0c-bfff717d2952",
"parentId": 1,
"value": 3.0,
"supplierName": "sample string 4",
"supplierAddress": "sample string 5",
"contact": "sample string 6",
"dunsNumber": "sample string 7",
"startDate": "2016-09-12T11:05:59+01:00",
"endDate": "2016-09-12T11:05:59+01:00",
"awardedDate": "2016-09-12T11:05:59+01:00",
"awardedProcedureType": "Open",
"annexDOptionType": "NoSuitableTendersInResponseToOpenProcedure",
"reasonContractLawful": "sample string 8",
"additionalDetails": "sample string 9",
"awardedToSME": true,
"awardedToVCSO": true,
"awardGuid": "67e066ad-98ee-4cd2-be78-b9b0c8e409f8"
},
{
"id": 1,
"noticeId": "58767f4c-1953-4ee5-8a0c-bfff717d2952",
"parentId": 1,
"value": 3.0,
"supplierName": "sample string 4",
"supplierAddress": "sample string 5",
"contact": "sample string 6",
"dunsNumber": "sample string 7",
"startDate": "2016-09-12T11:05:59+01:00",
"endDate": "2016-09-12T11:05:59+01:00",
"awardedDate": "2016-09-12T11:05:59+01:00",
"awardedProcedureType": "Open",
"annexDOptionType": "NoSuitableTendersInResponseToOpenProcedure",
"reasonContractLawful": "sample string 8",
"additionalDetails": "sample string 9",
"awardedToSME": true,
"awardedToVCSO": true,
"awardGuid": "67e066ad-98ee-4cd2-be78-b9b0c8e409f8"
}
]
}
application/xml, text/xml
Sample:
<SetAwardListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IPL.ContractsFinder.WebApi.Shared.Models">
<AwardList xmlns:d2p1="http://schemas.datacontract.org/2004/07/IPL.ContractsFinder.BusinessEntities">
<d2p1:AwardDetail>
<d2p1:AdditionalDetails>sample string 9</d2p1:AdditionalDetails>
<d2p1:AnnexDOptionType>NoSuitableTendersInResponseToOpenProcedure</d2p1:AnnexDOptionType>
<d2p1:AwardGuid>67e066ad-98ee-4cd2-be78-b9b0c8e409f8</d2p1:AwardGuid>
<d2p1:AwardedDate>2016-09-12T11:05:59+01:00</d2p1:AwardedDate>
<d2p1:AwardedProcedureType>Open</d2p1:AwardedProcedureType>
<d2p1:AwardedToSME>true</d2p1:AwardedToSME>
<d2p1:AwardedToVCSO>true</d2p1:AwardedToVCSO>
<d2p1:Contact>sample string 6</d2p1:Contact>
<d2p1:DunsNumber>sample string 7</d2p1:DunsNumber>
<d2p1:EndDate>2016-09-12T11:05:59+01:00</d2p1:EndDate>
<d2p1:Id>1</d2p1:Id>
<d2p1:NoticeId>58767f4c-1953-4ee5-8a0c-bfff717d2952</d2p1:NoticeId>
<d2p1:ParentId>1</d2p1:ParentId>
<d2p1:ReasonContractLawful>sample string 8</d2p1:ReasonContractLawful>
<d2p1:StartDate>2016-09-12T11:05:59+01:00</d2p1:StartDate>
<d2p1:SupplierAddress>sample string 5</d2p1:SupplierAddress>
<d2p1:SupplierName>sample string 4</d2p1:SupplierName>
<d2p1:Value>3</d2p1:Value>
</d2p1:AwardDetail>
<d2p1:AwardDetail>
<d2p1:AdditionalDetails>sample string 9</d2p1:AdditionalDetails>
<d2p1:AnnexDOptionType>NoSuitableTendersInResponseToOpenProcedure</d2p1:AnnexDOptionType>
<d2p1:AwardGuid>67e066ad-98ee-4cd2-be78-b9b0c8e409f8</d2p1:AwardGuid>
<d2p1:AwardedDate>2016-09-12T11:05:59+01:00</d2p1:AwardedDate>
<d2p1:AwardedProcedureType>Open</d2p1:AwardedProcedureType>
<d2p1:AwardedToSME>true</d2p1:AwardedToSME>
<d2p1:AwardedToVCSO>true</d2p1:AwardedToVCSO>
<d2p1:Contact>sample string 6</d2p1:Contact>
<d2p1:DunsNumber>sample string 7</d2p1:DunsNumber>
<d2p1:EndDate>2016-09-12T11:05:59+01:00</d2p1:EndDate>
<d2p1:Id>1</d2p1:Id>
<d2p1:NoticeId>58767f4c-1953-4ee5-8a0c-bfff717d2952</d2p1:NoticeId>
<d2p1:ParentId>1</d2p1:ParentId>
<d2p1:ReasonContractLawful>sample string 8</d2p1:ReasonContractLawful>
<d2p1:StartDate>2016-09-12T11:05:59+01:00</d2p1:StartDate>
<d2p1:SupplierAddress>sample string 5</d2p1:SupplierAddress>
<d2p1:SupplierName>sample string 4</d2p1:SupplierName>
<d2p1:Value>3</d2p1:Value>
</d2p1:AwardDetail>
</AwardList>
<NoticeId>46363e71-5ed7-4008-a0ab-625ff17afc06</NoticeId>
</SetAwardListRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Returns HTTP status 200 if successful; otherwise a collection of errors with HTTP status 400.
ServiceResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | ServiceResponseCode |
None. |
|
| Errors | Collection of Error |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": "Ok",
"errors": null
}