ApexERPHost

<back to all web services

SaveLocation

Requires Authentication
The following routes are available for this service:
PUT/Accounting/Locations/
SaveLocation Parameters:
NameParameterData TypeRequiredDescription
ItembodyLocationNo
Location Parameters:
NameParameterData TypeRequiredDescription
locationidformintNo
mgridformint?No
nameformstringNo
nameeformstringNo
hcodeformstringNo
bridformintNo
hrclvlformintNo
hccrtformstringNo
mgridpformintNo
BranchformBranchNo
branch_idformint?No
Branch Parameters:
NameParameterData TypeRequiredDescription
BranchIDformintNo
NameformstringNo
DescriptionformstringNo
SpendformboolNo
CompanyBranchIdformint?No
SaveLocationResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ItemformLocationNo

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

HTTP + CSV

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

PUT /Accounting/Locations/ HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"Item":{"locationid":0,"mgrid":0,"name":"String","namee":"String","hcode":"String","brid":0,"hrclvl":0,"hccrt":"String","mgridp":0,"Branch":{"BranchID":0,"Name":"String","Description":"String","Spend":false,"CompanyBranchId":0},"branch_id":0}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Item":{"locationid":0,"mgrid":0,"name":"String","namee":"String","hcode":"String","brid":0,"hrclvl":0,"hccrt":"String","mgridp":0,"Branch":{"BranchID":0,"Name":"String","Description":"String","Spend":false,"CompanyBranchId":0},"branch_id":0}}