Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleExample 01
collapsetrue
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsSaveClientResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsSaveClientResult xmlns:a="http://projectorpsa.com/DataContracts/Responses/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
            <ResponseId xmlns="http://projectorpsa.com/CommonServices/">2</ResponseId>
            <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
            <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-01-17T20:27:35.3803633Z</ServerTimestampUtc>
            <a:Client xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:ClientDetail>
                  <b:ClientId i:nil="true"/>
                  <b:ClientNumber>C000126</b:ClientNumber>
                  <b:ClientUid>1152921504606998467</b:ClientUid>
                  <b:ClientName>Web Services Inc. - extended</b:ClientName>
                  <b:InactiveFlag>false</b:InactiveFlag>
                  <b:ParentClientIdentity>
                     <b:ClientId i:nil="true"/>
                     <b:ClientNumber>C000124</b:ClientNumber>
                     <b:ClientUid>1152921504606998465</b:ClientUid>
                  </b:ParentClientIdentity>
                  <b:Address>
                     <b:AddressLine1>123 Main Street</b:AddressLine1>
                     <b:AddressLine2>Suite 100</b:AddressLine2>
                     <b:Attention>Billing</b:Attention>
                     <b:City>Boston</b:City>
                     <b:CompanyName>Acme Inc.</b:CompanyName>
                     <b:Country>USA</b:Country>
                     <b:StateOrProvince>MA</b:StateOrProvince>
                     <b:ZipOrPostalCode>02114</b:ZipOrPostalCode>
                  </b:Address>
                  <b:BillingCycleIdentity>
                     <b:BillingCycleId i:nil="true"/>
                     <b:BillingCycleName>Monthly</b:BillingCycleName>
                     <b:BillingCycleUid>1152921504606853180</b:BillingCycleUid>
                  </b:BillingCycleIdentity>
                  <b:BillingInstructions>Please bill on the last day of the month.</b:BillingInstructions>
                  <b:ClientMessage>We appreciate your business.</b:ClientMessage>
                  <b:ClientMessagePlain>We appreciate your business.</b:ClientMessagePlain>
                  <b:InheritAddressFlag>true</b:InheritAddressFlag>
                  <b:InheritBillingCycleFlag>true</b:InheritBillingCycleFlag>
                  <b:InheritBillingInstructionsFlag>true</b:InheritBillingInstructionsFlag>
                  <b:InheritClientMessageFlag>true</b:InheritClientMessageFlag>
                  <b:InheritInvoiceContentFlag>true</b:InheritInvoiceContentFlag>
                  <b:InheritInvoiceScopeFlag>true</b:InheritInvoiceScopeFlag>
                  <b:InheritInvoiceTemplateFlag>true</b:InheritInvoiceTemplateFlag>
                  <b:InheritPaymentTermFlag>true</b:InheritPaymentTermFlag>
                  <b:InheritPurchaseOrderNumberFlag>true</b:InheritPurchaseOrderNumberFlag>
                  <b:InheritStandardRatesFlag>true</b:InheritStandardRatesFlag>
                  <b:InheritTimeBillingTypeFlag>true</b:InheritTimeBillingTypeFlag>
                  <b:InvoiceContent>B</b:InvoiceContent>
                  <b:InvoiceScope>E</b:InvoiceScope>
                  <b:InvoiceTemplateIdentity>
                     <b:InvoiceTemplateId i:nil="true"/>
                     <b:InvoiceTemplateName>A200</b:InvoiceTemplateName>
                     <b:InvoiceTemplateUid>1152921504606878904</b:InvoiceTemplateUid>
                  </b:InvoiceTemplateIdentity>
                  <b:NewClientNumber i:nil="true"/>
                  <b:PaymentTermIdentity>
                     <b:PaymentTermId i:nil="true"/>
                     <b:PaymentTermName>Net 60</b:PaymentTermName>
                     <b:PaymentTermUid>1152921504606856055</b:PaymentTermUid>
                  </b:PaymentTermIdentity>
                  <b:PurchaseOrderNumber>WS-001</b:PurchaseOrderNumber>
                  <b:StandardBillingAdjustedDiscountPercent>15</b:StandardBillingAdjustedDiscountPercent>
                  <b:StandardContractDiscountPercent>10</b:StandardContractDiscountPercent>
                  <b:StandardRateCardIdentity>
                     <b:RateCardId i:nil="true"/>
                     <b:RateCardName>USA Rate Card</b:RateCardName>
                     <b:RateCardType>R</b:RateCardType>
                     <b:RateCardUid>1152921504606860819</b:RateCardUid>
                  </b:StandardRateCardIdentity>
                  <b:TimeBillingType>H</b:TimeBillingType>
                  <b:Timestamp>AAAAAA97YIg=</b:Timestamp>
                  <b:UserDefinedFields>
                     <b:PwsUserDefinedFieldDetail>
                        <b:UdfId i:nil="true"/>
                        <b:UdfName>CL-Date</b:UdfName>
                        <b:UdfUid>1152921504606856792</b:UdfUid>
                        <b:BooleanValue i:nil="true"/>
                        <b:DataType>D</b:DataType>
                        <b:DateValue>2018-02-28T00:00:00Z</b:DateValue>
                        <b:IntegerValue i:nil="true"/>
                        <b:ResourceIdentityValue i:nil="true"/>
                        <b:TextValue i:nil="true"/>
                        <b:UdfTreatment>A</b:UdfTreatment>
                        <b:StoplightValues/>
                        <b:NumericValue i:nil="true"/>
                        <b:RelationValue i:nil="true"/>
                     </b:PwsUserDefinedFieldDetail>
                     <b:PwsUserDefinedFieldDetail>
                        <b:UdfId i:nil="true"/>
                        <b:UdfName>CL-Text</b:UdfName>
                        <b:UdfUid>1152921504606856795</b:UdfUid>
                        <b:BooleanValue i:nil="true"/>
                        <b:DataType>T</b:DataType>
                        <b:DateValue i:nil="true"/>
                        <b:IntegerValue i:nil="true"/>
                        <b:ResourceIdentityValue i:nil="true"/>
                        <b:TextValue>Child of Client C00124</b:TextValue>
                        <b:UdfTreatment>A</b:UdfTreatment>
                        <b:StoplightValues/>
                        <b:NumericValue i:nil="true"/>
                        <b:RelationValue i:nil="true"/>
                     </b:PwsUserDefinedFieldDetail>
                  </b:UserDefinedFields>
                  <b:InheritInvoiceEmailSettingsFlag>true</b:InheritInvoiceEmailSettingsFlag>
                  <b:InvoiceEmailSettings>
                     <b:EmailFromUserIdentity>
                        <b:UserDisplayName>BettinaUserDisplayName>Bob Borces<Smith</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>Partner - 01</b:UserReferenceSystemId>
                        <b:UserUid>1152921504607011056</b:UserUid>
                     </b:EmailFromUserIdentity>
                     <b:EmailInvoiceTemplateIdentity>
                        <b:InvoiceTemplateId i:nil="true"/>
                        <b:InvoiceTemplateName>E004</b:InvoiceTemplateName>
                        <b:InvoiceTemplateUid>1152921504606878909</b:InvoiceTemplateUid>
                     </b:EmailInvoiceTemplateIdentity>
                     <b:InvoiceEmailEnabledFlag>true</b:InvoiceEmailEnabledFlag>
                     <b:InvoiceEmailType>W</b:InvoiceEmailType>
                     <b:Recipients>
                        <b:PwsInvoiceEmailRecipient>
                           <b:RecipientType>T</b:RecipientType>
                           <b:UserIdentity>
                              <b:UserDisplayName>John Doe</b:UserDisplayName>
                              <b:UserId i:nil="true"/>
                              <b:UserReferenceSystemId>E123</b:UserReferenceSystemId>
                              <b:UserUid>1152921504607054221</b:UserUid>
                           </b:UserIdentity>
                        </b:PwsInvoiceEmailRecipient>
                     </b:Recipients>
                  </b:InvoiceEmailSettings>
                  <b:InheritRenderReceiptsFlag>true</b:InheritRenderReceiptsFlag>
                  <b:RenderReceiptsFlag>true</b:RenderReceiptsFlag>
                  <b:AutoApplyAvailableBalanceFlag>true</b:AutoApplyAvailableBalanceFlag>
                  <b:InheritAutoApplyAvailableBalanceFlag>true</b:InheritAutoApplyAvailableBalanceFlag>
                  <b:InheritTaxTypesFlag>true</b:InheritTaxTypesFlag>
                  <b:TaxType1Identity>
                     <b:TaxTypeCode>VAT</b:TaxTypeCode>
                     <b:TaxTypeId i:nil="true"/>
                     <b:TaxTypeUid>1152921504606868258</b:TaxTypeUid>
                  </b:TaxType1Identity>
                  <b:TaxType2Identity i:nil="true"/>
                  <b:TaxType3Identity i:nil="true"/>
               </b:ClientDetail>
            </a:Client>
            <a:ClientIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:ClientId i:nil="true"/>
               <b:ClientNumber>C000126</b:ClientNumber>
               <b:ClientUid>1152921504606998467</b:ClientUid>
            </a:ClientIdentity>
         </PwsSaveClientResult>
      </PwsSaveClientResponse>
   </s:Body>
</s:Envelope>

...