Portal

<back to all web services

AddProcurement

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

public class dtos
{

    public static class AddProcurement extends ModifyProcurementBase implements IPost
    {
        public Integer TenderId = null;
        public Integer UserId = null;
        public ArrayList<AddProcurementLegalRepresentative> LegalRepresentatives = null;
        
        public Integer getTenderId() { return TenderId; }
        public AddProcurement setTenderId(Integer value) { this.TenderId = value; return this; }
        public Integer getUserId() { return UserId; }
        public AddProcurement setUserId(Integer value) { this.UserId = value; return this; }
        public ArrayList<AddProcurementLegalRepresentative> getLegalRepresentatives() { return LegalRepresentatives; }
        public AddProcurement setLegalRepresentatives(ArrayList<AddProcurementLegalRepresentative> value) { this.LegalRepresentatives = value; return this; }
    }

    public static class ModifyProcurementBase extends ModifyRequestBase
    {
        public Boolean IsGroupMember = null;
        public String GroupName = null;
        public String GroupShortName = null;
        public Integer CountryId = null;
        public String VatNumber = null;
        public String RegistrationNumber = null;
        public String Duns = null;
        public String Address = null;
        public String MainActivity = null;
        public Date EstablishedDate = null;
        public Integer Workforce = null;
        public String Website = null;
        public String SalesManagerName = null;
        public String SalesManagerPhone = null;
        public String SalesManagerEmail = null;
        public String CsrManagerName = null;
        public String CsrManagerPhone = null;
        public String CsrManagerEmail = null;
        public Integer AccountCountryId = null;
        public String BankName = null;
        public String AccountNumber = null;
        public String Iban = null;
        public String Swift = null;
        public Integer CurrencyId = null;
        public Integer WorkForceN1 = null;
        public Integer WorkForceN2 = null;
        public Integer WorkForceN3 = null;
        public Long SubscribedCapital = null;
        public Integer SubscribedCapitalCurrencyId = null;
        public Long RevenueN1 = null;
        public Long RevenueN2 = null;
        public Long RevenueN3 = null;
        public Long NetProfitN1 = null;
        public Long NetProfitN2 = null;
        public Long NetProfitN3 = null;
        public Long EquityN1 = null;
        public Long EquityN2 = null;
        public Long EquityN3 = null;
        public Long LiabilityN1 = null;
        public Long LiabilityN2 = null;
        public Long LiabilityN3 = null;
        public Long OperatingResultN1 = null;
        public Long OperatingResultN2 = null;
        public Long OperatingResultN3 = null;
        public String DBFailureScore = null;
        public Boolean IsAuditedAccount = null;
        public String IsAuditedAccountComment = null;
        public Boolean IsLiquidationProceedings = null;
        public String IsLiquidationProceedingsComment = null;
        public BigDecimal VeoliaAnnualRevenuesProportion = null;
        public Boolean IsAntiCorruptionDocument = null;
        public Boolean IsCorruptionRiskMap = null;
        public Boolean IsThirdPartiesEvaluatingSystem = null;
        public Boolean IsInternalRules = null;
        public Boolean IsHumanRights = null;
        public Boolean IsAntiCorruptionTraining = null;
        public Boolean IsAntiCorruptionReportSystem = null;
        public Boolean IsIso9001 = null;
        public Boolean IsEcoVadisScorecard = null;
        public Integer EcoVadisTotalScore = null;
        public Boolean IsReduceEmployeeSafetyRisk = null;
        public Boolean IsPromoteSocialIntegration = null;
        public Boolean IsNondiscriminationPolicy = null;
        public Boolean IsIso14001 = null;
        public Boolean IsIdentifiedMajorEnvironmentalImpacts = null;
        public Boolean IsUseWaterResources = null;
        public Boolean IsConsumptionOfRawMaterials = null;
        public Boolean IsEnergyConsumption = null;
        public Boolean IsGreenhouseGasEmissions = null;
        public Boolean IsAtmosphericEmissions = null;
        public Boolean IsAqueousPollution = null;
        public Boolean IsWasteGeneration = null;
        public Boolean IsNaturalAreasPollution = null;
        public Boolean IsPrivacyStatement = null;
        public Boolean IsVeoliaSupplierCharter = null;
        public Boolean IsVeoliaCoreStandards = null;
        
