Aspect toevoegen/wijzigen

<< Click to Display Table of Contents >>

Navigation:  API aanroepen >

Aspect toevoegen/wijzigen

Aanroep

Naam: UpdateAspect

 

Aanroep structuur

<?xml version="1.0" encoding="utf-8"?>

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP-ENV:Header/>

<S:Body>

  <ns2:UpdateAspect xmlns:ns2="api.timewriter.nl">

    <securityToken></securityToken>

    <aspect>

      <id></id>

      <aspectType></aspectType>

      <name></name>

      <category></category>

      <abbreviation></abbreviation>

      <loginName></loginName>

      <password></password>

      <overhead></overhead>

      <validFrom></validFrom>

      <validTo></validTo>

      <notForAccess></notForAccess>

      <notForAuthorizations></notForAuthorizations>

      <notForCombinations></notForCombinations>

      <notForTariffAgreements></notForTariffAgreements>

      <notForBudgets></notForBudgets>

      <notForProgramModules></notForProgramModules>

      <taskData>

        <no></no>

        <groupId></groupId>

        <description></description>

        <closed></closed>

        <budget></budget>

        <invoiceable></invoiceable>

        <useInvoicing></useInvoicing>

        <invoiceType></invoiceType>

        <price></price>

        <recurringPattern>

          <start></start>

          <end></end>

          <type></type>

          <frequency></frequency>

        </recurringPattern>

        <id_GR_MED></id_GR_MED>

        <id_IT_AT1></id_IT_AT1>

        <id_IT_AT2></id_IT_AT2>

        <id_IT_AT3></id_IT_AT3>

        <id_IT_AT4></id_IT_AT4>

        <id_IT_AT5></id_IT_AT5>

      </taskData>

      <invoiceData>

        <address></address>

        <postalCode></postalCode>

        <city></city>

        <countryCode></countryCode>

        <contact></contact>

        <email></email>

        <debtorId></debtorId>

        <reference></reference>

        <debtorLedgerAccountCode></debtorLedgerAccountCode>

        <turnoverLedgerAccountCode></turnoverLedgerAccountCode>

      </invoiceData>

      <userFieldList>

        <userField>

          <key></key>

          <value></value>

        </userField>

         ...

      </userFieldList>

    </aspect>

  </ns2:UpdateAspect>

</S:Body>

</S:Envelope>

 

Verklaring

Tag/veldnaam

Type

Opmerkingen/beperkingen

Omschrijving

securityToken

string

verplicht

securityToken verkregen bij login

aspect

Aspect

verplicht

zie Aspect

 

Voorbeelden

hmtoggle_arrow1Aspect toevoegen
hmtoggle_arrow1Aspect wijzigen

 

Antwoord

Naam: UpdateAspectResponse

 

Antwoord structuur

<?xml version="1.0" encoding="utf-8"?>

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP-ENV:Header/>

<S:Body>

  <ns2:UpdateAspectResponse xmlns:ns2="api.timewriter.nl">

    <result>

      <error></error>

      <errorMessage></errorMessage>

      <aspect>

        <id></id>

        <aspectType></aspectType>

        <name></name>

        <category></category>

        <abbreviation></abbreviation>

        <loginName></loginName>

        <overhead></overhead>

        <validFrom></validFrom>

        <validTo></validTo>

        <notForAccess></notForAccess>

        <notForAuthorizations></notForAuthorizations>

        <notForCombinations></notForCombinations>

        <notForTariffAgreements></notForTariffAgreements>

        <notForBudgets></notForBudgets>

        <notForProgramModules></notForProgramModules>

        <taskData>

          <no></no>

          <groupId></groupId>

          <description></description>

          <closed></closed>

          <budget></budget>

          <invoiceable></invoiceable>

          <useInvoicing></useInvoicing>

          <invoiceType></invoiceType>

          <price></price>

          <recurringPattern>

            <start></start>

            <end></end>

            <type></type>

            <frequency></frequency>

          </recurringPattern>

          <id_GR_MED></id_GR_MED>

          <id_IT_AT1></id_IT_AT1>

          <id_IT_AT2></id_IT_AT2>

          <id_IT_AT3></id_IT_AT3>

          <id_IT_AT4></id_IT_AT4>

          <id_IT_AT5></id_IT_AT5>

        </taskData>

        <invoiceData>

          <address></address>

          <postalCode></postalCode>

          <city></city>

          <contact></contact>

          <email></email>

          <debtorId></debtorId>

          <reference></reference>

          <debtorLedgerAccountCode></debtorLedgerAccountCode>

          <turnoverLedgerAccountCode></turnoverLedgerAccountCode>

        </invoiceData>

        <userFieldList>

          <userField>

            <key></key>

            <value></value>

          </userField>

           ...

        </userFieldList>

      </aspect>

    </result>

  </ns2:UpdateAspectResponse>

</S:Body>

</S:Envelope>

 

Verklaring

Tag/veldnaam

Type

result

RequestResult

Tag/veldnaam

Type

Omschrijving

error

boolean

false indien geen fouten, true indien er fouten zijn opgetreden

errorMessage

string

foutboodschap, alleen gevuld indien error = true

aspect

Aspect

zie Aspect