POST data/clone/{name}/{recordId}
Makes a copy of this record.
Request Information
URI
https://ofd-api.blueprintcpq.net/data/clone/{name}/{recordId}
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
name |
Page name. |
string |
Required |
recordId |
Record Identifier. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
The identifier to a copy of this record.
ClonedRecordName | Description | Type | Additional information |
---|---|---|---|
OriginalId | string |
None. |
|
NewId | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "OriginalId": "sample string 1", "NewId": "sample string 2" }
text/html
Sample:
{"OriginalId":"sample string 1","NewId":"sample string 2"}
application/xml, text/xml
Sample:
<ClonedRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.DataModels"> <NewId>sample string 2</NewId> <OriginalId>sample string 1</OriginalId> </ClonedRecord>