ApexERPHost

<back to all web services

SaveFrmObject

Requires Authentication
The following routes are available for this service:
PUT/Core/Frm/Objects
SaveFrmObject Parameters:
NameParameterData TypeRequiredDescription
FrmObjbodyFrmObjNo
FrmObj Parameters:
NameParameterData TypeRequiredDescription
IdformGuidNo
NameformstringNo
ObjectTypeformint?No
HCodeformstringNo
ParentFormformstringNo
NoteformstringNo
DataSourceIdformGuid?No
IsDynamicformboolNo
CatIdformGuid?No
Visibilityformbool?No
ParamsformFormObjParamsNo
CopyCountformint?No
FormObjParams Parameters:
NameParameterData TypeRequiredDescription
ShowInMenuformbool?No
ImageformstringNo
LargeImageformstringNo
OrderIndexformint?No
ParentFormTypeformstringNo
SaveFrmObjectResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo

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.

PUT /Core/Frm/Objects HTTP/1.1 
Host: apex.nikoratrade.ge 
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
		}
	}
}