| |||||
API Home >> Creaor API >> REST API >> REST API Methods >> Add Record - POST Menthod
Add Record - REST API - POST Method
Request Parameters
The request parameters comprises of input type, column name as specified in deluge script and column values.
| Field | Description |
| Column Name | [string] - The name of the column in the form. |
| Column Value | [string] - The value to be specified for this column. |
<form method=" POST " action="http://creator.zoho.com/api/xml/<application name>/<form name>/add/ apikey= [APIKEY] &ticket= [Ticket] ">
<input type="text" name=" Column Name " value=" Column Value ">
<input type="text" name=" Column Name " value=" Column Value ">
<input type="submit" value="Submit XML String">
</form>
<input type="text" name="zc_ownername" value="Application Owner Name">
Note:
<input type="text" name=" Name " value=" Gary ">
<input type="text" name=" DOB " value=" 12-Jun-1980 ">
<input type="text" name=" Address " value=" USA ">
<input type="text" name=" Basic " value=" 10000 ">
<input type="text" name=" Hobbies " value=" Reading,Writing ">
{
"formname":
[
"Employee_Details",
{"operation":
[
"add",
{
"values":
[
{
"Address":"USA",
"Basic":"10000",
"Name":"Gary",
"DOB":"12-Jun-1980"
},
{
"Hobbies":["Reading","Writing"]
},
{
"status":
[
"Success"
]
}
]
}
]
}
]
}
Form Name, Operation
Employee_Details,add
Status,Values
Success,[Name = Gary , DOB = 12-Jun-1980 , Basic = 10000 , Address = USAHobbies = "Reading,Writing"]
If the record is added to the database, the response message will be displayed with status as "Success".