Portal

<back to all web services

BrowseLastProcurement

Requires Authentication
The following routes are available for this service:
GET/user/{userid}/lastprocurement
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 BrowseLastProcurement
            Implements IGet
            Public Overridable Property UserId As Integer
        End Class

        Public Partial Class BrowseProcurementResponse
            Inherits ResponseBase
            Public Overridable Property Procurement As ProcurementDetails
        End Class

        Public Partial Class LegalRepresentativeDetails
            Inherits ModifyLegalRepresentativeBase
            Public Overridable Property Id As Integer
        End Class

        Public Partial Class ModifyLegalRepresentativeBase
            Inherits ModifyRequestBase
            Public Overridable Property ProcurementId As Integer
            Public Overridable Property Position As String
            Public Overridable Property Name As String
            Public Overridable Property Address As String
            Public Overridable Property BirthDate As Nullable(Of Date)
            Public Overridable Property Email As String
        End Class

        Public Partial Class ModifyProcurementBase
            Inherits ModifyRequestBase
            Public Overridable Property IsGroupMember As Nullable(Of Boolean)
            Public Overridable Property GroupName As String
            Public Overridable Property GroupShortName As String
            Public Overridable Property CountryId As Nullable(Of Integer)
            Public Overridable Property VatNumber As String
            Public Overridable Property RegistrationNumber As String
            Public Overridable Property Duns As String
            Public Overridable Property Address As String
            Public Overridable Property MainActivity As String
            Public Overridable Property EstablishedDate As Nullable(Of Date)
            Public Overridable Property Workforce As Nullable(Of Integer)
            Public Overridable Property Website As String
            Public Overridable Property SalesManagerName As String
            Public Overridable Property SalesManagerPhone As String
            Public Overridable Property SalesManagerEmail As String
            Public Overridable Property CsrManagerName As String
            Public Overridable Property CsrManagerPhone As String
            Public Overridable Property CsrManagerEmail As String
            Public Overridable Property AccountCountryId As Nullable(Of Integer)
            Public Overridable Property BankName As String
            Public Overridable Property AccountNumber As String
            Public Overridable Property Iban As String
            Public Overridable Property Swift As String
            Public Overridable Property CurrencyId As Nullable(Of Integer)
            Public Overridable Property WorkForceN1 As Nullable(Of Integer)
            Public Overridable Property WorkForceN2 As Nullable(Of Integer)
            Public Overridable Property WorkForceN3 As Nullable(Of Integer)
            Public Overridable Property SubscribedCapital As Nullable(Of Long)
            Public Overridable Property SubscribedCapitalCurrencyId As Nullable(Of Integer)
            Public Overridable Property RevenueN1 As Nullable(Of Long)
            Public Overridable Property RevenueN2 As Nullable(Of Long)
            Public Overridable Property RevenueN3 As Nullable(Of Long)
            Public Overridable Property NetProfitN1 As Nullable(Of Long)
            Public Overridable Property NetProfitN2 As Nullable(Of Long)
            Public Overridable Property NetProfitN3 As Nullable(Of Long)
            Public Overridable Property EquityN1 As Nullable(Of Long)
            Public Overridable Property EquityN2 As Nullable(Of Long)
            Public Overridable Property EquityN3 As Nullable(Of Long)
            Public Overridable Property LiabilityN1 As Nullable(Of Long)
            Public Overridable Property LiabilityN2 As Nullable(Of Long)
            Public Overridable Property LiabilityN3 As Nullable(Of Long)
            Public Overridable Property OperatingResultN1 As Nullable(Of Long)
            Public Overridable Property OperatingResultN2 As Nullable(Of Long)
            Public Overridable Property OperatingResultN3 As Nullable(Of Long)
            Public Overridable Property DBFailureScore As String
            Public Overridable Property IsAuditedAccount As Nullable(Of Boolean)
            Public Overridable Property IsAuditedAccountComment As String
            Public Overridable Property IsLiquidationProceedings As Nullable(Of Boolean)
            Public Overridable Property IsLiquidationProceedingsComment As String
            Public Overridable Property VeoliaAnnualRevenuesProportion As Nullable(Of Decimal)
            Public Overridable Property IsAntiCorruptionDocument As Nullable(Of Boolean)
            Public Overridable Property IsCorruptionRiskMap As Nullable(Of Boolean)
            Public Overridable Property IsThirdPartiesEvaluatingSystem As Nullable(Of Boolean)
            Public Overridable Property IsInternalRules As Nullable(Of Boolean)
            Public Overridable Property IsHumanRights As Nullable(Of Boolean)
            Public Overridable Property IsAntiCorruptionTraining As Nullable(Of Boolean)
            Public Overridable Property IsAntiCorruptionReportSystem As Nullable(Of Boolean)
            Public Overridable Property IsIso9001 As Nullable(Of Boolean)
            Public Overridable Property IsEcoVadisScorecard As Nullable(Of Boolean)
            Public Overridable Property EcoVadisTotalScore As Nullable(Of Integer)
            Public Overridable Property IsReduceEmployeeSafetyRisk As Nullable(Of Boolean)
            Public Overridable Property IsPromoteSocialIntegration As Nullable(Of Boolean)
            Public Overridable Property IsNondiscriminationPolicy As Nullable(Of Boolean)
            Public Overridable Property IsIso14001 As Nullable(Of Boolean)
            Public Overridable Property IsIdentifiedMajorEnvironmentalImpacts As Nullable(Of Boolean)
            Public Overridable Property IsUseWaterResources As Nullable(Of Boolean)
            Public Overridable Property IsConsumptionOfRawMaterials As Nullable(Of Boolean)
            Public Overridable Property IsEnergyConsumption As Nullable(Of Boolean)
            Public Overridable Property IsGreenhouseGasEmissions As Nullable(Of Boolean)
            Public Overridable Property IsAtmosphericEmissions As Nullable(Of Boolean)
            Public Overridable Property IsAqueousPollution As Nullable(Of Boolean)
            Public Overridable Property IsWasteGeneration As Nullable(Of Boolean)
            Public Overridable Property IsNaturalAreasPollution As Nullable(Of Boolean)
            Public Overridable Property IsPrivacyStatement As Nullable(Of Boolean)
            Public Overridable Property IsVeoliaSupplierCharter As Nullable(Of Boolean)
            Public Overridable Property IsVeoliaCoreStandards As Nullable(Of Boolean)
        End Class

        Public Partial Class ModifyRequestBase
            Implements IConcurrencyStamp
            Public Overridable Property ConcurrencyStamp As String
        End Class

        Public Partial Class ProcurementDetails
            Inherits ModifyProcurementBase
            Public Sub New()
                LegalRepresentatives = New List(Of LegalRepresentativeDetails)
            End Sub

            Public Overridable Property Id As Integer
            Public Overridable Property IndebtednessN1 As Nullable(Of Double)
            Public Overridable Property IndebtednessN2 As Nullable(Of Double)
            Public Overridable Property IndebtednessN3 As Nullable(Of Double)
            Public Overridable Property SalesProportionateProfitN1 As Nullable(Of Double)
            Public Overridable Property SalesProportionateProfitN2 As Nullable(Of Double)
            Public Overridable Property SalesProportionateProfitN3 As Nullable(Of Double)
            Public Overridable Property LiquidityRatioN1 As Nullable(Of Double)
            Public Overridable Property LiquidityRatioN2 As Nullable(Of Double)
            Public Overridable Property LiquidityRatioN3 As Nullable(Of Double)
            Public Overridable Property SubmittedById As Nullable(Of Integer)
            Public Overridable Property SubmissionDateTime As Nullable(Of Date)
            Public Overridable Property IsSubmitted As Boolean
            Public Overridable Property LegalRepresentatives As List(Of LegalRepresentativeDetails)
        End Class

        Public Partial Class ResponseBase
            Public Overridable Property ResponseStatus As ResponseStatus
        End Class
    End Namespace
