Torpedão - API

Documentação, informativos, guias de utilização

ItemTypeGetByCommunity

Lista todos os tipos de itens suportados pela comunidade.

URL De Acesso

http://ws.torpedao.com.br/client/WsClient.asmx/ItemTypeGetByCommunity

Métodos De Acesso

GET, POST, SOAP

Parâmetros

Resposta

XML De Resposta

<DataResponse   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   xmlns:xsd="http://www.w3.org/2001/XMLSchema"   xmlns="http://tempuri.org/">
    <Status>1</Status>
    <StatusDescription>Success</StatusDescription>
    <Count>5</Count>
    <Result>
        <xs:schema   id="NewDataSet"   xmlns=""   xmlns:xs="http://www.w3.org/2001/XMLSchema"   xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
            <xs:element   name="NewDataSet"   msdata:IsDataSet="true"   msdata:MainDataTable="TbItemType"   msdata:UseCurrentLocale="true">
                <xs:complexType>
                    <xs:choice   minOccurs="0"   maxOccurs="unbounded">
                        <xs:element   name="TbItemType">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element   name="IdItemType"   type="xs:unsignedByte"   minOccurs="0" />
                                    <xs:element   name="Name"   type="xs:string"   minOccurs="0" />
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                    </xs:choice>
                </xs:complexType>
            </xs:element>
        </xs:schema>
        <diffgr:diffgram   xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"   xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
            <DocumentElement   xmlns="">
                <TbItemType   diffgr:id="TbItemType1"   msdata:rowOrder="0"   diffgr:hasChanges="inserted">
                    <IdItemType>3</IdItemType>
                    <Name>Descanso de Tela Colorido</Name>
                </TbItemType>
                <TbItemType   diffgr:id="TbItemType2"   msdata:rowOrder="1"   diffgr:hasChanges="inserted">
                    <IdItemType>4</IdItemType>
                    <Name>Papel de Parede Colorido</Name>
                </TbItemType>
                <TbItemType   diffgr:id="TbItemType3"   msdata:rowOrder="2"   diffgr:hasChanges="inserted">
                    <IdItemType>14</IdItemType>
                    <Name>RingTone Polifonico</Name>
                </TbItemType>
                <TbItemType   diffgr:id="TbItemType4"   msdata:rowOrder="3"   diffgr:hasChanges="inserted">
                    <IdItemType>20</IdItemType>
                    <Name>Jogos J2ME</Name>
                </TbItemType>
                <TbItemType   diffgr:id="TbItemType5"   msdata:rowOrder="4"   diffgr:hasChanges="inserted">
                    <IdItemType>22</IdItemType>
                    <Name>Video</Name>
                </TbItemType>
            </DocumentElement>
        </diffgr:diffgram>
    </Result>
</DataResponse>

 

Exemplo De GET/POST
 
http://ws.torpedao.com.br/client/WsClient.asmx/ItemTypeGetByCommunity?idCommunity=1&userGUID=trp_459B737D-3E91-48B9-C56S-516BAD6C2274

Metodos