Entropia Life API


Click here for a complete list of operations.

GetWeapons

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
DevID:
DevKey:
SearchWord:

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 /api/weapons.asmx HTTP/1.1
Host: entropialife.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "ELAPI/GetWeapons"

<?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>
    <GetWeapons xmlns="ELAPI">
      <DevID>int</DevID>
      <DevKey>string</DevKey>
      <SearchWord>string</SearchWord>
    </GetWeapons>
  </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>
    <GetWeaponsResponse xmlns="ELAPI">
      <GetWeaponsResult>
        <Weapon>
          <WeaponID>int</WeaponID>
          <WeaponName>string</WeaponName>
          <Description>
            <Description>string</Description>
            <ItemPictureURL>string</ItemPictureURL>
          </Description>
          <DamageTypes>
            <DamageType xsi:nil="true" />
            <DamageType xsi:nil="true" />
          </DamageTypes>
          <MinHitLevel>decimal</MinHitLevel>
          <MaxHitLevel>decimal</MaxHitLevel>
          <MinDmgLevel>decimal</MinDmgLevel>
          <MaxDmgLevel>decimal</MaxDmgLevel>
          <Weight>decimal</Weight>
          <Range>decimal</Range>
          <ImpactRadius>decimal</ImpactRadius>
          <AttacksMin>decimal</AttacksMin>
          <Decay>decimal</Decay>
          <AmmoBurn>int</AmmoBurn>
          <TTValue>decimal</TTValue>
          <MinTTValue>decimal</MinTTValue>
          <TotalUses>int</TotalUses>
          <SIBWeapon>boolean</SIBWeapon>
          <HitProfession>
            <ProfessionID>int</ProfessionID>
            <ProfessionName>string</ProfessionName>
          </HitProfession>
          <DmgProfession>
            <ProfessionID>int</ProfessionID>
            <ProfessionName>string</ProfessionName>
          </DmgProfession>
          <ItemID>int</ItemID>
        </Weapon>
        <Weapon>
          <WeaponID>int</WeaponID>
          <WeaponName>string</WeaponName>
          <Description>
            <Description>string</Description>
            <ItemPictureURL>string</ItemPictureURL>
          </Description>
          <DamageTypes>
            <DamageType xsi:nil="true" />
            <DamageType xsi:nil="true" />
          </DamageTypes>
          <MinHitLevel>decimal</MinHitLevel>
          <MaxHitLevel>decimal</MaxHitLevel>
          <MinDmgLevel>decimal</MinDmgLevel>
          <MaxDmgLevel>decimal</MaxDmgLevel>
          <Weight>decimal</Weight>
          <Range>decimal</Range>
          <ImpactRadius>decimal</ImpactRadius>
          <AttacksMin>decimal</AttacksMin>
          <Decay>decimal</Decay>
          <AmmoBurn>int</AmmoBurn>
          <TTValue>decimal</TTValue>
          <MinTTValue>decimal</MinTTValue>
          <TotalUses>int</TotalUses>
          <SIBWeapon>boolean</SIBWeapon>
          <HitProfession>
            <ProfessionID>int</ProfessionID>
            <ProfessionName>string</ProfessionName>
          </HitProfession>
          <DmgProfession>
            <ProfessionID>int</ProfessionID>
            <ProfessionName>string</ProfessionName>
          </DmgProfession>
          <ItemID>int</ItemID>
        </Weapon>
      </GetWeaponsResult>
    </GetWeaponsResponse>
  </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 /api/weapons.asmx HTTP/1.1
