POST Draft/Notice/CopyAwarded
This operation will create a copy of an identified awarded notice using the provided new notice identifier and the new type. The notice being copied is identified by the internally assigned GUID. The provided identifier should be the user-defined notice id, which cannot be the same as an existing notice - a new GUID will be assigned and returned to the caller.
Requires Authorization
The endpoint requires a bearer token in the http authorization header. For example "bearer 2YotnFZFEjr1zCsicMWpAA"
Request Information
URI Parameters
None.
Body Parameters
The details of the copy request.
CopyAwardedRequestName | Description | Type | Additional information |
---|---|---|---|
NoticeId |
Gets or sets the Notice . |
globally unique identifier |
None. |
Identifier |
Gets or sets the identifier of the new notice. |
string |
None. |
TargetType |
Gets or sets the notice type of the new notice. |
CopyAwardedType |
None. |
IsReAward |
Gets or sets a value indicating whether new notice is a re-award. |
boolean |
None. |
Request Formats
application/json, text/json
{ "noticeId": "89a8c92e-5c30-4db7-a3a3-033df9690c0e", "identifier": "sample string 2", "targetType": "Awarded", "isReAward": true }
application/xml, text/xml
<CopyAwardedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IPL.ContractsFinder.WebApi.Shared.Models"> <Identifier>sample string 2</Identifier> <IsReAward>true</IsReAward> <NoticeId>89a8c92e-5c30-4db7-a3a3-033df9690c0e</NoticeId> <TargetType>Awarded</TargetType> </CopyAwardedRequest>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Returns the identity of the newly copied notice; otherwise a collection of errors with HTTP status 400.
globally unique identifierResponse Formats
application/json, text/json
"c15b0702-14ef-4795-ade3-1b002e20588f"
application/xml, text/xml
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">c15b0702-14ef-4795-ade3-1b002e20588f</guid>