POST data/export/{name}/{recordId}
Exports a record and associated records.
Request Information
URI
https://eurotherm-web-api.xaitcpq.net/data/export/{name}/{recordId}
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| name |
Page name. |
string |
Required |
| recordId |
Record Identifier. |
string |
Required |
Body Parameters
The related tables.
Collection of globally unique identifierRequest Formats
application/json, text/json
Sample:
[ "eb48f09f-a521-4508-bb4c-709ae8df8925", "712a127e-6d9e-44d3-a177-7a4315de1b55" ]
text/html
Sample:
["eb48f09f-a521-4508-bb4c-709ae8df8925","712a127e-6d9e-44d3-a177-7a4315de1b55"]
application/xml, text/xml
Sample:
<ArrayOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <guid>eb48f09f-a521-4508-bb4c-709ae8df8925</guid> <guid>712a127e-6d9e-44d3-a177-7a4315de1b55</guid> </ArrayOfguid>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
An ExportRecord.
ExportRecord| Name | Description | Type | Additional information |
|---|---|---|---|
| BaseRecord | Dictionary of string [key] and Object [value] |
None. |
|
| BaseRecordTable | string |
None. |
|
| RelatedRecords | Dictionary of string [key] and Collection of Dictionary of string [key] and Object [value] [value] |
None. |
Response Formats
application/json, text/json
Sample:
{
"BaseRecord": {
"sample string 1": {},
"sample string 3": {}
},
"BaseRecordTable": "sample string 1",
"RelatedRecords": {
"sample string 1": [
{
"sample string 1": {},
"sample string 3": {}
},
{
"sample string 1": {},
"sample string 3": {}
}
],
"sample string 2": [
{
"sample string 1": {},
"sample string 3": {}
},
{
"sample string 1": {},
"sample string 3": {}
}
]
}
}
text/html
Sample:
{"BaseRecord":{"sample string 1":{},"sample string 3":{}},"BaseRecordTable":"sample string 1","RelatedRecords":{"sample string 1":[{"sample string 1":{},"sample string 3":{}},{"sample string 1":{},"sample string 3":{}}],"sample string 2":[{"sample string 1":{},"sample string 3":{}},{"sample string 1":{},"sample string 3":{}}]}}
application/xml, text/xml
Sample:
<ExportRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.DataModels">
<BaseRecord xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</BaseRecord>
<BaseRecordTable>sample string 1</BaseRecordTable>
<RelatedRecords xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringArrayOfArrayOfKeyValueOfstringanyTypety7Ep6D1>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>
<d2p1:ArrayOfKeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</d2p1:ArrayOfKeyValueOfstringanyType>
<d2p1:ArrayOfKeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</d2p1:ArrayOfKeyValueOfstringanyType>
</d2p1:Value>
</d2p1:KeyValueOfstringArrayOfArrayOfKeyValueOfstringanyTypety7Ep6D1>
<d2p1:KeyValueOfstringArrayOfArrayOfKeyValueOfstringanyTypety7Ep6D1>
<d2p1:Key>sample string 2</d2p1:Key>
<d2p1:Value>
<d2p1:ArrayOfKeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</d2p1:ArrayOfKeyValueOfstringanyType>
<d2p1:ArrayOfKeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</d2p1:ArrayOfKeyValueOfstringanyType>
</d2p1:Value>
</d2p1:KeyValueOfstringArrayOfArrayOfKeyValueOfstringanyTypety7Ep6D1>
</RelatedRecords>
</ExportRecord>