POST data/{name}
Add new data record.
Request Information
URI
https://scoregroup-dev-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": "3ed0e02d-54a4-436a-9388-08de8a2379c5", "Data": [ { "Field": "002062f7-b0aa-470d-b583-2f5c98ed920a", "SectionField": "bf859503-61f8-42b9-85c1-a7a8b3412093", "FieldName": "sample string 3", "Locked": true, "Component": "sample string 5", "Value": {}, "HumanReadableValue": {} }, { "Field": "002062f7-b0aa-470d-b583-2f5c98ed920a", "SectionField": "bf859503-61f8-42b9-85c1-a7a8b3412093", "FieldName": "sample string 3", "Locked": true, "Component": "sample string 5", "Value": {}, "HumanReadableValue": {} } ] }, { "Section": "sample string 1", "Locked": true, "CurrencyField": "3ed0e02d-54a4-436a-9388-08de8a2379c5", "Data": [ { "Field": "002062f7-b0aa-470d-b583-2f5c98ed920a", "SectionField": "bf859503-61f8-42b9-85c1-a7a8b3412093", "FieldName": "sample string 3", "Locked": true, "Component": "sample string 5", "Value": {}, "HumanReadableValue": {} }, { "Field": "002062f7-b0aa-470d-b583-2f5c98ed920a", "SectionField": "bf859503-61f8-42b9-85c1-a7a8b3412093", "FieldName": "sample string 3", "Locked": true, "Component": "sample string 5", "Value": {}, "HumanReadableValue": {} } ] } ]
text/html
Sample:
[{"Section":"sample string 1","Locked":true,"CurrencyField":"3ed0e02d-54a4-436a-9388-08de8a2379c5","Data":[{"Field":"002062f7-b0aa-470d-b583-2f5c98ed920a","SectionField":"bf859503-61f8-42b9-85c1-a7a8b3412093","FieldName":"sample string 3","Locked":true,"Component":"sample string 5","Value":{},"HumanReadableValue":{}},{"Field":"002062f7-b0aa-470d-b583-2f5c98ed920a","SectionField":"bf859503-61f8-42b9-85c1-a7a8b3412093","FieldName":"sample string 3","Locked":true,"Component":"sample string 5","Value":{},"HumanReadableValue":{}}]},{"Section":"sample string 1","Locked":true,"CurrencyField":"3ed0e02d-54a4-436a-9388-08de8a2379c5","Data":[{"Field":"002062f7-b0aa-470d-b583-2f5c98ed920a","SectionField":"bf859503-61f8-42b9-85c1-a7a8b3412093","FieldName":"sample string 3","Locked":true,"Component":"sample string 5","Value":{},"HumanReadableValue":{}},{"Field":"002062f7-b0aa-470d-b583-2f5c98ed920a","SectionField":"bf859503-61f8-42b9-85c1-a7a8b3412093","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>3ed0e02d-54a4-436a-9388-08de8a2379c5</CurrencyField> <Data> <DataValue> <Component>sample string 5</Component> <Field>002062f7-b0aa-470d-b583-2f5c98ed920a</Field> <FieldName>sample string 3</FieldName> <HumanReadableValue /> <Locked>true</Locked> <SectionField>bf859503-61f8-42b9-85c1-a7a8b3412093</SectionField> <Value /> </DataValue> <DataValue> <Component>sample string 5</Component> <Field>002062f7-b0aa-470d-b583-2f5c98ed920a</Field> <FieldName>sample string 3</FieldName> <HumanReadableValue /> <Locked>true</Locked> <SectionField>bf859503-61f8-42b9-85c1-a7a8b3412093</SectionField> <Value /> </DataValue> </Data> <Locked>true</Locked> <Section>sample string 1</Section> </SectionData> <SectionData> <CurrencyField>3ed0e02d-54a4-436a-9388-08de8a2379c5</CurrencyField> <Data> <DataValue> <Component>sample string 5</Component> <Field>002062f7-b0aa-470d-b583-2f5c98ed920a</Field> <FieldName>sample string 3</FieldName> <HumanReadableValue /> <Locked>true</Locked> <SectionField>bf859503-61f8-42b9-85c1-a7a8b3412093</SectionField> <Value /> </DataValue> <DataValue> <Component>sample string 5</Component> <Field>002062f7-b0aa-470d-b583-2f5c98ed920a</Field> <FieldName>sample string 3</FieldName> <HumanReadableValue /> <Locked>true</Locked> <SectionField>bf859503-61f8-42b9-85c1-a7a8b3412093</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/" />