GET data/{name}/{section}/{recordId}
Get data for section by record Id.
Request Information
URI
https://mtm-api.xaitcpq.net/data/{name}/{section}/{recordId}?share={share}
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| name |
Page name. |
string |
Required |
| section |
Section Name or Id. |
string |
Required |
| recordId |
Record Identifier. |
string |
Required |
| share |
Optional share identifier. |
globally unique identifier |
None. |
Body Parameters
None.
Response Information
Resource Description
Section data.
SectionData| Name | Description | Type | Additional information |
|---|---|---|---|
| Section | string |
None. |
|
| Locked | boolean |
None. |
|
| CurrencyField | globally unique identifier |
None. |
|
| Data | Collection of DataValue |
None. |
Response Formats
application/json, text/json
Sample:
{
"Section": "sample string 1",
"Locked": true,
"CurrencyField": "b01965dc-7fae-4f38-bf32-87ef15435f66",
"Data": [
{
"Field": "00df4c89-f16e-4bfe-9be0-f3868f9e42c0",
"SectionField": "ce1a8bba-9c78-402e-a5f1-2f853b8fc616",
"FieldName": "sample string 3",
"Locked": true,
"Component": "sample string 5",
"Value": {},
"HumanReadableValue": {}
},
{
"Field": "00df4c89-f16e-4bfe-9be0-f3868f9e42c0",
"SectionField": "ce1a8bba-9c78-402e-a5f1-2f853b8fc616",
"FieldName": "sample string 3",
"Locked": true,
"Component": "sample string 5",
"Value": {},
"HumanReadableValue": {}
}
]
}
text/html
Sample:
{"Section":"sample string 1","Locked":true,"CurrencyField":"b01965dc-7fae-4f38-bf32-87ef15435f66","Data":[{"Field":"00df4c89-f16e-4bfe-9be0-f3868f9e42c0","SectionField":"ce1a8bba-9c78-402e-a5f1-2f853b8fc616","FieldName":"sample string 3","Locked":true,"Component":"sample string 5","Value":{},"HumanReadableValue":{}},{"Field":"00df4c89-f16e-4bfe-9be0-f3868f9e42c0","SectionField":"ce1a8bba-9c78-402e-a5f1-2f853b8fc616","FieldName":"sample string 3","Locked":true,"Component":"sample string 5","Value":{},"HumanReadableValue":{}}]}
application/xml, text/xml
Sample:
<SectionData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.DataModels">
<CurrencyField>b01965dc-7fae-4f38-bf32-87ef15435f66</CurrencyField>
<Data>
<DataValue>
<Component>sample string 5</Component>
<Field>00df4c89-f16e-4bfe-9be0-f3868f9e42c0</Field>
<FieldName>sample string 3</FieldName>
<HumanReadableValue />
<Locked>true</Locked>
<SectionField>ce1a8bba-9c78-402e-a5f1-2f853b8fc616</SectionField>
<Value />
</DataValue>
<DataValue>
<Component>sample string 5</Component>
<Field>00df4c89-f16e-4bfe-9be0-f3868f9e42c0</Field>
<FieldName>sample string 3</FieldName>
<HumanReadableValue />
<Locked>true</Locked>
<SectionField>ce1a8bba-9c78-402e-a5f1-2f853b8fc616</SectionField>
<Value />
</DataValue>
</Data>
<Locked>true</Locked>
<Section>sample string 1</Section>
</SectionData>