Hello Web Services

<back to all web services

CommandResponse

The following routes are available for this service:
POST/api/integration/{ServerId}/{CommandId}

To override the Content-type in your clients 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.

POST /xml/oneway/CommandResponse HTTP/1.1 
Host: dinumero.modernekonomi.se 
Content-Type: application/xml
Content-Length: length

<CommandResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dinumero.Dto.SupplierInvoice.Integration">
  <AccountResponse i:nil="true" />
  <CommandId>String</CommandId>
  <Exception xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL i:nil="true" xmlns="" />
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">-2146233088</HResult>
    <Source i:nil="true" xmlns="" />
    <WatsonBuckets i:nil="true" xmlns="" />
  </Exception>
  <ExportResult>
    <AllExported>false</AllExported>
    <CurrentInvoiceDuringError>
      <Attesterad>String</Attesterad>
      <BokforingsDatum>0001-01-01T00:00:00</BokforingsDatum>
      <EjBetalFil>false</EjBetalFil>
      <ExportId>0</ExportId>
      <FakturaDatum>0001-01-01T00:00:00</FakturaDatum>
      <FakturaNr>String</FakturaNr>
      <ForfalloDatum>0001-01-01T00:00:00</ForfalloDatum>
      <Id>0</Id>
      <Kapital>
        <KapitalInkl>0</KapitalInkl>
        <Kurs>0</Kurs>
        <Moms>0</Moms>
        <ValutaKod>String</ValutaKod>
      </Kapital>
      <KonteringsRader i:nil="true" />
      <KostnadsDebitering>0</KostnadsDebitering>
      <LevSokId>String</LevSokId>
      <LopNr>0</LopNr>
      <OcrNr>String</OcrNr>
    </CurrentInvoiceDuringError>
    <Exception xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
      <Message i:nil="true" xmlns="" />
      <Data i:nil="true" xmlns="" />
      <InnerException i:nil="true" xmlns="" />
      <HelpURL i:nil="true" xmlns="" />
      <StackTraceString i:nil="true" xmlns="" />
      <RemoteStackTraceString i:nil="true" xmlns="" />
      <RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
      <ExceptionMethod i:nil="true" xmlns="" />
      <HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">-2146233088</HResult>
      <Source i:nil="true" xmlns="" />
      <WatsonBuckets i:nil="true" xmlns="" />
    </Exception>
    <ExportedInvoices i:nil="true" />
  </ExportResult>
  <ServerId>String</ServerId>
  <SupplierResponse i:nil="true" />
</CommandResponse>