ApexERPHost

<back to all web services

SaveDtAny

Requires Authentication
The following routes are available for this service:
POST/Common/Dictionary/DTAny
SaveDtAny Parameters:
NameParameterData TypeRequiredDescription
DtAnybodyDTAnyDataNo
DTAnyData Parameters:
NameParameterData TypeRequiredDescription
codeidformintNo
mgridformGuid?No
hnameformstringNo
hnameeformstringNo
hcodeformstringNo
defvalformboolNo
vmformdecimal?No
vpformdecimal?No
viformint?No
vdformDateTime?No
canceledformboolNo
crtimeformDateTime?No
unidformGuidNo
IUDformintNo
SaveDtAnyResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
NewCodeIdformintNo

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

HTTP + X-PROTOBUF

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Common/Dictionary/DTAny HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: application/x-protobuf
Content-Type: application/x-protobuf
Content-Length: length

{"DtAny":{"codeid":0,"mgrid":"00000000000000000000000000000000","hname":"String","hnamee":"String","hcode":"String","defval":false,"vm":0,"vp":0,"vi":0,"vd":"\/Date(-62135596800000-0000)\/","canceled":false,"crtime":"\/Date(-62135596800000-0000)\/","unid":"00000000000000000000000000000000","IUD":0}}
HTTP/1.1 200 OK
Content-Type: application/x-protobuf
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"NewCodeId":0}