GET | /tender/{tenderid}/user/{userid}/procurement/{procurementid}/file |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DocumentType | query | ProcurementDocumentType | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TenderId | form | int | No | |
UserId | form | int | No | |
ProcurementId | form | int | No |
Name | Value | |
---|---|---|
BankAccountnumber | 0 | |
EcoVadis | 1 | |
Csr | 2 | |
SignedProcurement | 3 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ProcurementFiles | form | List<ProcurementFileDetails> | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ProcurementId | form | int | No | |
DocumentType | form | ProcurementDocumentType | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
FileContentId | form | int | No | |
FileName | form | string | Yes | |
Size | form | long | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /tender/{tenderid}/user/{userid}/procurement/{procurementid}/file HTTP/1.1 Host: szallitoiportal-be.veolia.hu Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { ProcurementFiles: [ { ProcurementId: 0, DocumentType: 0, Id: 0, FileContentId: 0, FileName: String, Size: 0 } ], ResponseStatus: { ErrorCode: String, Message: String, StackTrace: String, Errors: [ { ErrorCode: String, FieldName: String, Message: String, Meta: { String: String } } ], Meta: { String: String } } }