POST api/PostWebForm
Request Information
URI Parameters
None.
Body Parameters
Collection of RequestName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
Datum | date |
None. |
|
Cas | time interval |
None. |
|
string |
None. |
||
Phone | string |
None. |
|
Message | string |
None. |
|
AcceptedCondition | boolean |
None. |
|
DATUM_ZAPISU | date |
None. |
|
STAV_ODESLANI | string |
None. |
|
Exportovano | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[ { "ID": 1, "Name": "sample string 2", "Datum": "2024-12-22T08:06:22.3835782-06:00", "Cas": "00:00:00.1234567", "Email": "sample string 3", "Phone": "sample string 4", "Message": "sample string 5", "AcceptedCondition": true, "DATUM_ZAPISU": "2024-12-22T08:06:22.3835782-06:00", "STAV_ODESLANI": "sample string 6", "Exportovano": true }, { "ID": 1, "Name": "sample string 2", "Datum": "2024-12-22T08:06:22.3835782-06:00", "Cas": "00:00:00.1234567", "Email": "sample string 3", "Phone": "sample string 4", "Message": "sample string 5", "AcceptedCondition": true, "DATUM_ZAPISU": "2024-12-22T08:06:22.3835782-06:00", "STAV_ODESLANI": "sample string 6", "Exportovano": true } ]
text/html
Sample:
[{"ID":1,"Name":"sample string 2","Datum":"2024-12-22T08:06:22.3835782-06:00","Cas":"00:00:00.1234567","Email":"sample string 3","Phone":"sample string 4","Message":"sample string 5","AcceptedCondition":true,"DATUM_ZAPISU":"2024-12-22T08:06:22.3835782-06:00","STAV_ODESLANI":"sample string 6","Exportovano":true},{"ID":1,"Name":"sample string 2","Datum":"2024-12-22T08:06:22.3835782-06:00","Cas":"00:00:00.1234567","Email":"sample string 3","Phone":"sample string 4","Message":"sample string 5","AcceptedCondition":true,"DATUM_ZAPISU":"2024-12-22T08:06:22.3835782-06:00","STAV_ODESLANI":"sample string 6","Exportovano":true}]
application/xml, text/xml
Sample:
<ArrayOfRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebPanelDashboard.DBModel"> <Request> <AcceptedCondition>true</AcceptedCondition> <Cas>PT0.1234567S</Cas> <DATUM_ZAPISU>2024-12-22T08:06:22.3835782-06:00</DATUM_ZAPISU> <Datum>2024-12-22T08:06:22.3835782-06:00</Datum> <Email>sample string 3</Email> <Exportovano>true</Exportovano> <ID>1</ID> <Message>sample string 5</Message> <Name>sample string 2</Name> <Phone>sample string 4</Phone> <STAV_ODESLANI>sample string 6</STAV_ODESLANI> </Request> <Request> <AcceptedCondition>true</AcceptedCondition> <Cas>PT0.1234567S</Cas> <DATUM_ZAPISU>2024-12-22T08:06:22.3835782-06:00</DATUM_ZAPISU> <Datum>2024-12-22T08:06:22.3835782-06:00</Datum> <Email>sample string 3</Email> <Exportovano>true</Exportovano> <ID>1</ID> <Message>sample string 5</Message> <Name>sample string 2</Name> <Phone>sample string 4</Phone> <STAV_ODESLANI>sample string 6</STAV_ODESLANI> </Request> </ArrayOfRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
clReturnClassName | Description | Type | Additional information |
---|---|---|---|
bError | boolean |
None. |
|
sErrorMessage | string |
None. |
|
oData | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "bError": true, "sErrorMessage": "sample string 2", "oData": {} }
text/html
Sample:
{"bError":true,"sErrorMessage":"sample string 2","oData":{}}
application/xml, text/xml
Sample:
<clReturnClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebPanelDashboard.Models"> <bError>true</bError> <oData /> <sErrorMessage>sample string 2</sErrorMessage> </clReturnClass>