The GetCustomTagNameList function is used to get a list of custom tags.

This function requires a login token, which is obtained using the Login function.

Return values

The response is of the type Soap_Response_List_CustomTagType, with result_array of type ArrayOfSoap_CustomTagType.

Example request

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="https://license.x-formation.com/soap/type/vendor/version/1">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:GetCustomTagNameList soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <token xsi:type="xsd:string">f3dd32af35da1c79f9ff2ed9b32350ab10bf132c</token>
      </ns:GetCustomTagNameList>
   </soapenv:Body>
</soapenv:Envelope>

Example response

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:ns1="https://license.x-formation.com/soap/type/vendor/version/1" 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <SOAP-ENV:Body>
      <ns1:GetCustomTagNameListResponse>
         <return xsi:type="ns1:Soap_Response_List_CustomTagType">
            <result_array SOAP-ENC:arrayType="ns1:Soap_CustomTagType[1]" xsi:type="ns1:ArrayOfSoap_CustomTagType">
               <item xsi:type="ns1:Soap_CustomTagType">
                  <name xsi:type="xsd:string">Customer</name>
                  <CustomTags SOAP-ENC:arrayType="ns1:Soap_CustomTag[2]" xsi:type="ns1:ArrayOfSoap_CustomTag">
                     <item xsi:type="ns1:Soap_CustomTag">
                        <name xsi:type="xsd:string">some_custom_tag</name>
                        <value xsi:nil="true"/>
                        <creation_time xsi:nil="true"/>
                        <update_time xsi:nil="true"/>
                     </item>
                     <item xsi:type="ns1:Soap_CustomTag">
                        <name xsi:type="xsd:string">vat_number</name>
                        <value xsi:nil="true"/>
                        <creation_time xsi:nil="true"/>
                        <update_time xsi:nil="true"/>
                     </item>
                  </CustomTags>
               </item>
            </result_array>
            <result_code xsi:type="xsd:int">0</result_code>
            <result_string xsi:nil="true"/>
         </return>
      </ns1:GetCustomTagNameListResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
  • No labels