POST data/clone/{name}/{recordId}

Makes a copy of this record.

Request Information

URI

https://eurotherm-web-api.xaitcpq.net/data/clone/{name}/{recordId}

URI Parameters

NameDescriptionTypeAdditional 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.

ClonedRecord
NameDescriptionTypeAdditional 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>