Required role: | VeoliaAdmin |
GET | /contractversion/{contractversionid} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ContractVersionId | path | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ContractVersion | form | ContractVersionDetailsExtended | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TenderId | form | int? | No | |
UserId | form | int? | No | |
TenderUserId | form | int? | No | |
SupplierUserId | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Meta | form | Dictionary<string, string> | Yes | |
ViewingDateTime | form | DateTime? | No | |
ReviewingDateTime | form | DateTime? | No | |
ContractFiles | form | List<ContractFileSimple> | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
ContractId | form | int | No | |
Version | form | int | No | |
IsViewed | form | bool | No | |
Status | form | ReviewStatus | No |
Name | Value | |
---|---|---|
Draft | 0 | |
Commented | 1 | |
Accepted | 2 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ContractVersionId | form | int | No | |
DocumentType | form | ContractDocumentType | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
FileContentId | form | int | No | |
FileName | form | string | Yes | |
Size | form | long | No |
Name | Value | |
---|---|---|
Draft | 0 | |
Comment | 1 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK Content-Type: application/json 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"}}}