PUT data/{name}/{id}
Update data by record Id.
Request Information
URI
https://highlandfleets-api.xaitcpq.net/data/{name}/{id}?share={share}
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| name |
Page name. |
string |
Required |
| id |
Record Identifier. |
string |
Required |
| share |
Optional share identifier. |
globally unique identifier |
None. |
Body Parameters
Values to update.
Collection of SectionData| Name | Description | Type | Additional information |
|---|---|---|---|
| Section | string |
None. |
|
| Locked | boolean |
None. |
|
| CurrencyField | globally unique identifier |
None. |
|
| Data | Collection of DataValue |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Section": "sample string 1",
"Locked": true,
"CurrencyField": "e5b3b92f-4b42-4d1f-8974-ecc10f6d4649",
"Data": [
{
"Field": "aa5a55fd-7829-43d9-b15b-9a54972430bf",
"FieldName": "sample string 2",
"Locked": true,
"Component": "sample string 4",
"Value": {},
"HumanReadableValue": {}
},
{
"Field": "aa5a55fd-7829-43d9-b15b-9a54972430bf",
"FieldName": "sample string 2",
"Locked": true,
"Component": "sample string 4",
"Value": {},
"HumanReadableValue": {}
}
]
},
{
"Section": "sample string 1",
"Locked": true,
"CurrencyField": "e5b3b92f-4b42-4d1f-8974-ecc10f6d4649",
"Data": [
{
"Field": "aa5a55fd-7829-43d9-b15b-9a54972430bf",
"FieldName": "sample string 2",
"Locked": true,
"Component": "sample string 4",
"Value": {},
"HumanReadableValue": {}
},
{
"Field": "aa5a55fd-7829-43d9-b15b-9a54972430bf",
"FieldName": "sample string 2",
"Locked": true,
"Component": "sample string 4",
"Value": {},
"HumanReadableValue": {}
}
]
}
]
text/html
Sample:
[{"Section":"sample string 1","Locked":true,"CurrencyField":"e5b3b92f-4b42-4d1f-8974-ecc10f6d4649","Data":[{"Field":"aa5a55fd-7829-43d9-b15b-9a54972430bf","FieldName":"sample string 2","Locked":true,"Component":"sample string 4","Value":{},"HumanReadableValue":{}},{"Field":"aa5a55fd-7829-43d9-b15b-9a54972430bf","FieldName":"sample string 2","Locked":true,"Component":"sample string 4","Value":{},"HumanReadableValue":{}}]},{"Section":"sample string 1","Locked":true,"CurrencyField":"e5b3b92f-4b42-4d1f-8974-ecc10f6d4649","Data":[{"Field":"aa5a55fd-7829-43d9-b15b-9a54972430bf","FieldName":"sample string 2","Locked":true,"Component":"sample string 4","Value":{},"HumanReadableValue":{}},{"Field":"aa5a55fd-7829-43d9-b15b-9a54972430bf","FieldName":"sample string 2","Locked":true,"Component":"sample string 4","Value":{},"HumanReadableValue":{}}]}]
application/xml, text/xml
Sample:
<ArrayOfSectionData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.DataModels">
<SectionData>
<CurrencyField>e5b3b92f-4b42-4d1f-8974-ecc10f6d4649</CurrencyField>
<Data>
<DataValue>
<Component>sample string 4</Component>
<Field>aa5a55fd-7829-43d9-b15b-9a54972430bf</Field>
<FieldName>sample string 2</FieldName>
<HumanReadableValue />
<Locked>true</Locked>
<Value />
</DataValue>
<DataValue>
<Component>sample string 4</Component>
<Field>aa5a55fd-7829-43d9-b15b-9a54972430bf</Field>
<FieldName>sample string 2</FieldName>
<HumanReadableValue />
<Locked>true</Locked>
<Value />
</DataValue>
</Data>
<Locked>true</Locked>
<Section>sample string 1</Section>
</SectionData>
<SectionData>
<CurrencyField>e5b3b92f-4b42-4d1f-8974-ecc10f6d4649</CurrencyField>
<Data>
<DataValue>
<Component>sample string 4</Component>
<Field>aa5a55fd-7829-43d9-b15b-9a54972430bf</Field>
<FieldName>sample string 2</FieldName>
<HumanReadableValue />
<Locked>true</Locked>
<Value />
</DataValue>
<DataValue>
<Component>sample string 4</Component>
<Field>aa5a55fd-7829-43d9-b15b-9a54972430bf</Field>
<FieldName>sample string 2</FieldName>
<HumanReadableValue />
<Locked>true</Locked>
<Value />
</DataValue>
</Data>
<Locked>true</Locked>
<Section>sample string 1</Section>
</SectionData>
</ArrayOfSectionData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
True if it succeeds, false if it fails.
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>