POST data/{name}
Add new data record.
Request Information
URI
https://scoregroup-uat-api.xaitcpq.net/data/{name}?share={share}
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
name |
Page name. |
string |
Required |
share |
Optional share identifier. |
globally unique identifier |
None. |
Body Parameters
Record to add.
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": "f2cc9df6-2ce7-48fb-a630-924d9c5bc97c", "Data": [ { "Field": "f14f71a1-9356-49bc-91d8-e2cf091e86c9", "SectionField": "2fe0d0cc-4aa9-4d5a-9af2-1eeb6f0c8c32", "FieldName": "sample string 3", "Locked": true, "Component": "sample string 5", "Value": {}, "HumanReadableValue": {} }, { "Field": "f14f71a1-9356-49bc-91d8-e2cf091e86c9", "SectionField": "2fe0d0cc-4aa9-4d5a-9af2-1eeb6f0c8c32", "FieldName": "sample string 3", "Locked": true, "Component": "sample string 5", "Value": {}, "HumanReadableValue": {} } ] }, { "Section": "sample string 1", "Locked": true, "CurrencyField": "f2cc9df6-2ce7-48fb-a630-924d9c5bc97c", "Data": [ { "Field": "f14f71a1-9356-49bc-91d8-e2cf091e86c9", "SectionField": "2fe0d0cc-4aa9-4d5a-9af2-1eeb6f0c8c32", "FieldName": "sample string 3", "Locked": true, "Component": "sample string 5", "Value": {}, "HumanReadableValue": {} }, { "Field": "f14f71a1-9356-49bc-91d8-e2cf091e86c9", "SectionField": "2fe0d0cc-4aa9-4d5a-9af2-1eeb6f0c8c32", "FieldName": "sample string 3", "Locked": true, "Component": "sample string 5", "Value": {}, "HumanReadableValue": {} } ] } ]
text/html
Sample:
[{"Section":"sample string 1","Locked":true,"CurrencyField":"f2cc9df6-2ce7-48fb-a630-924d9c5bc97c","Data":[{"Field":"f14f71a1-9356-49bc-91d8-e2cf091e86c9","SectionField":"2fe0d0cc-4aa9-4d5a-9af2-1eeb6f0c8c32","FieldName":"sample string 3","Locked":true,"Component":"sample string 5","Value":{},"HumanReadableValue":{}},{"Field":"f14f71a1-9356-49bc-91d8-e2cf091e86c9","SectionField":"2fe0d0cc-4aa9-4d5a-9af2-1eeb6f0c8c32","FieldName":"sample string 3","Locked":true,"Component":"sample string 5","Value":{},"HumanReadableValue":{}}]},{"Section":"sample string 1","Locked":true,"CurrencyField":"f2cc9df6-2ce7-48fb-a630-924d9c5bc97c","Data":[{"Field":"f14f71a1-9356-49bc-91d8-e2cf091e86c9","SectionField":"2fe0d0cc-4aa9-4d5a-9af2-1eeb6f0c8c32","FieldName":"sample string 3","Locked":true,"Component":"sample string 5","Value":{},"HumanReadableValue":{}},{"Field":"f14f71a1-9356-49bc-91d8-e2cf091e86c9","SectionField":"2fe0d0cc-4aa9-4d5a-9af2-1eeb6f0c8c32","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>f2cc9df6-2ce7-48fb-a630-924d9c5bc97c</CurrencyField> <Data> <DataValue> <Component>sample string 5</Component> <Field>f14f71a1-9356-49bc-91d8-e2cf091e86c9</Field> <FieldName>sample string 3</FieldName> <HumanReadableValue /> <Locked>true</Locked> <SectionField>2fe0d0cc-4aa9-4d5a-9af2-1eeb6f0c8c32</SectionField> <Value /> </DataValue> <DataValue> <Component>sample string 5</Component> <Field>f14f71a1-9356-49bc-91d8-e2cf091e86c9</Field> <FieldName>sample string 3</FieldName> <HumanReadableValue /> <Locked>true</Locked> <SectionField>2fe0d0cc-4aa9-4d5a-9af2-1eeb6f0c8c32</SectionField> <Value /> </DataValue> </Data> <Locked>true</Locked> <Section>sample string 1</Section> </SectionData> <SectionData> <CurrencyField>f2cc9df6-2ce7-48fb-a630-924d9c5bc97c</CurrencyField> <Data> <DataValue> <Component>sample string 5</Component> <Field>f14f71a1-9356-49bc-91d8-e2cf091e86c9</Field> <FieldName>sample string 3</FieldName> <HumanReadableValue /> <Locked>true</Locked> <SectionField>2fe0d0cc-4aa9-4d5a-9af2-1eeb6f0c8c32</SectionField> <Value /> </DataValue> <DataValue> <Component>sample string 5</Component> <Field>f14f71a1-9356-49bc-91d8-e2cf091e86c9</Field> <FieldName>sample string 3</FieldName> <HumanReadableValue /> <Locked>true</Locked> <SectionField>2fe0d0cc-4aa9-4d5a-9af2-1eeb6f0c8c32</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
Id of master record.
ObjectNone.
Response Formats
application/json, text/json, text/html
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />