Portal

<back to all web services

BrowseLastValidProcurement

Requires Authentication
The following routes are available for this service:
GET/user/{userid}/lastvalidprocurement
namespace Portal.ServiceDto

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type ResponseBase() = 
        member val ResponseStatus:ResponseStatus = null with get,set

    [<AllowNullLiteral>]
    type ModifyRequestBase() = 
        member val ConcurrencyStamp:String = null with get,set

    [<AllowNullLiteral>]
    type ModifyProcurementBase() = 
        inherit ModifyRequestBase()
        member val IsGroupMember:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val GroupName:String = null with get,set
        member val GroupShortName:String = null with get,set
        member val CountryId:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val VatNumber:String = null with get,set
        member val RegistrationNumber:String = null with get,set
        member val Duns:String = null with get,set
        member val Address:String = null with get,set
        member val MainActivity:String = null with get,set
        member val EstablishedDate:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val Workforce:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val Website:String = null with get,set
        member val SalesManagerName:String = null with get,set
        member val SalesManagerPhone:String = null with get,set
        member val SalesManagerEmail:String = null with get,set
        member val CsrManagerName:String = null with get,set
        member val CsrManagerPhone:String = null with get,set
        member val CsrManagerEmail:String = null with get,set
        member val AccountCountryId:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val BankName:String = null with get,set
        member val AccountNumber:String = null with get,set
        member val Iban:String = null with get,set
        member val Swift:String = null with get,set
        member val CurrencyId:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val WorkForceN1:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val WorkForceN2:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val WorkForceN3:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val SubscribedCapital:Nullable<Int64> = new Nullable<Int64>() with get,set
        member val SubscribedCapitalCurrencyId:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val RevenueN1:Nullable<Int64> = new Nullable<Int64>() with get,set
        member val RevenueN2:Nullable<Int64> = new Nullable<Int64>() with get,set
        member val RevenueN3:Nullable<Int64> = new Nullable<Int64>() with get,set
        member val NetProfitN1:Nullable<Int64> = new Nullable<Int64>() with get,set
        member val NetProfitN2:Nullable<Int64> = new Nullable<Int64>() with get,set
        member val NetProfitN3:Nullable<Int64> = new Nullable<Int64>() with get,set
        member val EquityN1:Nullable<Int64> = new Nullable<Int64>() with get,set
        member val EquityN2:Nullable<Int64> = new Nullable<Int64>() with get,set
        member val EquityN3:Nullable<Int64> = new Nullable<Int64>() with get,set
        member val LiabilityN1:Nullable<Int64> = new Nullable<Int64>() with get,set
        member val LiabilityN2:Nullable<Int64> = new Nullable<Int64>() with get,set
        member val LiabilityN3:Nullable<Int64> = new Nullable<Int64>() with get,set
        member val OperatingResultN1:Nullable<Int64> = new Nullable<Int64>() with get,set
        member val OperatingResultN2:Nullable<Int64> = new Nullable<Int64>() with get,set
        member val OperatingResultN3:Nullable<Int64> = new Nullable<Int64>() with get,set
        member val DBFailureScore:String = null with get,set
        member val IsAuditedAccount:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsAuditedAccountComment:String = null with get,set
        member val IsLiquidationProceedings:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsLiquidationProceedingsComment:String = null with get,set
        member val VeoliaAnnualRevenuesProportion:Nullable<Decimal> = new Nullable<Decimal>() with get,set
        member val IsAntiCorruptionDocument:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsCorruptionRiskMap:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsThirdPartiesEvaluatingSystem:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsInternalRules:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsHumanRights:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsAntiCorruptionTraining:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsAntiCorruptionReportSystem:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsIso9001:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsEcoVadisScorecard:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val EcoVadisTotalScore:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val IsReduceEmployeeSafetyRisk:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsPromoteSocialIntegration:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsNondiscriminationPolicy:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsIso14001:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsIdentifiedMajorEnvironmentalImpacts:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsUseWaterResources:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsConsumptionOfRawMaterials:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsEnergyConsumption:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsGreenhouseGasEmissions:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsAtmosphericEmissions:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsAqueousPollution:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsWasteGeneration:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsNaturalAreasPollution:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsPrivacyStatement:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsVeoliaSupplierCharter:Nullable<Boolean> = new Nullable<Boolean>() with get,set
        member val IsVeoliaCoreStandards:Nullable<Boolean> = new Nullable<Boolean>() with get,set

    [<AllowNullLiteral>]
    type ModifyLegalRepresentativeBase() = 
        inherit ModifyRequestBase()
        member val ProcurementId:Int32 = new Int32() with get,set
        member val Position:String = null with get,set
        member val Name:String = null with get,set
        member val Address:String = null with get,set
        member val BirthDate:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val Email:String = null with get,set

    [<AllowNullLiteral>]
    type LegalRepresentativeDetails() = 
        inherit ModifyLegalRepresentativeBase()
        member val Id:Int32 = new Int32() with get,set

    [<AllowNullLiteral>]
    type ProcurementDetails() = 
        inherit ModifyProcurementBase()
        member val Id:Int32 = new Int32() with get,set
        member val IndebtednessN1:Nullable<Double> = new Nullable<Double>() with get,set
        member val IndebtednessN2:Nullable<Double> = new Nullable<Double>() with get,set
        member val IndebtednessN3:Nullable<Double> = new Nullable<Double>() with get,set
        member val SalesProportionateProfitN1:Nullable<Double> = new Nullable<Double>() with get,set
        member val SalesProportionateProfitN2:Nullable<Double> = new Nullable<Double>() with get,set
        member val SalesProportionateProfitN3:Nullable<Double> = new Nullable<Double>() with get,set
        member val LiquidityRatioN1:Nullable<Double> = new Nullable<Double>() with get,set
        member val LiquidityRatioN2:Nullable<Double> = new Nullable<Double>() with get,set
        member val LiquidityRatioN3:Nullable<Double> = new Nullable<Double>() with get,set
        member val SubmittedById:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val SubmissionDateTime:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val IsSubmitted:Boolean = new Boolean() with get,set
        member val LegalRepresentatives:ResizeArray<LegalRepresentativeDetails> = new ResizeArray<LegalRepresentativeDetails>() with get,set

    [<AllowNullLiteral>]
    type BrowseProcurementResponse() = 
        inherit ResponseBase()
        member val Procurement:ProcurementDetails = null with get,set

    [<AllowNullLiteral>]
    type BrowseLastValidProcurement() = 
        interface IGet
        member val UserId:Int32 = new Int32() with get,set

