POST data/export/{name}/{recordId}

Exports a record and associated records.

Request Information

URI

https://ofd-api.blueprintcpq.net/data/export/{name}/{recordId}

URI Parameters

NameDescriptionTypeAdditional information
name

Page name.

string

Required

recordId

Record Identifier.

string

Required

Body Parameters

The related tables.

Collection of globally unique identifier

Request Formats

application/json, text/json

Sample:
[
  "4e8c1b07-977d-467d-90c6-29fde9a09664",
  "ab9f65a1-9ad1-489b-8e0d-b21f99bef02f"
]

text/html

Sample:
["4e8c1b07-977d-467d-90c6-29fde9a09664","ab9f65a1-9ad1-489b-8e0d-b21f99bef02f"]

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>4e8c1b07-977d-467d-90c6-29fde9a09664</guid>
  <guid>ab9f65a1-9ad1-489b-8e0d-b21f99bef02f</guid>
</ArrayOfguid>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

An ExportRecord.

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