POST api/appformpart/preparenew
Request Information
URI Parameters
None.
Body Parameters
Collection of KeyValue| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| Value | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Value": "sample string 2"
},
{
"Id": 1,
"Value": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfKeyValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
<KeyValue>
<Id>1</Id>
<Value>sample string 2</Value>
</KeyValue>
<KeyValue>
<Id>1</Id>
<Value>sample string 2</Value>
</KeyValue>
</ArrayOfKeyValue>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AppFormPart| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| FormId | integer |
Required |
|
| Name | string |
None. |
|
| Caption | string |
None. |
|
| EntityName | string |
None. |
|
| Position | integer |
Required |
|
| Visible | boolean |
Required |
|
| Description | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"RowGuid": "1c18ecec-8f8b-4f7a-ac48-10ab78e852a4",
"FormId": 3,
"Name": "sample string 4",
"Caption": "sample string 5",
"EntityName": "sample string 6",
"Position": 7,
"Visible": true,
"Description": "sample string 9"
}
application/xml, text/xml
Sample:
<AppFormPart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models"> <Caption>sample string 5</Caption> <Description>sample string 9</Description> <EntityName>sample string 6</EntityName> <FormId>3</FormId> <Id>1</Id> <Name>sample string 4</Name> <Position>7</Position> <RowGuid>1c18ecec-8f8b-4f7a-ac48-10ab78e852a4</RowGuid> <Visible>true</Visible> </AppFormPart>