ApexERPHost

<back to all web services

GetScales

Requires Authentication
The following routes are available for this service:
GET/Warehousing/Scales/{Id}
GET/Warehousing/Scales
GetScales Parameters:
NameParameterData TypeRequiredDescription
Idpathint?No
BranchIdqueryint?No
GetScalesResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<Scale>No
Scale Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NumberformintNo
NameformstringNo
BranchIdformintNo
IPAddressformstringNo
PortformintNo
NoteformstringNo
ModelformScaleModelNo
SettingsformScaleSettingsNo
Spendformbool?No
SendAnnotationformboolNo
SendScancodeformboolNo
ScalePropertyformintNo
ScaleModel Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
ProxyTypeformstringNo
ProxyDllformstringNo
HasAnnotationformboolNo
HasScancodeformboolNo
ScalePropertyformintNo
ScaleSettings Parameters:
NameParameterData TypeRequiredDescription
PasswordformstringNo
SpeedKeysCountformbyte?No
CodePageformint?No
CharRemapformint?No
MaxMessageLinesformint?No
FtpUserNameformstringNo
FtpPasswordformstringNo
FtpAddressformstringNo
PLUfileAddressformstringNo

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.

GET /Warehousing/Scales/{Id} HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
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: 
	[
		{
			Id: 0,
			Number: 0,
			Name: String,
			BranchId: 0,
			IPAddress: String,
			Port: 0,
			Note: String,
			Model: 
			{
				Id: 0,
				Name: String,
				ProxyType: String,
				ProxyDll: String,
				HasAnnotation: False,
				HasScancode: False,
				ScaleProperty: 0
			},
			Settings: 
			{
				Password: String,
				SpeedKeysCount: 0,
				CodePage: 0,
				CharRemap: 0,
				MaxMessageLines: 0,
				FtpUserName: String,
				FtpPassword: String,
				FtpAddress: String,
				PLUfileAddress: String
			},
			Spend: False,
			SendAnnotation: False,
			SendScancode: False,
			ScaleProperty: 0
		}
	]
}