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 .jsv suffix or ?format=jsv

HTTP + JSV

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: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	DtAny: 
	{
		codeid: 0,
		mgrid: 00000000000000000000000000000000,
		hname: String,
		hnamee: String,
		hcode: String,
		defval: False,
		vm: 0,
		vp: 0,
		vi: 0,
		vd: 0001-01-01,
		canceled: False,
		crtime: 0001-01-01,
		unid: 00000000000000000000000000000000,
		IUD: 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
		}
	},
	NewCodeId: 0
}