Portal

<back to all web services

BrowseSupplierAddress

The following routes are available for this service:
GET/supplier/{supplierid}/address/{supplieraddressid}
BrowseSupplierAddress Parameters:
NameParameterData TypeRequiredDescription
SupplierIdpathintNo
SupplierAddressIdpathintNo
BrowseSupplierAddressResponse Parameters:
NameParameterData TypeRequiredDescription
SupplierAddressformSupplierAddressSimpleYes
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusYes
SupplierAddressSimple Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
CountryCodeformstringYes
CountryNameformstringYes
SupplierAddressBase Parameters:
NameParameterData TypeRequiredDescription
CountryIdformintNo
AddressTypeformAddressTypeNo
ZipCodeformstringYes
CityformstringYes
AddressformstringYes
StreetAddressformstringYes
StreetTypeformstringYes
HouseNumberformstringYes
BuildingformstringYes
StaircaseformstringYes
FloorformstringYes
DoorformstringYes
POBformstringYes
OtherformstringYes
ModifyRequestBase Parameters:
NameParameterData TypeRequiredDescription
ConcurrencyStampformstringYes
AddressType Enum:
NameValue
Postal0
HeadQuarters1
Site2

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

{
	SupplierAddress: 
	{
		Id: 0,
		CountryCode: String,
		CountryName: String,
		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,
		ConcurrencyStamp: String
	},
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}