axFuelService

<back to all web services

SaveDynForms

Requires Authentication
The following routes are available for this service:
PUT/SaveDynForms
SaveDynForms Parameters:
NameParameterData TypeRequiredDescription
dynFormbodyDynFormsFNo
DynFormsF Parameters:
NameParameterData TypeRequiredDescription
dynFormsLayoutformList<DynFormsLayout>No
dynPrintLayoutformList<DynPrintLayout>No
DynForms Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
dNameformstringNo
dDescriptionformstringNo
dQueryformstringNo
dTypeformintNo
cIDformint?No
menu_idformint?No
mvisibleformboolNo
Img32formbyte[]No
Img16formbyte[]No
dynFormParamsformList<DynFormsParams>No
DynFormsParams Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
formIDformintNo
paramNameformstringNo
pDescriptionformstringNo
paramTypeformstringNo
pQueryformstringNo
paramFormatStrformstringNo
DynFormsLayout Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
formIDformintNo
layNameformstringNo
layoutformstringNo
isdefformintNo
gridsizeformint?No
orientformbool?No
DynPrintLayout Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
formIDformintNo
layNameformstringNo
layoutformstringNo
isdefformintNo
SaveDynFormsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
Content-Type: application/json
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: application/json
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}