x360ce


Click here for a complete list of operations.

SetProgram

Save program settings.

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /webservices/x360ce.asmx HTTP/1.1
Host: www.x360ce.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://x360ce.com/SetProgram"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SetProgram xmlns="http://x360ce.com/">
      <p>
        <ProgramId>guid</ProgramId>
        <FileName>string</FileName>
        <FileProductName>string</FileProductName>
        <FileVersion>string</FileVersion>
        <ProcessorArchitecture>int</ProcessorArchitecture>
        <EmulationType>int</EmulationType>
        <AutoMapMask>int</AutoMapMask>
        <HookMask>int</HookMask>
        <XInputMask>int</XInputMask>
        <DInputMask>int</DInputMask>
        <DInputFile>string</DInputFile>
        <FakeVID>int</FakeVID>
        <FakePID>int</FakePID>
        <Timeout>int</Timeout>
        <Weight>int</Weight>
        <SettingChecksum>guid</SettingChecksum>
        <Comment>string</Comment>
        <IsEnabled>boolean</IsEnabled>
        <DateCreated>dateTime</DateCreated>
        <DateUpdated>dateTime</DateUpdated>
        <InstanceCount>int</InstanceCount>
        <XInputPath>string</XInputPath>
      </p>
    </SetProgram>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SetProgramResponse xmlns="http://x360ce.com/">
      <SetProgramResult>string</SetProgramResult>
    </SetProgramResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /webservices/x360ce.asmx HTTP/1.1
Host: www.x360ce.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SetProgram xmlns="http://x360ce.com/">
      <p>
        <ProgramId>guid</ProgramId>
        <FileName>string</FileName>
        <FileProductName>string</FileProductName>
        <FileVersion>string</FileVersion>
        <ProcessorArchitecture>int</ProcessorArchitecture>
        <EmulationType>int</EmulationType>
        <AutoMapMask>int</AutoMapMask>
        <HookMask>int</HookMask>
        <XInputMask>int</XInputMask>
        <DInputMask>int</DInputMask>
        <DInputFile>string</DInputFile>
        <FakeVID>int</FakeVID>
        <FakePID>int</FakePID>
        <Timeout>int</Timeout>
        <Weight>int</Weight>
        <SettingChecksum>guid</SettingChecksum>
        <Comment>string</Comment>
        <IsEnabled>boolean</IsEnabled>
        <DateCreated>dateTime</DateCreated>
        <DateUpdated>dateTime</DateUpdated>
        <InstanceCount>int</InstanceCount>
        <XInputPath>string</XInputPath>
      </p>
    </SetProgram>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SetProgramResponse xmlns="http://x360ce.com/">
      <SetProgramResult>string</SetProgramResult>
    </SetProgramResponse>
  </soap12:Body>
</soap12:Envelope>