ApexERPHost

<back to all web services

SaveScale

Requires Authentication
The following routes are available for this service:
PUT/Warehousing/Scales
SaveScale Parameters:
NameParameterData TypeRequiredDescription
ScalebodyScaleNo
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
SaveScaleResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ScaleIdformint?No

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 /Warehousing/Scales HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Scale":{"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}}
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"}},"ScaleId":0}