=====表单接口=====
\\
====JSON格式====
^名称 ^类型 ^只读 ^必填 ^注释^
|fId |int |是 |否 |表单ID,系统自动生成 |
|url |varchar |是 |否 |该表单的资源url|
|subject |varchar |否 |是 |表单名称|
|key |varchar |否 |否 |表单的唯一标识|
|descript |varchar |否 |否 |表单描述|
====JSON示例====
{
"fId": 91739,
"url": "https://www.bangwo8.com/api/v1/form/91739.json",
"subject": "合同表",
"key": "contract_table",
"descript": "这里是表单的描述"
}
====获取表单列表====
GET /api/v1/form.json
**调用者权限**
管理员
**调用示例**
curl https://www.bangwo8.com/api/v1/forms/form_fields.json \
-v -u {account}:{password}
**返回值示例**
Status: 200 OK
{
"forms": [
{
"fId": "8741",
"subject": "合同表",
"key": "contract_table",
"descript": "存储客户的合同"
},
{
"fId": "8742",
"subject": "资产表",
"key": "asset_table",
"descript": "存储客户购买的产品"
}
...
]
}