        public Boolean getIsGroupMember() { return IsGroupMember; }
        public ModifyProcurementBase setIsGroupMember(Boolean value) { this.IsGroupMember = value; return this; }
        public String getGroupName() { return GroupName; }
        public ModifyProcurementBase setGroupName(String value) { this.GroupName = value; return this; }
        public String getGroupShortName() { return GroupShortName; }
        public ModifyProcurementBase setGroupShortName(String value) { this.GroupShortName = value; return this; }
        public Integer getCountryId() { return CountryId; }
        public ModifyProcurementBase setCountryId(Integer value) { this.CountryId = value; return this; }
        public String getVatNumber() { return VatNumber; }
        public ModifyProcurementBase setVatNumber(String value) { this.VatNumber = value; return this; }
        public String getRegistrationNumber() { return RegistrationNumber; }
        public ModifyProcurementBase setRegistrationNumber(String value) { this.RegistrationNumber = value; return this; }
        public String getDuns() { return Duns; }
        public ModifyProcurementBase setDuns(String value) { this.Duns = value; return this; }
        public String getAddress() { return Address; }
        public ModifyProcurementBase setAddress(String value) { this.Address = value; return this; }
        public String getMainActivity() { return MainActivity; }
        public ModifyProcurementBase setMainActivity(String value) { this.MainActivity = value; return this; }
        public Date getEstablishedDate() { return EstablishedDate; }
        public ModifyProcurementBase setEstablishedDate(Date value) { this.EstablishedDate = value; return this; }
        public Integer getWorkforce() { return Workforce; }
        public ModifyProcurementBase setWorkforce(Integer value) { this.Workforce = value; return this; }
        public String getWebsite() { return Website; }
        public ModifyProcurementBase setWebsite(String value) { this.Website = value; return this; }
        public String getSalesManagerName() { return SalesManagerName; }
        public ModifyProcurementBase setSalesManagerName(String value) { this.SalesManagerName = value; return this; }
        public String getSalesManagerPhone() { return SalesManagerPhone; }
        public ModifyProcurementBase setSalesManagerPhone(String value) { this.SalesManagerPhone = value; return this; }
        public String getSalesManagerEmail() { return SalesManagerEmail; }
        public ModifyProcurementBase setSalesManagerEmail(String value) { this.SalesManagerEmail = value; return this; }
        public String getCsrManagerName() { return CsrManagerName; }
        public ModifyProcurementBase setCsrManagerName(String value) { this.CsrManagerName = value; return this; }
        public String getCsrManagerPhone() { return CsrManagerPhone; }
        public ModifyProcurementBase setCsrManagerPhone(String value) { this.CsrManagerPhone = value; return this; }
        public String getCsrManagerEmail() { return CsrManagerEmail; }
        public ModifyProcurementBase setCsrManagerEmail(String value) { this.CsrManagerEmail = value; return this; }
        public Integer getAccountCountryId() { return AccountCountryId; }
        public ModifyProcurementBase setAccountCountryId(Integer value) { this.AccountCountryId = value; return this; }
        public String getBankName() { return BankName; }
        public ModifyProcurementBase setBankName(String value) { this.BankName = value; return this; }
        public String getAccountNumber() { return AccountNumber; }
        public ModifyProcurementBase setAccountNumber(String value) { this.AccountNumber = value; return this; }
        public String getIban() { return Iban; }
        public ModifyProcurementBase setIban(String value) { this.Iban = value; return this; }
        public String getSwift() { return Swift; }
        public ModifyProcurementBase setSwift(String value) { this.Swift = value; return this; }
        public Integer getCurrencyId() { return CurrencyId; }
        public ModifyProcurementBase setCurrencyId(Integer value) { this.CurrencyId = value; return this; }
        public Integer getWorkForceN1() { return WorkForceN1; }
        public ModifyProcurementBase setWorkForceN1(Integer value) { this.WorkForceN1 = value; return this; }
        public Integer getWorkForceN2() { return WorkForceN2; }
        public ModifyProcurementBase setWorkForceN2(Integer value) { this.WorkForceN2 = value; return this; }
        public Integer getWorkForceN3() { return WorkForceN3; }
        public ModifyProcurementBase setWorkForceN3(Integer value) { this.WorkForceN3 = value; return this; }
        public Long getSubscribedCapital() { return SubscribedCapital; }
        public ModifyProcurementBase setSubscribedCapital(Long value) { this.SubscribedCapital = value; return this; }
        public Integer getSubscribedCapitalCurrencyId() { return SubscribedCapitalCurrencyId; }
        public ModifyProcurementBase setSubscribedCapitalCurrencyId(Integer value) { this.SubscribedCapitalCurrencyId = value; return this; }
        public Long getRevenueN1() { return RevenueN1; }
        public ModifyProcurementBase setRevenueN1(Long value) { this.RevenueN1 = value; return this; }
        public Long getRevenueN2() { return RevenueN2; }
        public ModifyProcurementBase setRevenueN2(Long value) { this.RevenueN2 = value; return this; }
        public Long getRevenueN3() { return RevenueN3; }
        public ModifyProcurementBase setRevenueN3(Long value) { this.RevenueN3 = value; return this; }
        public Long getNetProfitN1() { return NetProfitN1; }
        public ModifyProcurementBase setNetProfitN1(Long value) { this.NetProfitN1 = value; return this; }
        public Long getNetProfitN2() { return NetProfitN2; }
        public ModifyProcurementBase setNetProfitN2(Long value) { this.NetProfitN2 = value; return this; }
        public Long getNetProfitN3() { return NetProfitN3; }
        public ModifyProcurementBase setNetProfitN3(Long value) { this.NetProfitN3 = value; return this; }
        public Long getEquityN1() { return EquityN1; }
        public ModifyProcurementBase setEquityN1(Long value) { this.EquityN1 = value; return this; }
        public Long getEquityN2() { return EquityN2; }
        public ModifyProcurementBase setEquityN2(Long value) { this.EquityN2 = value; return this; }
        public Long getEquityN3() { return EquityN3; }
        public ModifyProcurementBase setEquityN3(Long value) { this.EquityN3 = value; return this; }
        public Long getLiabilityN1() { return LiabilityN1; }
        public ModifyProcurementBase setLiabilityN1(Long value) { this.LiabilityN1 = value; return this; }
        public Long getLiabilityN2() { return LiabilityN2; }
        public ModifyProcurementBase setLiabilityN2(Long value) { this.LiabilityN2 = value; return this; }
        public Long getLiabilityN3() { return LiabilityN3; }
        public ModifyProcurementBase setLiabilityN3(Long value) { this.LiabilityN3 = value; return this; }
        public Long getOperatingResultN1() { return OperatingResultN1; }
        public ModifyProcurementBase setOperatingResultN1(Long value) { this.OperatingResultN1 = value; return this; }
        public Long getOperatingResultN2() { return OperatingResultN2; }
        public ModifyProcurementBase setOperatingResultN2(Long value) { this.OperatingResultN2 = value; return this; }
        public Long getOperatingResultN3() { return OperatingResultN3; }
        public ModifyProcurementBase setOperatingResultN3(Long value) { this.OperatingResultN3 = value; return this; }
        public String getDbFailureScore() { return DBFailureScore; }
        public ModifyProcurementBase setDbFailureScore(String value) { this.DBFailureScore = value; return this; }
        public Boolean getIsAuditedAccount() { return IsAuditedAccount; }
        public ModifyProcurementBase setIsAuditedAccount(Boolean value) { this.IsAuditedAccount = value; return this; }
        public String getIsAuditedAccountComment() { return IsAuditedAccountComment; }
        public ModifyProcurementBase setIsAuditedAccountComment(String value) { this.IsAuditedAccountComment = value; return this; }
        public Boolean getIsLiquidationProceedings() { return IsLiquidationProceedings; }
        public ModifyProcurementBase setIsLiquidationProceedings(Boolean value) { this.IsLiquidationProceedings = value; return this; }
        public String getIsLiquidationProceedingsComment() { return IsLiquidationProceedingsComment; }
        public ModifyProcurementBase setIsLiquidationProceedingsComment(String value) { this.IsLiquidationProceedingsComment = value; return this; }
        public BigDecimal getVeoliaAnnualRevenuesProportion() { return VeoliaAnnualRevenuesProportion; }
        public ModifyProcurementBase setVeoliaAnnualRevenuesProportion(BigDecimal value) { this.VeoliaAnnualRevenuesProportion = value; return this; }
        public Boolean getIsAntiCorruptionDocument() { return IsAntiCorruptionDocument; }
        public ModifyProcurementBase setIsAntiCorruptionDocument(Boolean value) { this.IsAntiCorruptionDocument = value; return this; }
        public Boolean getIsCorruptionRiskMap() { return IsCorruptionRiskMap; }
        public ModifyProcurementBase setIsCorruptionRiskMap(Boolean value) { this.IsCorruptionRiskMap = value; return this; }
        public Boolean getIsThirdPartiesEvaluatingSystem() { return IsThirdPartiesEvaluatingSystem; }
        public ModifyProcurementBase setIsThirdPartiesEvaluatingSystem(Boolean value) { this.IsThirdPartiesEvaluatingSystem = value; return this; }
        public Boolean getIsInternalRules() { return IsInternalRules; }
        public ModifyProcurementBase setIsInternalRules(Boolean value) { this.IsInternalRules = value; return this; }
        public Boolean getIsHumanRights() { return IsHumanRights; }
        public ModifyProcurementBase setIsHumanRights(Boolean value) { this.IsHumanRights = value; return this; }
        public Boolean getIsAntiCorruptionTraining() { return IsAntiCorruptionTraining; }
        public ModifyProcurementBase setIsAntiCorruptionTraining(Boolean value) { this.IsAntiCorruptionTraining = value; return this; }
        public Boolean getIsAntiCorruptionReportSystem() { return IsAntiCorruptionReportSystem; }
        public ModifyProcurementBase setIsAntiCorruptionReportSystem(Boolean value) { this.IsAntiCorruptionReportSystem = value; return this; }
        public Boolean getIsIso9001() { return IsIso9001; }
        public ModifyProcurementBase setIsIso9001(Boolean value) { this.IsIso9001 = value; return this; }
        public Boolean getIsEcoVadisScorecard() { return IsEcoVadisScorecard; }
        public ModifyProcurementBase setIsEcoVadisScorecard(Boolean value) { this.IsEcoVadisScorecard = value; return this; }
        public Integer getEcoVadisTotalScore() { return EcoVadisTotalScore; }
        public ModifyProcurementBase setEcoVadisTotalScore(Integer value) { this.EcoVadisTotalScore = value; return this; }
        public Boolean getIsReduceEmployeeSafetyRisk() { return IsReduceEmployeeSafetyRisk; }
        public ModifyProcurementBase setIsReduceEmployeeSafetyRisk(Boolean value) { this.IsReduceEmployeeSafetyRisk = value; return this; }
        public Boolean getIsPromoteSocialIntegration() { return IsPromoteSocialIntegration; }
        public ModifyProcurementBase setIsPromoteSocialIntegration(Boolean value) { this.IsPromoteSocialIntegration = value; return this; }
        public Boolean getIsNondiscriminationPolicy() { return IsNondiscriminationPolicy; }
        public ModifyProcurementBase setIsNondiscriminationPolicy(Boolean value) { this.IsNondiscriminationPolicy = value; return this; }
        public Boolean getIsIso14001() { return IsIso14001; }
        public ModifyProcurementBase setIsIso14001(Boolean value) { this.IsIso14001 = value; return this; }
        public Boolean getIsIdentifiedMajorEnvironmentalImpacts() { return IsIdentifiedMajorEnvironmentalImpacts; }
        public ModifyProcurementBase setIsIdentifiedMajorEnvironmentalImpacts(Boolean value) { this.IsIdentifiedMajorEnvironmentalImpacts = value; return this; }
        public Boolean getIsUseWaterResources() { return IsUseWaterResources; }
        public ModifyProcurementBase setIsUseWaterResources(Boolean value) { this.IsUseWaterResources = value; return this; }
        public Boolean getIsConsumptionOfRawMaterials() { return IsConsumptionOfRawMaterials; }
        public ModifyProcurementBase setIsConsumptionOfRawMaterials(Boolean value) { this.IsConsumptionOfRawMaterials = value; return this; }
        public Boolean getIsEnergyConsumption() { return IsEnergyConsumption; }
        public ModifyProcurementBase setIsEnergyConsumption(Boolean value) { this.IsEnergyConsumption = value; return this; }
        public Boolean getIsGreenhouseGasEmissions() { return IsGreenhouseGasEmissions; }
        public ModifyProcurementBase setIsGreenhouseGasEmissions(Boolean value) { this.IsGreenhouseGasEmissions = value; return this; }
        public Boolean getIsAtmosphericEmissions() { return IsAtmosphericEmissions; }
        public ModifyProcurementBase setIsAtmosphericEmissions(Boolean value) { this.IsAtmosphericEmissions = value; return this; }
        public Boolean getIsAqueousPollution() { return IsAqueousPollution; }
        public ModifyProcurementBase setIsAqueousPollution(Boolean value) { this.IsAqueousPollution = value; return this; }
        public Boolean getIsWasteGeneration() { return IsWasteGeneration; }
        public ModifyProcurementBase setIsWasteGeneration(Boolean value) { this.IsWasteGeneration = value; return this; }
        public Boolean getIsNaturalAreasPollution() { return IsNaturalAreasPollution; }
        public ModifyProcurementBase setIsNaturalAreasPollution(Boolean value) { this.IsNaturalAreasPollution = value; return this; }
        public Boolean getIsPrivacyStatement() { return IsPrivacyStatement; }
        public ModifyProcurementBase setIsPrivacyStatement(Boolean value) { this.IsPrivacyStatement = value; return this; }
        public Boolean getIsVeoliaSupplierCharter() { return IsVeoliaSupplierCharter; }
        public ModifyProcurementBase setIsVeoliaSupplierCharter(Boolean value) { this.IsVeoliaSupplierCharter = value; return this; }
        public Boolean getIsVeoliaCoreStandards() { return IsVeoliaCoreStandards; }
        public ModifyProcurementBase setIsVeoliaCoreStandards(Boolean value) { this.IsVeoliaCoreStandards = value; return this; }
    }

