Portal

<back to all web services

AddSupplier

Requires Authentication
Requires any of the roles:VeoliaAdmin, SupplierRegistration
The following routes are available for this service:
POST/supplier
AddSupplier Parameters:
NameParameterData TypeRequiredDescription
MainActivitiesbodyList<AddSupplierMainActivity>Yes
SupplierAddressesbodyList<AddSupplierSupplierAddress>Yes
SupplierBase Parameters:
NameParameterData TypeRequiredDescription
VatNumberformstringYes
EUTaxNumberformstringYes
GroupTaxNumberformstringYes
BusinessTypeformintNo
CountryIdformintNo
NameformstringYes
ShortNameformstringYes
RegistrationNumberformstringYes
EstablishedDateformDateTimeNo
RegistrationDateformDateTimeNo
DunsformstringYes
OperatingLicenseNumberformstringYes
IsAccountingformboolNo
IsSmallTaxPayerformboolNo
EmailformstringYes
PhoneNumberformstringYes
WebsiteformstringYes
ModifyRequestBase Parameters:
NameParameterData TypeRequiredDescription
ConcurrencyStampformstringYes
AddSupplierMainActivity Parameters:
NameParameterData TypeRequiredDescription
TeaorformstringYes
DescriptionformstringYes
AddSupplierSupplierAddress Parameters:
NameParameterData TypeRequiredDescription
CountryIdformintNo
AddressTypeformAddressTypeNo
ZipCodeformstringYes
CityformstringYes
AddressformstringYes
StreetAddressformstringYes
StreetTypeformstringYes
HouseNumberformstringYes
BuildingformstringYes
StaircaseformstringYes
FloorformstringYes
DoorformstringYes
POBformstringYes
OtherformstringYes
AddressType Enum:
NameValue
Postal0
HeadQuarters1
Site2
ModifyEntityResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusYes

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.

POST /supplier HTTP/1.1 
Host: szallitoiportal-be.veolia.hu 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"MainActivities":[{"Teaor":"String","Description":"String"}],"SupplierAddresses":[{"CountryId":0,"AddressType":0,"ZipCode":"String","City":"String","Address":"String","StreetAddress":"String","StreetType":"String","HouseNumber":"String","Building":"String","Staircase":"String","Floor":"String","Door":"String","POB":"String","Other":"String"}],"VatNumber":"String","EUTaxNumber":"String","GroupTaxNumber":"String","BusinessType":0,"CountryId":0,"Name":"String","ShortName":"String","RegistrationNumber":"String","EstablishedDate":"0001-01-01T00:00:00.0000000","RegistrationDate":"0001-01-01T00:00:00.0000000","Duns":"String","OperatingLicenseNumber":"String","IsAccounting":false,"IsSmallTaxPayer":false,"Email":"String","PhoneNumber":"String","Website":"String","ConcurrencyStamp":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
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"}}}