POST Draft/Notice/Copy
This operation will create a copy of an identified notice using the provided new notice identifier. 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.
CopyNoticeRequestName | 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. |
Request Formats
application/json, text/json
{ "noticeId": "40c9305c-5532-45e1-8cb6-8f5e35091b5f", "identifier": "New notice identifier" }
application/xml, text/xml
<CopyNoticeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IPL.ContractsFinder.WebApi.Shared.Models"> <Identifier>New notice identifier</Identifier> <NoticeId>40c9305c-5532-45e1-8cb6-8f5e35091b5f</NoticeId> </CopyNoticeRequest>
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
"a2293c60-5d6a-4ea4-97ba-bd4c39cd4d68"
application/xml, text/xml
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">a2293c60-5d6a-4ea4-97ba-bd4c39cd4d68</guid>