Server

<back to all web services

UpdateStammdaten

Requires Authentication
The following routes are available for this service:
POST/Stammdaten
UpdateStammdaten Parameters:
NameParameterData TypeRequiredDescription
StammdatenInfobodyStammdatenInfoNo
DeviceCatalogbodyIList<DeviceCatalog>No
ManufacturersbodyIList<Manufacturer>No
DeviceKindsbodyIList<DeviceKind>No
ArticlesbodyIList<Article>No
CommunicationFeaturesbodyIList<CommunicationFeature>No
ReadingKindsbodyIList<ReadingKind>No
AmwInfoKeysbodyIList<AmwInfoKey>No
AdditionalArticlesbodyIList<AdditionalArticle>No
RoomsbodyIList<Room>No
StammdatenInfo Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
VersionformstringNo
NoteformstringNo
DeviceCatalog Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
ArticleNameformstringNo
ArticleNumberformstringNo
ArticleDescriptionformstringNo
ArticleNumberManufacturerformstringNo
LabelformstringNo
SubtractionformboolNo
HkvvformboolNo
RadioformboolNo
OrderCodeformstringNo
InstallationLengthformstringNo
ConnectorformstringNo
DiameterformstringNo
SontexRadioIdentifierformstringNo
SontexHkvIdentifierformstringNo
NoteformstringNo
DeviceKindGuidformGuidNo
ManufacturerGuidformGuidNo
Manufacturer Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
NameformstringNo
NoteformstringNo
DeviceKind Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
LabelLongformstringNo
LabelShortformstringNo
ReadableformboolNo
ClassformDeviceClass?No
Limitformdecimal?No
DeviceClass Enum:
HKV
WWZ
KWZ
WZ
WMZ
KMZ
RM
SZ
FM
Sonstige
Null
ENT
Article Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
NumberformstringNo
LabelformstringNo
NoteformstringNo
CommunicationFeature Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
FeatureformstringNo
KindformCommunicationKind?No
IsPresetformboolNo
NoteformstringNo
CommunicationKind Enum:
NameValue
Telefon1
Mobil2
Fax3
EMail4
Web5
ReadingKind Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
LabelShortformstringNo
LabelLongformstringNo
AmwInfoKey Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
KeyformintNo
InfoformstringNo
AdditionalArticle Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
NumberformstringNo
LabelformstringNo
NoteformstringNo
Room Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
LabelShortformstringNo
LabelformstringNo
UpdateStammdatenResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo

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.

POST /Stammdaten HTTP/1.1 
Host: mitchell-servamw.eras-online.de 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	StammdatenInfo: 
	{
		Guid: 00000000000000000000000000000000,
		Version: String,
		Anmerkung: String
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}