Portal

<back to all web services

AddSupplierFile

The following routes are available for this service:
POST/supplier/{supplierid}/file
AddSupplierFile Parameters:
NameParameterData TypeRequiredDescription
SupplierIdpathintNo
DocumentTypebodySupplierDocumentTypeNo
SupplierDocumentType Enum:
NameValue
RegistrationForm0
SpecimenSignature1
SaveFileEntityResponse Parameters:
NameParameterData TypeRequiredDescription
FileContentIdformintNo
ModifyEntityResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusYes

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 /supplier/{supplierid}/file HTTP/1.1 
Host: szallitoiportal-be.veolia.hu 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"SupplierId":0,"DocumentType":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"FileContentId":0,"Id":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}