ApexERPHost

<back to all web services

SaveErpAttachment

Requires Authentication
The following routes are available for this service:
POST/Core/Attachments
POST/Core/{UnId}/Attachments
SaveErpAttachment Parameters:
NameParameterData TypeRequiredDescription
UnIdpathGuidNo
AttachmentbodyErpAttachmentNo
ErpAttachment Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
FileTypeformintNo
NoteformstringNo
CreateTimeformDateTimeNo
UpdateTimeformDateTime?No
SaveErpAttachmentResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
Idformint?No

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 /Core/Attachments HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"UnId":"00000000000000000000000000000000","Attachment":{"Id":0,"Name":"String","FileType":0,"Note":"String","CreateTime":"\/Date(-62135596800000-0000)\/","UpdateTime":"\/Date(-62135596800000-0000)\/"}}
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"}},"Id":0}