    public static class ModifyRequestBase implements IConcurrencyStamp
    {
        public String ConcurrencyStamp = null;
        
        public String getConcurrencyStamp() { return ConcurrencyStamp; }
        public ModifyRequestBase setConcurrencyStamp(String value) { this.ConcurrencyStamp = value; return this; }
    }

    public static class AddProcurementLegalRepresentative
    {
        public String Position = null;
        public String Name = null;
        public String Address = null;
        public Date BirthDate = null;
        public String Email = null;
        
        public String getPosition() { return Position; }
        public AddProcurementLegalRepresentative setPosition(String value) { this.Position = value; return this; }
        public String getName() { return Name; }
        public AddProcurementLegalRepresentative setName(String value) { this.Name = value; return this; }
        public String getAddress() { return Address; }
        public AddProcurementLegalRepresentative setAddress(String value) { this.Address = value; return this; }
        public Date getBirthDate() { return BirthDate; }
        public AddProcurementLegalRepresentative setBirthDate(Date value) { this.BirthDate = value; return this; }
        public String getEmail() { return Email; }
        public AddProcurementLegalRepresentative setEmail(String value) { this.Email = value; return this; }
    }

    public static class ModifyEntityResponse extends ResponseBase
    {
        public Integer Id = null;
        
        public Integer getId() { return Id; }
        public ModifyEntityResponse setId(Integer value) { this.Id = value; return this; }
    }

    public static class ResponseBase
    {
        public ResponseStatus ResponseStatus = null;
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public ResponseBase setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
    }

}

Java AddProcurement DTOs

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

HTTP + CSV

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

POST /tender/{tenderid}/user/{userid}/procurement HTTP/1.1 
Host: szallitoiportal-be.veolia.hu 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"TenderId":0,"UserId":0,"LegalRepresentatives":[{"Position":"String","Name":"String","Address":"String","BirthDate":"0001-01-01T00:00:00.0000000","Email":"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"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Id":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}