Portal

<back to all web services

EditSupplierAddress

The following routes are available for this service:
PUT/supplier/{supplierid}/address/{supplieraddressid}
EditSupplierAddress Parameters:
NameParameterData TypeRequiredDescription
SupplierAddressIdpathintNo
SupplierIdpathintNo
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
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 .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.

PUT /supplier/{supplierid}/address/{supplieraddressid} HTTP/1.1 
Host: szallitoiportal-be.veolia.hu 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	SupplierAddressId: 0,
	SupplierId: 0,
	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
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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
		}
	}
}