End Namespace

VB.NET BrowseLastProcurement DTOs

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/{userid}/lastprocurement HTTP/1.1 
Host: szallitoiportal-be.veolia.hu 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Procurement: 
	{
		Id: 0,
		SubmittedById: 0,
		SubmissionDateTime: 0001-01-01,
		IsSubmitted: False,
		LegalRepresentatives: 
		[
			{
				Id: 0,
				ProcurementId: 0,
				Position: String,
				Name: String,
				Address: String,
				BirthDate: 0001-01-01,
				Email: String,
				ConcurrencyStamp: String
			}
		],
		IsGroupMember: False,
		GroupName: String,
		GroupShortName: String,
		CountryId: 0,
		VatNumber: String,
		RegistrationNumber: String,
		Duns: String,
		Address: String,
		MainActivity: String,
		EstablishedDate: 0001-01-01,
		Workforce: 0,
		Website: String,
		SalesManagerName: String,
		SalesManagerPhone: String,
		SalesManagerEmail: String,
		CsrManagerName: String,
		CsrManagerPhone: String,
		CsrManagerEmail: String,
		AccountCountryId: 0,
		BankName: String,
		AccountNumber: String,
		Iban: String,
		Swift: String,
		CurrencyId: 0,
		WorkForceN1: 0,
		WorkForceN2: 0,
		WorkForceN3: 0,
		SubscribedCapital: 0,
		SubscribedCapitalCurrencyId: 0,
		RevenueN1: 0,
		RevenueN2: 0,
		RevenueN3: 0,
		NetProfitN1: 0,
		NetProfitN2: 0,
		NetProfitN3: 0,
		EquityN1: 0,
		EquityN2: 0,
		EquityN3: 0,
		LiabilityN1: 0,
		LiabilityN2: 0,
		LiabilityN3: 0,
		OperatingResultN1: 0,
		OperatingResultN2: 0,
		OperatingResultN3: 0,
		DBFailureScore: String,
		IsAuditedAccount: False,
		IsAuditedAccountComment: String,
		IsLiquidationProceedings: False,
		IsLiquidationProceedingsComment: String,
		VeoliaAnnualRevenuesProportion: 0,
		IsAntiCorruptionDocument: False,
		IsCorruptionRiskMap: False,
		IsThirdPartiesEvaluatingSystem: False,
		IsInternalRules: False,
		IsHumanRights: False,
		IsAntiCorruptionTraining: False,
		IsAntiCorruptionReportSystem: False,
		IsIso9001: False,
		IsEcoVadisScorecard: False,
		EcoVadisTotalScore: 0,
		IsReduceEmployeeSafetyRisk: False,
		IsPromoteSocialIntegration: False,
		IsNondiscriminationPolicy: False,
		IsIso14001: False,
		IsIdentifiedMajorEnvironmentalImpacts: False,
		IsUseWaterResources: False,
		IsConsumptionOfRawMaterials: False,
		IsEnergyConsumption: False,
		IsGreenhouseGasEmissions: False,
		IsAtmosphericEmissions: False,
		IsAqueousPollution: False,
		IsWasteGeneration: False,
		IsNaturalAreasPollution: False,
		IsPrivacyStatement: False,
		IsVeoliaSupplierCharter: False,
		IsVeoliaCoreStandards: False,
		ConcurrencyStamp: String
	},
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}