ApexERPHost

<back to all web services

SaveRSDeprication

Requires Authentication
The following routes are available for this service:
POST/Accounting/FixedAsets/RSDepricatin
SaveRSDeprication Parameters:
NameParameterData TypeRequiredDescription
RSDepricationbodyList<tfDeprByYear>No
DYearbodyintNo
Uidbodyint?No
tfDeprByYear Parameters:
NameParameterData TypeRequiredDescription
DDateformDateTimeNo
SDateformDateTimeNo
SuppdIdformintNo
InvNumberformstringNo
NameformstringNo
GTNameformstringNo
GTDPercentformdecimalNo
VGformdecimalNo
DeprformdecimalNo
CurDeprformdecimalNo
SaveRSDepricationResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo

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.

POST /Accounting/FixedAsets/RSDepricatin HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"RSDeprication":[{"DDate":"\/Date(-62135596800000-0000)\/","SDate":"\/Date(-62135596800000-0000)\/","SuppdId":0,"InvNumber":"String","Name":"String","GTName":"String","GTDPercent":0,"VG":0,"Depr":0,"CurDepr":0}],"DYear":0,"Uid":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"}}}