POST api/RepTbls
Request Information
URI Parameters
None.
Body Parameters
Collection of TempField| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | decimal number |
None. |
|
| Caption | string |
None. |
|
| Type | string |
None. |
|
| ShowInCol | boolean |
None. |
|
| ShowInSum | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ID": 1.0,
"Caption": "sample string 2",
"Type": "sample string 3",
"ShowInCol": true,
"ShowInSum": true
},
{
"ID": 1.0,
"Caption": "sample string 2",
"Type": "sample string 3",
"ShowInCol": true,
"ShowInSum": true
}
]
text/html
Sample:
[{"ID":1.0,"Caption":"sample string 2","Type":"sample string 3","ShowInCol":true,"ShowInSum":true},{"ID":1.0,"Caption":"sample string 2","Type":"sample string 3","ShowInCol":true,"ShowInSum":true}]
application/xml, text/xml
Sample:
<ArrayOfTempField xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pazhServices.Models">
<TempField>
<Caption>sample string 2</Caption>
<ID>1</ID>
<ShowInCol>true</ShowInCol>
<ShowInSum>true</ShowInSum>
<Type>sample string 3</Type>
</TempField>
<TempField>
<Caption>sample string 2</Caption>
<ID>1</ID>
<ShowInCol>true</ShowInCol>
<ShowInSum>true</ShowInSum>
<Type>sample string 3</Type>
</TempField>
</ArrayOfTempField>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RepTbls| Name | Description | Type | Additional information |
|---|---|---|---|
| IdRepTbl | decimal number |
None. |
|
| RepTblName | string |
None. |
|
| RepTblCaption | string |
None. |
|
| OptionId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"IdRepTbl": 1.0,
"RepTblName": "sample string 2",
"RepTblCaption": "sample string 3",
"OptionId": 1
}
text/html
Sample:
{"IdRepTbl":1.0,"RepTblName":"sample string 2","RepTblCaption":"sample string 3","OptionId":1}
application/xml, text/xml
Sample:
<RepTbls xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnjomanServices.Models"> <IdRepTbl>1</IdRepTbl> <OptionId>1</OptionId> <RepTblCaption>sample string 3</RepTblCaption> <RepTblName>sample string 2</RepTblName> </RepTbls>