POST api/App/Form_Post

post json of form content TypeID = 1 : Contactform

Request Information

URI Parameters

None.

Body Parameters

Transaction
NameDescriptionTypeAdditional information
ID

integer

None.

TypeID

integer

None.

Content

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "TypeID": 2,
  "Content": "sample string 3"
}

application/xml, text/xml

Sample:
<Transaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model.Lgs">
  <Content>sample string 3</Content>
  <ID>1</ID>
  <TypeID>2</TypeID>
</Transaction>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
ID

integer

None.

Status

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Status": "sample string 2"
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model.App">
  <ID>1</ID>
  <Status>sample string 2</Status>
</Result>