Portal

<back to all web services

BrowseContract

The following routes are available for this service:
GET/user/{supplieruserid}/contract/{contractid}
ContractBase Parameters:
NameParameterData TypeRequiredDescription
SupplierUserIdformintNo
ContractIdformintNo
BrowseContractResponse Parameters:
NameParameterData TypeRequiredDescription
ContractformContractDetailsYes
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusYes
ContractDetails Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
CancellationDateTimeformDateTime?No
IsCancelledformboolNo
MetaformDictionary<string, string>Yes
ContractVersionsformList<ContractVersionSimple>Yes
TenderformTenderDetailsYes
ModifyContractBase Parameters:
NameParameterData TypeRequiredDescription
TenderUserIdformint?No
ContractIdentifierformstringYes
SupplierUserIdformintNo
BuyerformstringYes
SubjectformstringYes
ConfirmationDeadlineformDateTimeNo
ModifyRequestBase Parameters:
NameParameterData TypeRequiredDescription
ConcurrencyStampformstringYes
ContractVersionSimple Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ContractIdformintNo
VersionformintNo
IsViewedformboolNo
StatusformReviewStatusNo
ReviewStatus Enum:
NameValue
Draft0
Commented1
Accepted2
TenderDetails Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
StarterTenderRoundIdformint?No
ProcedureTypeformProcedureTypeNo
MetaformDictionary<string, string>Yes
TenderFilesformList<TenderFileDetails>Yes
TenderRoundsformList<TenderRoundSimple>Yes
ConcurrencyStampformstringYes
IsProcurementEnabledformboolNo
IsComplianceEnabledformboolNo
TenderBase Parameters:
NameParameterData TypeRequiredDescription
TenderIdentifierformstringYes
TenderTypeformTenderTypeNo
SubjectformstringYes
ProcurementContactformstringYes
ProcurementContactEmailformstringYes
ProcurementContactPhoneformstringYes
ProfessionalContactformstringYes
ProfessionalContactEmailformstringYes
ProfessionalContactPhoneformstringYes
ResultformstringYes
StatusformTenderStatusNo
TenderType Enum:
NameValue
Private0
Public1
TenderStatus Enum:
NameValue
FirstRound0
SecondRound1
ThirdRound2
Successful3
UnSuccessful4
Revoked5
ProcedureType Enum:
NameValue
Competition0
Simplified1
TenderFileDetails Parameters:
NameParameterData TypeRequiredDescription
TenderIdformintNo
DocumentTypeformstringYes
IsTenderAnnouncementformboolNo
BrowseFileResponseBase Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
FileContentIdformintNo
FileNameformstringYes
SizeformlongNo
TenderRoundSimple Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringYes
IsQuestionEnabledformboolNo
QuestionDeadlineformDateTime?No
AnswerDeadlineformDateTime?No
SubmissionDeadlineformDateTimeNo
IsSupplementaryEnabledformboolNo
SupplementaryRequestDeadlineformDateTime?No
SupplementaryDeadlineformDateTime?No
AnnouncementDateTimeformDateTimeNo
StatusformintNo

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

HTTP + JSV

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

GET /user/{supplieruserid}/contract/{contractid} HTTP/1.1 
Host: szallitoiportal-be.veolia.hu 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Contract: 
	{
		Id: 0,
		CancellationDateTime: 0001-01-01,
		IsCancelled: False,
		Meta: 
		{
			String: String
		},
		ContractVersions: 
		[
			{
				Id: 0,
				ContractId: 0,
				Version: 0,
				IsViewed: False,
				Status: 0
			}
		],
		Tender: 
		{
			Id: 0,
			StarterTenderRoundId: 0,
			ProcedureType: 0,
			Meta: 
			{
				String: String
			},
			TenderFiles: 
			[
				{
					TenderId: 0,
					DocumentType: String,
					IsTenderAnnouncement: False,
					Id: 0,
					FileContentId: 0,
					FileName: String,
					Size: 0
				}
			],
			TenderRounds: 
			[
				{
					Id: 0,
					Name: String,
					IsQuestionEnabled: False,
					QuestionDeadline: 0001-01-01,
					AnswerDeadline: 0001-01-01,
					SubmissionDeadline: 0001-01-01,
					IsSupplementaryEnabled: False,
					SupplementaryRequestDeadline: 0001-01-01,
					SupplementaryDeadline: 0001-01-01,
					AnnouncementDateTime: 0001-01-01,
					Status: 0
				}
			],
			ConcurrencyStamp: String,
			IsProcurementEnabled: False,
			IsComplianceEnabled: False,
			TenderIdentifier: String,
			TenderType: 0,
			Subject: String,
			ProcurementContact: String,
			ProcurementContactEmail: String,
			ProcurementContactPhone: String,
			ProfessionalContact: String,
			ProfessionalContactEmail: String,
			ProfessionalContactPhone: String,
			Result: String,
			Status: 0
		},
		TenderUserId: 0,
		ContractIdentifier: String,
		SupplierUserId: 0,
		Buyer: String,
		Subject: String,
		ConfirmationDeadline: 0001-01-01,
		ConcurrencyStamp: String
	},
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}