Portal

<back to all web services

BrowseContract

The following routes are available for this service:
GET/user/{supplieruserid}/contract/{contractid}
System.NotSupportedException: Unknown language 'mjs', Supported languages: csharp, typescript, dart, java, kotlin, python, swift, vbnet, fsharp
   at ServiceStack.NativeTypes.LangGeneratorExtensions.GenerateSourceCode(MetadataTypes metadataTypes, MetadataTypesConfig typesConfig, String lang, IRequest req, Action`1 configure) in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/NativeTypes/ILangGenerator.cs:line 53
   at ServiceStack.NativeTypes.LangGeneratorExtensions.GenerateSourceCode(List`1 metadataTypes, String lang, IRequest req, Action`1 configure) in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/NativeTypes/ILangGenerator.cs:line 26
   at ServiceStack.Metadata.BaseMetadataHandler.ProcessOperationsAsync(Stream writer, IRequest httpReq, IResponse httpRes) in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/Metadata/BaseMetadataHandler.cs:line 207

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
		}
	}
}