F# BrowseLastValidProcurement DTOs

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

HTTP + XML

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

GET /user/{userid}/lastvalidprocurement HTTP/1.1 
Host: szallitoiportal-be.veolia.hu 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<BrowseProcurementResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Portal.ServiceDto">
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
  <Procurement>
    <ConcurrencyStamp>String</ConcurrencyStamp>
    <AccountCountryId>0</AccountCountryId>
    <AccountNumber>String</AccountNumber>
    <Address>String</Address>
    <BankName>String</BankName>
    <CountryId>0</CountryId>
    <CsrManagerEmail>String</CsrManagerEmail>
    <CsrManagerName>String</CsrManagerName>
    <CsrManagerPhone>String</CsrManagerPhone>
    <CurrencyId>0</CurrencyId>
    <DBFailureScore>String</DBFailureScore>
    <Duns>String</Duns>
    <EcoVadisTotalScore>0</EcoVadisTotalScore>
    <EquityN1>0</EquityN1>
    <EquityN2>0</EquityN2>
    <EquityN3>0</EquityN3>
    <EstablishedDate>0001-01-01T00:00:00</EstablishedDate>
    <GroupName>String</GroupName>
    <GroupShortName>String</GroupShortName>
    <Iban>String</Iban>
    <IsAntiCorruptionDocument>false</IsAntiCorruptionDocument>
    <IsAntiCorruptionReportSystem>false</IsAntiCorruptionReportSystem>
    <IsAntiCorruptionTraining>false</IsAntiCorruptionTraining>
    <IsAqueousPollution>false</IsAqueousPollution>
    <IsAtmosphericEmissions>false</IsAtmosphericEmissions>
    <IsAuditedAccount>false</IsAuditedAccount>
    <IsAuditedAccountComment>String</IsAuditedAccountComment>
    <IsConsumptionOfRawMaterials>false</IsConsumptionOfRawMaterials>
    <IsCorruptionRiskMap>false</IsCorruptionRiskMap>
    <IsEcoVadisScorecard>false</IsEcoVadisScorecard>
    <IsEnergyConsumption>false</IsEnergyConsumption>
    <IsGreenhouseGasEmissions>false</IsGreenhouseGasEmissions>
    <IsGroupMember>false</IsGroupMember>
    <IsHumanRights>false</IsHumanRights>
    <IsIdentifiedMajorEnvironmentalImpacts>false</IsIdentifiedMajorEnvironmentalImpacts>
    <IsInternalRules>false</IsInternalRules>
    <IsIso14001>false</IsIso14001>
    <IsIso9001>false</IsIso9001>
    <IsLiquidationProceedings>false</IsLiquidationProceedings>
    <IsLiquidationProceedingsComment>String</IsLiquidationProceedingsComment>
    <IsNaturalAreasPollution>false</IsNaturalAreasPollution>
    <IsNondiscriminationPolicy>false</IsNondiscriminationPolicy>
    <IsPrivacyStatement>false</IsPrivacyStatement>
    <IsPromoteSocialIntegration>false</IsPromoteSocialIntegration>
    <IsReduceEmployeeSafetyRisk>false</IsReduceEmployeeSafetyRisk>
    <IsThirdPartiesEvaluatingSystem>false</IsThirdPartiesEvaluatingSystem>
    <IsUseWaterResources>false</IsUseWaterResources>
    <IsVeoliaCoreStandards>false</IsVeoliaCoreStandards>
    <IsVeoliaSupplierCharter>false</IsVeoliaSupplierCharter>
    <IsWasteGeneration>false</IsWasteGeneration>
    <LiabilityN1>0</LiabilityN1>
    <LiabilityN2>0</LiabilityN2>
    <LiabilityN3>0</LiabilityN3>
    <MainActivity>String</MainActivity>
    <NetProfitN1>0</NetProfitN1>
    <NetProfitN2>0</NetProfitN2>
    <NetProfitN3>0</NetProfitN3>
    <OperatingResultN1>0</OperatingResultN1>
    <OperatingResultN2>0</OperatingResultN2>
    <OperatingResultN3>0</OperatingResultN3>
    <RegistrationNumber>String</RegistrationNumber>
    <RevenueN1>0</RevenueN1>
    <RevenueN2>0</RevenueN2>
    <RevenueN3>0</RevenueN3>
    <SalesManagerEmail>String</SalesManagerEmail>
    <SalesManagerName>String</SalesManagerName>
    <SalesManagerPhone>String</SalesManagerPhone>
    <SubscribedCapital>0</SubscribedCapital>
    <SubscribedCapitalCurrencyId>0</SubscribedCapitalCurrencyId>
    <Swift>String</Swift>
    <VatNumber>String</VatNumber>
    <VeoliaAnnualRevenuesProportion>0</VeoliaAnnualRevenuesProportion>
    <Website>String</Website>
    <WorkForceN1>0</WorkForceN1>
    <WorkForceN2>0</WorkForceN2>
    <WorkForceN3>0</WorkForceN3>
    <Workforce>0</Workforce>
    <Id>0</Id>
    <IsSubmitted>false</IsSubmitted>
    <LegalRepresentatives>
      <LegalRepresentativeDetails>
        <ConcurrencyStamp>String</ConcurrencyStamp>
        <Address>String</Address>
        <BirthDate>0001-01-01T00:00:00</BirthDate>
        <Email>String</Email>
        <Name>String</Name>
        <Position>String</Position>
        <ProcurementId>0</ProcurementId>
        <Id>0</Id>
      </LegalRepresentativeDetails>
    </LegalRepresentatives>
    <SubmissionDateTime>0001-01-01T00:00:00</SubmissionDateTime>
    <SubmittedById>0</SubmittedById>
  </Procurement>
</BrowseProcurementResponse>