ApexERPHost

<back to all web services

PutAccount

Requires Authentication
The following routes are available for this service:
PUT/Accounting/Accounts
PutAccount Parameters:
NameParameterData TypeRequiredDescription
AccountbodyAccountNoგანკუთვნილია ანალიზური ანგარიშის რედაქტირებისთვის
Account Parameters:
NameParameterData TypeRequiredDescription
AccformstringNo
PlaceIdformint?No
AccountsformstringNo
Lapformbool?No
AccAltformstringNo
LQuantitativeformboolNo
DateStartformDateTimeNo
DateEndformDateTime?No
LOffformbool?No
ReCalcformbool?No
NameformstringNo
NameEnformstringNo
ClientIDformstringNo
CardformstringNo
CurrencyIDformstringNo
Spendformbool?No
unidformGuidNo
prsIDformint?No
DetailsformAccountDetailsNo
CurrencyformCurrencyNo
AccountDetails Parameters:
NameParameterData TypeRequiredDescription
AddressformstringNo
JurAddressformstringNo
SNformstringNo
OwnerNameformstringNo
DataTypeformintNo
VatTypeformint?No
Currency Parameters:
NameParameterData TypeRequiredDescription
CurrencyIDformstringNo
NameformstringNo
NameEnformstringNo
CodeformstringNo
CurTypeformintNo
ReCalcformboolNo
LastDateformDateTimeNo
RateformdecimalNo
SpendformboolNo
CurrencyCntformintNo
Currency_NformstringNo
LDefaultformboolNo
SaveAccountResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo

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

{"Account":{"Acc":"String","PlaceId":0,"Accounts":"String","Lap":false,"AccAlt":"String","LQuantitative":false,"DateStart":"\/Date(-62135596800000-0000)\/","DateEnd":"\/Date(-62135596800000-0000)\/","LOff":false,"ReCalc":false,"Name":"String","NameEn":"String","ClientID":"String","Card":"String","CurrencyID":"String","Spend":false,"unid":"00000000000000000000000000000000","prsID":0,"Details":{"Address":"String","JurAddress":"String","SN":"String","OwnerName":"String","DataType":0,"VatType":0},"Currency":{"CurrencyID":"String","Name":"String","NameEn":"String","Code":"String","CurType":0,"ReCalc":false,"LastDate":"\/Date(-62135596800000-0000)\/","Rate":0,"Spend":false,"CurrencyCnt":0,"Currency_N":"String","LDefault":false}}}
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"}}}