PUT data/{name}/{id}
Update data by record Id.
Request Information
URI
https://scoregroup-uat-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 SectionDataName | 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": "0c1fe839-dba8-41ae-9cb3-3c1ecafe7eeb", "Data": [ { "Field": "01327fd7-bacb-4576-a17e-535c198c575b", "SectionField": "cf227bdb-5fe2-4f10-ab3a-0de5165ecc61", "FieldName": "sample string 3", "Locked": true, "Component": "sample string 5", "Value": {}, "HumanReadableValue": {} }, { "Field": "01327fd7-bacb-4576-a17e-535c198c575b", "SectionField": "cf227bdb-5fe2-4f10-ab3a-0de5165ecc61", "FieldName": "sample string 3", "Locked": true, "Component": "sample string 5", "Value": {}, "HumanReadableValue": {} } ] }, { "Section": "sample string 1", "Locked": true, "CurrencyField": "0c1fe839-dba8-41ae-9cb3-3c1ecafe7eeb", "Data": [ { "Field": "01327fd7-bacb-4576-a17e-535c198c575b", "SectionField": "cf227bdb-5fe2-4f10-ab3a-0de5165ecc61", "FieldName": "sample string 3", "Locked": true, "Component": "sample string 5", "Value": {}, "HumanReadableValue": {} }, { "Field": "01327fd7-bacb-4576-a17e-535c198c575b", "SectionField": "cf227bdb-5fe2-4f10-ab3a-0de5165ecc61", "FieldName": "sample string 3", "Locked": true, "Component": "sample string 5", "Value": {}, "HumanReadableValue": {} } ] } ]
text/html
Sample:
[{"Section":"sample string 1","Locked":true,"CurrencyField":"0c1fe839-dba8-41ae-9cb3-3c1ecafe7eeb","Data":[{"Field":"01327fd7-bacb-4576-a17e-535c198c575b","SectionField":"cf227bdb-5fe2-4f10-ab3a-0de5165ecc61","FieldName":"sample string 3","Locked":true,"Component":"sample string 5","Value":{},"HumanReadableValue":{}},{"Field":"01327fd7-bacb-4576-a17e-535c198c575b","SectionField":"cf227bdb-5fe2-4f10-ab3a-0de5165ecc61","FieldName":"sample string 3","Locked":true,"Component":"sample string 5","Value":{},"HumanReadableValue":{}}]},{"Section":"sample string 1","Locked":true,"CurrencyField":"0c1fe839-dba8-41ae-9cb3-3c1ecafe7eeb","Data":[{"Field":"01327fd7-bacb-4576-a17e-535c198c575b","SectionField":"cf227bdb-5fe2-4f10-ab3a-0de5165ecc61","FieldName":"sample string 3","Locked":true,"Component":"sample string 5","Value":{},"HumanReadableValue":{}},{"Field":"01327fd7-bacb-4576-a17e-535c198c575b","SectionField":"cf227bdb-5fe2-4f10-ab3a-0de5165ecc61","FieldName":"sample string 3","Locked":true,"Component":"sample string 5","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>0c1fe839-dba8-41ae-9cb3-3c1ecafe7eeb</CurrencyField> <Data> <DataValue> <Component>sample string 5</Component> <Field>01327fd7-bacb-4576-a17e-535c198c575b</Field> <FieldName>sample string 3</FieldName> <HumanReadableValue /> <Locked>true</Locked> <SectionField>cf227bdb-5fe2-4f10-ab3a-0de5165ecc61</SectionField> <Value /> </DataValue> <DataValue> <Component>sample string 5</Component> <Field>01327fd7-bacb-4576-a17e-535c198c575b</Field> <FieldName>sample string 3</FieldName> <HumanReadableValue /> <Locked>true</Locked> <SectionField>cf227bdb-5fe2-4f10-ab3a-0de5165ecc61</SectionField> <Value /> </DataValue> </Data> <Locked>true</Locked> <Section>sample string 1</Section> </SectionData> <SectionData> <CurrencyField>0c1fe839-dba8-41ae-9cb3-3c1ecafe7eeb</CurrencyField> <Data> <DataValue> <Component>sample string 5</Component> <Field>01327fd7-bacb-4576-a17e-535c198c575b</Field> <FieldName>sample string 3</FieldName> <HumanReadableValue /> <Locked>true</Locked> <SectionField>cf227bdb-5fe2-4f10-ab3a-0de5165ecc61</SectionField> <Value /> </DataValue> <DataValue> <Component>sample string 5</Component> <Field>01327fd7-bacb-4576-a17e-535c198c575b</Field> <FieldName>sample string 3</FieldName> <HumanReadableValue /> <Locked>true</Locked> <SectionField>cf227bdb-5fe2-4f10-ab3a-0de5165ecc61</SectionField> <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>