| PUT | /SaveDynForms |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| dynForm | body | DynFormsF | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| dynFormsLayout | form | List<DynFormsLayout> | No | |
| dynPrintLayout | form | List<DynPrintLayout> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ID | form | int | No | |
| dName | form | string | No | |
| dDescription | form | string | No | |
| dQuery | form | string | No | |
| dType | form | int | No | |
| cID | form | int? | No | |
| menu_id | form | int? | No | |
| mvisible | form | bool | No | |
| Img32 | form | byte[] | No | |
| Img16 | form | byte[] | No | |
| dynFormParams | form | List<DynFormsParams> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ID | form | int | No | |
| formID | form | int | No | |
| paramName | form | string | No | |
| pDescription | form | string | No | |
| paramType | form | string | No | |
| pQuery | form | string | No | |
| paramFormatStr | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ID | form | int | No | |
| formID | form | int | No | |
| layName | form | string | No | |
| layout | form | string | No | |
| isdef | form | int | No | |
| gridsize | form | int? | No | |
| orient | form | bool? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ID | form | int | No | |
| formID | form | int | No | |
| layName | form | string | No | |
| layout | form | string | No | |
| isdef | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | bool | 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 /SaveDynForms HTTP/1.1
Host: axfuel.apex.ge
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
dynForm:
{
dynFormsLayout:
[
{
ID: 0,
formID: 0,
layName: String,
layout: String,
isdef: 0,
gridsize: 0,
orient: False
}
],
dynPrintLayout:
[
{
ID: 0,
formID: 0,
layName: String,
layout: String,
isdef: 0
}
],
ID: 0,
dName: String,
dDescription: String,
dQuery: String,
dType: 0,
cID: 0,
menu_id: 0,
mvisible: False,
Img32: AA==,
Img16: AA==,
dynFormParams:
[
{
ID: 0,
formID: 0,
paramName: String,
pDescription: String,
paramType: String,
pQuery: String,
paramFormatStr: String
}
]
}
}
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
}
},
Result: False
}