Required role: | VeoliaAdmin |
GET | /tenderusertenderround/{tenderusertenderroundid}/question |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Portal.ServiceDto
Namespace Global
Namespace Portal.ServiceDto
Public Partial Class BrowseAllQuestionFileByTenderUserTenderRound
Implements IGet
Public Overridable Property TenderUserTenderRoundId As Integer
End Class
Public Partial Class BrowseAllQuestionResponse
Inherits ResponseBase
Public Sub New()
QuestionFiles = New List(Of QuestionFileDetails)
End Sub
Public Overridable Property QuestionFiles As List(Of QuestionFileDetails)
End Class
Public Partial Class BrowseFileResponseBase
Public Overridable Property Id As Integer
Public Overridable Property FileContentId As Integer
Public Overridable Property FileName As String
Public Overridable Property Size As Long
End Class
Public Partial Class QuestionFileDetails
Inherits BrowseFileResponseBase
Public Overridable Property TenderUserTenderRoundId As Integer
Public Overridable Property SubmittedById As Nullable(Of Integer)
Public Overridable Property SubmissionDateTime As Nullable(Of Date)
Public Overridable Property IsSubmitted As Boolean
End Class
Public Partial Class ResponseBase
Public Overridable Property ResponseStatus As ResponseStatus
End Class
End Namespace
End Namespace
VB.NET BrowseAllQuestionFileByTenderUserTenderRound DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /tenderusertenderround/{tenderusertenderroundid}/question HTTP/1.1 Host: szallitoiportal-be.veolia.hu Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"QuestionFiles":[{"TenderUserTenderRoundId":0,"SubmittedById":0,"SubmissionDateTime":"0001-01-01T00:00:00.0000000","IsSubmitted":false,"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"}}}