Portal

<back to all web services

BrowseProcurement

The following routes are available for this service:
GET/tender/{tenderid}/user/{userid}/procurement/{procurementid}
import java.math.*
import java.util.*
import net.servicestack.client.*


open class BrowseProcurement : ProcurementBase(), IGet
{
}

open class ProcurementBase
{
    var TenderId:Int? = null
    var UserId:Int? = null
    var ProcurementId:Int? = null
}

open class BrowseProcurementResponse : ResponseBase()
{
    var Procurement:ProcurementDetails? = null
}

open class ResponseBase
{
    var ResponseStatus:ResponseStatus? = null
}

open class ProcurementDetails : ModifyProcurementBase()
{
    var Id:Int? = null
    var IndebtednessN1:Double? = null
    var IndebtednessN2:Double? = null
    var IndebtednessN3:Double? = null
    var SalesProportionateProfitN1:Double? = null
    var SalesProportionateProfitN2:Double? = null
    var SalesProportionateProfitN3:Double? = null
    var LiquidityRatioN1:Double? = null
    var LiquidityRatioN2:Double? = null
    var LiquidityRatioN3:Double? = null
    var SubmittedById:Int? = null
    var SubmissionDateTime:Date? = null
    var IsSubmitted:Boolean? = null
    var LegalRepresentatives:ArrayList<LegalRepresentativeDetails> = ArrayList<LegalRepresentativeDetails>()
}

open class ModifyProcurementBase : ModifyRequestBase()
{
    var IsGroupMember:Boolean? = null
    var GroupName:String? = null
    var GroupShortName:String? = null
    var CountryId:Int? = null
    var VatNumber:String? = null
    var RegistrationNumber:String? = null
    var Duns:String? = null
    var Address:String? = null
    var MainActivity:String? = null
    var EstablishedDate:Date? = null
    var Workforce:Int? = null
    var Website:String? = null
    var SalesManagerName:String? = null
    var SalesManagerPhone:String? = null
    var SalesManagerEmail:String? = null
    var CsrManagerName:String? = null
    var CsrManagerPhone:String? = null
    var CsrManagerEmail:String? = null
    var AccountCountryId:Int? = null
    var BankName:String? = null
    var AccountNumber:String? = null
    var Iban:String? = null
    var Swift:String? = null
    var CurrencyId:Int? = null
    var WorkForceN1:Int? = null
    var WorkForceN2:Int? = null
    var WorkForceN3:Int? = null
    var SubscribedCapital:Long? = null
    var SubscribedCapitalCurrencyId:Int? = null
    var RevenueN1:Long? = null
    var RevenueN2:Long? = null
    var RevenueN3:Long? = null
    var NetProfitN1:Long? = null
    var NetProfitN2:Long? = null
    var NetProfitN3:Long? = null
    var EquityN1:Long? = null
    var EquityN2:Long? = null
    var EquityN3:Long? = null
    var LiabilityN1:Long? = null
    var LiabilityN2:Long? = null
    var LiabilityN3:Long? = null
    var OperatingResultN1:Long? = null
    var OperatingResultN2:Long? = null
    var OperatingResultN3:Long? = null
    var DBFailureScore:String? = null
    var IsAuditedAccount:Boolean? = null
    var IsAuditedAccountComment:String? = null
    var IsLiquidationProceedings:Boolean? = null
    var IsLiquidationProceedingsComment:String? = null
    var VeoliaAnnualRevenuesProportion:BigDecimal? = null
    var IsAntiCorruptionDocument:Boolean? = null
    var IsCorruptionRiskMap:Boolean? = null
    var IsThirdPartiesEvaluatingSystem:Boolean? = null
    var IsInternalRules:Boolean? = null
    var IsHumanRights:Boolean? = null
    var IsAntiCorruptionTraining:Boolean? = null
    var IsAntiCorruptionReportSystem:Boolean? = null
    var IsIso9001:Boolean? = null
    var IsEcoVadisScorecard:Boolean? = null
    var EcoVadisTotalScore:Int? = null
    var IsReduceEmployeeSafetyRisk:Boolean? = null
    var IsPromoteSocialIntegration:Boolean? = null
    var IsNondiscriminationPolicy:Boolean? = null
    var IsIso14001:Boolean? = null
    var IsIdentifiedMajorEnvironmentalImpacts:Boolean? = null
    var IsUseWaterResources:Boolean? = null
    var IsConsumptionOfRawMaterials:Boolean? = null
    var IsEnergyConsumption:Boolean? = null
    var IsGreenhouseGasEmissions:Boolean? = null
    var IsAtmosphericEmissions:Boolean? = null
    var IsAqueousPollution:Boolean? = null
    var IsWasteGeneration:Boolean? = null
    var IsNaturalAreasPollution:Boolean? = null
    var IsPrivacyStatement:Boolean? = null
    var IsVeoliaSupplierCharter:Boolean? = null
    var IsVeoliaCoreStandards:Boolean? = null
}

open class ModifyRequestBase : IConcurrencyStamp
{
    var ConcurrencyStamp:String? = null
}

open class LegalRepresentativeDetails : ModifyLegalRepresentativeBase()
{
    var Id:Int? = null
}

open class ModifyLegalRepresentativeBase : ModifyRequestBase()
{
    var ProcurementId:Int? = null
    var Position:String? = null
    var Name:String? = null
    var Address:String? = null
    var BirthDate:Date? = null
    var Email:String? = null
}

Kotlin BrowseProcurement DTOs

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

HTTP + OTHER

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

GET /tender/{tenderid}/user/{userid}/procurement/{procurementid} HTTP/1.1 
Host: szallitoiportal-be.veolia.hu 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Procurement":{"Id":0,"SubmittedById":0,"SubmissionDateTime":"0001-01-01T00:00:00.0000000","IsSubmitted":false,"LegalRepresentatives":[{"Id":0,"ProcurementId":0,"Position":"String","Name":"String","Address":"String","BirthDate":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000","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"}}}