Server

<back to all web services

UpdateOrder

Requires Authentication
The following routes are available for this service:
PUT/App/{UserId}/Order
UpdateOrder Parameters:
NameParameterData TypeRequiredDescription
OrderbodyOrderNo
Order Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
LastModifiedformDateTime?No
AbrechnungseinheitGuidformGuidNo
NumberformstringNo
LabelformstringNo
NoteformstringNo
IsSignatureRequiredformboolNo
CreatedDateformDateTimeNo
OrderStateformOrderStateNo
AppointmentsformIList<Appointment>No
OrderPositionsformIList<OrderPosition>No
NutzeinheitOrderStatesformIList<NutzeinheitOrderState>No
DeviceOrderStatesformIList<DeviceOrderState>No
OrdererformOrdererNo
SignaturesformIList<Signature>No
OrderState Parameters:
NameParameterData TypeRequiredDescription
LastModifiedformDateTime?No
KindsformIList<Nullable<OrderKind>>No
ProcessStateformProcessState?No
CompletedDateformDateTime?No
ProcessState Enum:
InProgress
Updating
Creating
Completed
Appointment Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
FromformDateTimeNo
ToformDateTimeNo
AppointmentStoreUsersformIList<AppointmentStoreUser>No
AppointmentNutzeinheitenformIList<AppointmentNutzeinheit>No
AppointmentStoreUser Parameters:
NameParameterData TypeRequiredDescription
StoreUserIdformGuidNo
AppointmentNutzeinheit Parameters:
NameParameterData TypeRequiredDescription
NutzeinheitGuidformGuidNo
OrderPosition Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
LastModifiedformDateTime?No
NoteformstringNo
RequiredQuantityformintNo
ActualQuantityformintNo
NutzeinheitOrderPositionsformIList<NutzeinheitOrderPosition>No
ArticleGuidformGuidNo
NutzeinheitOrderPosition Parameters:
NameParameterData TypeRequiredDescription
NutzeinheitGuidformGuidNo
NutzeinheitOrderState Parameters:
NameParameterData TypeRequiredDescription
NutzeinheitGuidformGuidNo
LastModifiedformDateTime?No
OrderKindsformIList<Nullable<NutzeinheitOrderKind>>No
ProcessStateformProcessState?No
CompletedDateformDateTime?No
OsVersionformstringNo
AppVersionformstringNo
OsPlatformformstringNo
AppDeviceNumberformstringNo
AmwInfoKeyGuidformGuid?No
DeviceOrderState Parameters:
NameParameterData TypeRequiredDescription
DeviceGuidformGuidNo
OrderGuidformGuidNo
OrderKindformDeviceOrderKind?No
ProcessStateformProcessState?No
CompletedDateformDateTime?No
AmwInfoformstringNo
DeviceOrderKind Enum:
AssemblyMontage
MaintenanceWartung
ExchangeEichaustausch
ReadingAblesung
InspectionPrüfung
MainReadingHauptablesung
Orderer Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
PersonformPersonNo
BusinessPositionformstringNo
Person Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
LastModifiedformDateTime?No
Lastname1formstringNo
Lastname2formstringNo
Lastname3formstringNo
Firstname1formstringNo
Firstname2formstringNo
NoteformstringNo
SalutationformstringNo
TitleformstringNo
PersonCommunicationsformIEnumerable<PersonCommunication>No
PersonCommunication Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
LastModifiedformDateTime?No
AddressformstringNo
NoteformstringNo
CommunicationFeatureGuidformGuidNo
Signature Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
RecordedDateformDateTime?No
KindformSignatureKind?No
NutzeinheitGuidformGuidNo
SignatureKind Enum:
Nutzer
Technician
UpdateOrderResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo

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

HTTP + XML

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

PUT /App/{UserId}/Order HTTP/1.1 
Host: mi-waerme-servamw.eras-online.de 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<UpdateOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eras2Amw.Service.Server.ServiceModel.Eras2App.Update">
  <UserId xmlns="http://schemas.datacontract.org/2004/07/Eras2Amw.Service.Server.ServiceModel.Eras2App">00000000-0000-0000-0000-000000000000</UserId>
  <Auftrag xmlns:d2p1="http://schemas.datacontract.org/2004/07/Eras2Amw.Service.Server.ServiceModel.Common">
    <d2p1:AbrechnungseinheitGuid>00000000-0000-0000-0000-000000000000</d2p1:AbrechnungseinheitGuid>
    <d2p1:Anmerkung>String</d2p1:Anmerkung>
    <d2p1:AuftragNummer>String</d2p1:AuftragNummer>
    <d2p1:AuftragZustand>
      <d2p1:AbgeschlossenDatum>0001-01-01T00:00:00</d2p1:AbgeschlossenDatum>
      <d2p1:AuftragArten xmlns:d4p1="http://schemas.datacontract.org/2004/07/System" i:nil="true" />
      <d2p1:Bearbeitungsstatus>InProgress</d2p1:Bearbeitungsstatus>
      <d2p1:LastModified>0001-01-01T00:00:00</d2p1:LastModified>
    </d2p1:AuftragZustand>
    <d2p1:Auftraggeber>
      <d2p1:BetrieblichePosition>String</d2p1:BetrieblichePosition>
      <d2p1:Guid>00000000-0000-0000-0000-000000000000</d2p1:Guid>
      <d2p1:Person>
        <d2p1:Anmerkung>String</d2p1:Anmerkung>
        <d2p1:Anrede>String</d2p1:Anrede>
        <d2p1:Guid>00000000-0000-0000-0000-000000000000</d2p1:Guid>
        <d2p1:LastModified>0001-01-01T00:00:00</d2p1:LastModified>
        <d2p1:Nachname1>String</d2p1:Nachname1>
        <d2p1:Nachname2>String</d2p1:Nachname2>
        <d2p1:Nachname3>String</d2p1:Nachname3>
        <d2p1:PersonKommunikationen i:nil="true" />
        <d2p1:Titel>String</d2p1:Titel>
        <d2p1:Vorname1>String</d2p1:Vorname1>
        <d2p1:Vorname2>String</d2p1:Vorname2>
      </d2p1:Person>
    </d2p1:Auftraggeber>
    <d2p1:AuftragsPositionen i:nil="true" />
    <d2p1:Bezeichnung>String</d2p1:Bezeichnung>
    <d2p1:Erstellungsdatum>0001-01-01T00:00:00</d2p1:Erstellungsdatum>
    <d2p1:GeraeteZustaende i:nil="true" />
    <d2p1:Guid>00000000-0000-0000-0000-000000000000</d2p1:Guid>
    <d2p1:LastModified>0001-01-01T00:00:00</d2p1:LastModified>
    <d2p1:NutzeinheitZustaende i:nil="true" />
    <d2p1:Termine i:nil="true" />
    <d2p1:UnterschriftBenoetigt>false</d2p1:UnterschriftBenoetigt>
    <d2p1:Unterschriften i:nil="true" />
  </Auftrag>
</UpdateOrder>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<UpdateOrderResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eras2Amw.Service.Server.ServiceModel.Eras2App.Update">
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
</UpdateOrderResponse>