Portal

<back to all web services

BrowseContractVersionByVeoliaAdmin

Requires Authentication
Required role:VeoliaAdmin
The following routes are available for this service:
GET/contractversion/{contractversionid}
BrowseContractVersionByVeoliaAdmin Parameters:
NameParameterData TypeRequiredDescription
ContractVersionIdpathintNo
BrowseContractVersionByVeoliaAdminResponse Parameters:
NameParameterData TypeRequiredDescription
ContractVersionformContractVersionDetailsExtendedYes
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusYes
ContractVersionDetailsExtended Parameters:
NameParameterData TypeRequiredDescription
TenderIdformint?No
UserIdformint?No
TenderUserIdformint?No
SupplierUserIdformintNo
ContractVersionDetails Parameters:
NameParameterData TypeRequiredDescription
MetaformDictionary<string, string>Yes
ViewingDateTimeformDateTime?No
ReviewingDateTimeformDateTime?No
ContractFilesformList<ContractFileSimple>Yes
ContractVersionSimple Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ContractIdformintNo
VersionformintNo
IsViewedformboolNo
StatusformReviewStatusNo
ReviewStatus Enum:
NameValue
Draft0
Commented1
Accepted2
ContractFileSimple Parameters:
NameParameterData TypeRequiredDescription
ContractVersionIdformintNo
DocumentTypeformContractDocumentTypeNo
BrowseFileResponseBase Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
FileContentIdformintNo
FileNameformstringYes
SizeformlongNo
ContractDocumentType Enum:
NameValue
Draft0
Comment1

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /contractversion/{contractversionid} HTTP/1.1 
Host: szallitoiportal-be.veolia.hu 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"ContractVersion":{"TenderId":0,"UserId":0,"TenderUserId":0,"SupplierUserId":0,"Meta":{"String":"String"},"ViewingDateTime":"0001-01-01T00:00:00.0000000","ReviewingDateTime":"0001-01-01T00:00:00.0000000","ContractFiles":[{"ContractVersionId":0,"DocumentType":0,"Id":0,"FileContentId":0,"FileName":"String","Size":0}],"Id":0,"ContractId":0,"Version":0,"IsViewed":false,"Status":0},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}