Host: entropialife.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>
    <GetWeapons xmlns="ELAPI">
      <DevID>int</DevID>
      <DevKey>string</DevKey>
      <SearchWord>string</SearchWord>
    </GetWeapons>
  </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>
    <GetWeaponsResponse xmlns="ELAPI">
      <GetWeaponsResult>
        <Weapon>
          <WeaponID>int</WeaponID>
          <WeaponName>string</WeaponName>
          <Description>
            <Description>string</Description>
            <ItemPictureURL>string</ItemPictureURL>
          </Description>
          <DamageTypes>
            <DamageType xsi:nil="true" />
            <DamageType xsi:nil="true" />
          </DamageTypes>
          <MinHitLevel>decimal</MinHitLevel>
          <MaxHitLevel>decimal</MaxHitLevel>
          <MinDmgLevel>decimal</MinDmgLevel>
          <MaxDmgLevel>decimal</MaxDmgLevel>
          <Weight>decimal</Weight>
          <Range>decimal</Range>
          <ImpactRadius>decimal</ImpactRadius>
          <AttacksMin>decimal</AttacksMin>
          <Decay>decimal</Decay>
          <AmmoBurn>int</AmmoBurn>
          <TTValue>decimal</TTValue>
          <MinTTValue>decimal</MinTTValue>
          <TotalUses>int</TotalUses>
          <SIBWeapon>boolean</SIBWeapon>
          <HitProfession>
            <ProfessionID>int</ProfessionID>
            <ProfessionName>string</ProfessionName>
          </HitProfession>
          <DmgProfession>
            <ProfessionID>int</ProfessionID>
            <ProfessionName>string</ProfessionName>
          </DmgProfession>
          <ItemID>int</ItemID>
        </Weapon>
        <Weapon>
          <WeaponID>int</WeaponID>
          <WeaponName>string</WeaponName>
          <Description>
            <Description>string</Description>
            <ItemPictureURL>string</ItemPictureURL>
          </Description>
          <DamageTypes>
            <DamageType xsi:nil="true" />
            <DamageType xsi:nil="true" />
          </DamageTypes>
          <MinHitLevel>decimal</MinHitLevel>
          <MaxHitLevel>decimal</MaxHitLevel>
          <MinDmgLevel>decimal</MinDmgLevel>
          <MaxDmgLevel>decimal</MaxDmgLevel>
          <Weight>decimal</Weight>
          <Range>decimal</Range>
          <ImpactRadius>decimal</ImpactRadius>
          <AttacksMin>decimal</AttacksMin>
          <Decay>decimal</Decay>
          <AmmoBurn>int</AmmoBurn>
          <TTValue>decimal</TTValue>
          <MinTTValue>decimal</MinTTValue>
          <TotalUses>int</TotalUses>
          <SIBWeapon>boolean</SIBWeapon>
          <HitProfession>
            <ProfessionID>int</ProfessionID>
            <ProfessionName>string</ProfessionName>
          </HitProfession>
          <DmgProfession>
            <ProfessionID>int</ProfessionID>
            <ProfessionName>string</ProfessionName>
          </DmgProfession>
          <ItemID>int</ItemID>
        </Weapon>
      </GetWeaponsResult>
    </GetWeaponsResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

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

GET /api/weapons.asmx/GetWeapons?DevID=string&DevKey=string&SearchWord=string HTTP/1.1
Host: entropialife.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfWeapon xmlns="ELAPI">
  <Weapon>
    <WeaponID>int</WeaponID>
    <WeaponName>string</WeaponName>
    <Description>
      <Description>string</Description>
      <ItemPictureURL>string</ItemPictureURL>
    </Description>
    <DamageTypes>
      <DamageType>
        <Damage>decimal</Damage>
        <DamageTypeName>string</DamageTypeName>
      </DamageType>
      <DamageType>
        <Damage>decimal</Damage>
        <DamageTypeName>string</DamageTypeName>
      </DamageType>
    </DamageTypes>
    <MinHitLevel>decimal</MinHitLevel>
    <MaxHitLevel>decimal</MaxHitLevel>
    <MinDmgLevel>decimal</MinDmgLevel>
    <MaxDmgLevel>decimal</MaxDmgLevel>
    <Weight>decimal</Weight>
    <Range>decimal</Range>
    <ImpactRadius>decimal</ImpactRadius>
    <AttacksMin>decimal</AttacksMin>
    <Decay>decimal</Decay>
    <AmmoBurn>int</AmmoBurn>
    <TTValue>decimal</TTValue>
    <MinTTValue>decimal</MinTTValue>
    <TotalUses>int</TotalUses>
    <SIBWeapon>boolean</SIBWeapon>
    <HitProfession>
      <ProfessionID>int</ProfessionID>
      <ProfessionName>string</ProfessionName>
    </HitProfession>
    <DmgProfession>
      <ProfessionID>int</ProfessionID>
      <ProfessionName>string</ProfessionName>
    </DmgProfession>
    <ItemID>int</ItemID>
  </Weapon>
  <Weapon>
    <WeaponID>int</WeaponID>
    <WeaponName>string</WeaponName>
    <Description>
      <Description>string</Description>
      <ItemPictureURL>string</ItemPictureURL>
    </Description>
    <DamageTypes>
      <DamageType>
        <Damage>decimal</Damage>
        <DamageTypeName>string</DamageTypeName>
      </DamageType>
      <DamageType>
        <Damage>decimal</Damage>
        <DamageTypeName>string</DamageTypeName>
      </DamageType>
    </DamageTypes>
    <MinHitLevel>decimal</MinHitLevel>
    <MaxHitLevel>decimal</MaxHitLevel>
    <MinDmgLevel>decimal</MinDmgLevel>
    <MaxDmgLevel>decimal</MaxDmgLevel>
    <Weight>decimal</Weight>
    <Range>decimal</Range>
    <ImpactRadius>decimal</ImpactRadius>
    <AttacksMin>decimal</AttacksMin>
    <Decay>decimal</Decay>
    <AmmoBurn>int</AmmoBurn>
    <TTValue>decimal</TTValue>
    <MinTTValue>decimal</MinTTValue>
    <TotalUses>int</TotalUses>
    <SIBWeapon>boolean</SIBWeapon>
    <HitProfession>
      <ProfessionID>int</ProfessionID>
      <ProfessionName>string</ProfessionName>
    </HitProfession>
    <DmgProfession>
      <ProfessionID>int</ProfessionID>
      <ProfessionName>string</ProfessionName>
    </DmgProfession>
    <ItemID>int</ItemID>
  </Weapon>
