| PUT | /Core/Frm/Objects |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FrmObj | body | FrmObj | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | Guid | No | |
| Name | form | string | No | |
| ObjectType | form | int? | No | |
| HCode | form | string | No | |
| ParentForm | form | string | No | |
| Note | form | string | No | |
| DataSourceId | form | Guid? | No | |
| IsDynamic | form | bool | No | |
| CatId | form | Guid? | No | |
| Visibility | form | bool? | No | |
| Params | form | FormObjParams | No | |
| CopyCount | form | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ShowInMenu | form | bool? | No | |
| Image | form | string | No | |
| LargeImage | form | string | No | |
| OrderIndex | form | int? | No | |
| ParentFormType | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /Core/Frm/Objects HTTP/1.1
Host: 10.10.0.107
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
FrmObj:
{
Id: 00000000000000000000000000000000,
Name: String,
ObjectType: 0,
HCode: String,
ParentForm: String,
Note: String,
DataSourceId: 00000000000000000000000000000000,
IsDynamic: False,
CatId: 00000000000000000000000000000000,
Visibility: False,
Params:
{
ShowInMenu: False,
Image: String,
LargeImage: String,
OrderIndex: 0,
ParentFormType: String
},
CopyCount: 0
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}