</ArrayOfWeapon>

HTTP POST

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

POST /api/weapons.asmx/GetWeapons HTTP/1.1
Host: entropialife.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

DevID=string&DevKey=string&SearchWord=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfWeapon xmlns="ELAPI">
  <Weapon>
    <WeaponID>int</WeaponID>
    <WeaponName>string</WeaponName>
    <Description>
      <Description>string</Description>
      <ItemPictureURL>string</ItemPictureURL>
    </Description>
    <DamageTypes>
      <DamageType>
        <Damage>decimal</Damage>
        <DamageTypeName>string</DamageTypeName>
      </DamageType>
      <DamageType>
        <Damage>decimal</Damage>
        <DamageTypeName>string</DamageTypeName>
      </DamageType>
    </DamageTypes>
    <MinHitLevel>decimal</MinHitLevel>
    <MaxHitLevel>decimal</MaxHitLevel>
    <MinDmgLevel>decimal</MinDmgLevel>
    <MaxDmgLevel>decimal</MaxDmgLevel>
    <Weight>decimal</Weight>
    <Range>decimal</Range>
    <ImpactRadius>decimal</ImpactRadius>
    <AttacksMin>decimal</AttacksMin>
    <Decay>decimal</Decay>
    <AmmoBurn>int</AmmoBurn>
    <TTValue>decimal</TTValue>
    <MinTTValue>decimal</MinTTValue>
    <TotalUses>int</TotalUses>
    <SIBWeapon>boolean</SIBWeapon>
    <HitProfession>
      <ProfessionID>int</ProfessionID>
      <ProfessionName>string</ProfessionName>
    </HitProfession>
    <DmgProfession>
      <ProfessionID>int</ProfessionID>
      <ProfessionName>string</ProfessionName>
    </DmgProfession>
    <ItemID>int</ItemID>
  </Weapon>
  <Weapon>
    <WeaponID>int</WeaponID>
    <WeaponName>string</WeaponName>
    <Description>
      <Description>string</Description>
      <ItemPictureURL>string</ItemPictureURL>
    </Description>
    <DamageTypes>
      <DamageType>
        <Damage>decimal</Damage>
        <DamageTypeName>string</DamageTypeName>
      </DamageType>
      <DamageType>
        <Damage>decimal</Damage>
        <DamageTypeName>string</DamageTypeName>
      </DamageType>
    </DamageTypes>
    <MinHitLevel>decimal</MinHitLevel>
    <MaxHitLevel>decimal</MaxHitLevel>
    <MinDmgLevel>decimal</MinDmgLevel>
    <MaxDmgLevel>decimal</MaxDmgLevel>
    <Weight>decimal</Weight>
    <Range>decimal</Range>
    <ImpactRadius>decimal</ImpactRadius>
    <AttacksMin>decimal</AttacksMin>
    <Decay>decimal</Decay>
    <AmmoBurn>int</AmmoBurn>
    <TTValue>decimal</TTValue>
    <MinTTValue>decimal</MinTTValue>
    <TotalUses>int</TotalUses>
    <SIBWeapon>boolean</SIBWeapon>
    <HitProfession>
      <ProfessionID>int</ProfessionID>
      <ProfessionName>string</ProfessionName>
    </HitProfession>
    <DmgProfession>
      <ProfessionID>int</ProfessionID>
      <ProfessionName>string</ProfessionName>
    </DmgProfession>
    <ItemID>int</ItemID>
  </Weapon>
</ArrayOfWeapon>