Versions Compared

Key

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

...

This web service inserts or updates a single client based on a detailed client structure (PwsClientDetail). The service returns the identity (PwsClientRef) of the client that has been inserted or updated. The caller can optionally request that the full client detail (PwsClientDetailPwsClientElement) be included in the response.

Request Format


Panel
titlePwsSaveClient Request
  • PwsSaveClientRq

...

Request Elements


ElementData TypeRequired?DefaultDescriptionSample Data
RequestIdInt32No
Click here for more information
1
SessionTicketClient DetailPwsClientDetail [1]String (50)Yes
Click here for more information
AavFwbZgVb9V4tr3R7BbzQ==
ClientPwsClientDetailYes
The detailed client information to be inserted or updated
FullDetailFlagBooleanNofalseValid values include "true" or "false". If set to " true" , include full detailed client element in response
true/false
ParentClientClearFlagBooleanNofalseValid values include "true" or "false". If set to " true" null out , the parent client will be set to null
true/false

Request Usage Example(s)


Code Block
languagexml
titleExample 01New Client
collapsetrue
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/"    <PwsSaveClient>
 xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/">
   <soapenv:Header/>
   <soapenv:Body>
   <serviceRequest>   <pws:PwsSaveClient>
         <!--RequestId>?</RequestId--><pws:serviceRequest>
            <SessionTicket>AcjOqKSXoUYG3qLkrxKQYw==</SessionTicket><req:RequestId>1</req:RequestId>
            <Client><req:SessionTicket>AVPtg8pZ/KFy3PWleHmQEw==</req:SessionTicket>
            <req:Client>
  <!--ClientId>?</ClientId-->             <com:ClientName>SOAP UI  <!--ClientNumber>?</ClientNumber-->A</com:ClientName>
                <!--ClientUid>?</ClientUid--><com:InactiveFlag>false</com:InactiveFlag>
               <ClientName>Acme 1000-01</ClientName><com:Address>
                <InactiveFlag>false</InactiveFlag>  <com:AddressLine1>311 South Wacker</com:AddressLine1>
           <ParentClientIdentity>       <com:AddressLine2>Suite 2300</com:AddressLine2>
          <!--ClientId>?</ClientId-->        <com:City>Chicago</com:City>
          <!--ClientNumber>?</ClientNumber-->        <com:CompanyName>SOAP UI A</com:CompanyName>
        <!--ClientUid>?</ClientUid-->          <com:Country>USA</com:Country>
     </ParentClientIdentity>             <com:StateOrProvince>Illinois</com:StateOrProvince>
  <Address>                <com:ZipOrPostalCode>60601</com:ZipOrPostalCode>
  <AddressLine1>123 Main Street</AddressLine1>           </com:Address>
       <AddressLine2>Suite 100</AddressLine2>       <com:BillingCycleIdentity>
           <Attention>Jane Smith</Attention>      <com:BillingCycleName>Monthly</com:BillingCycleName>
            <City>Boston</City>   </com:BillingCycleIdentity>
               <CompanyName>Acme 1000-01</CompanyName>
      <com:BillingInstructions>Please bill at the end of each month</com:BillingInstructions>
           <Country>USA</Country>    <com:ClientMessage>Thank you for your business!</com:ClientMessage>
          <StateOrProvince>MA</StateOrProvince>     <com:ClientMessagePlain>Thank you for your business!</com:ClientMessagePlain>
         <ZipOrPostalCode>02114</ZipOrPostalCode>      <com:InheritAddressFlag>false</com:InheritAddressFlag>
         </Address>      <com:InheritBillingCycleFlag>false</com:InheritBillingCycleFlag>
         <BillingCycleIdentity>      <com:InheritBillingInstructionsFlag>false</com:InheritBillingInstructionsFlag>
            <!--BillingCycleId>?</BillingCycleId-->   <com:InheritClientMessageFlag>false</com:InheritClientMessageFlag>
               <BillingCycleName>Monthly</BillingCycleName><com:InheritInvoiceContentFlag>false</com:InheritInvoiceContentFlag>
                  <!--BillingCycleUid>?</BillingCycleUid--><com:InheritInvoiceScopeFlag>false</com:InheritInvoiceScopeFlag>
               </BillingCycleIdentity><com:InheritInvoiceTemplateFlag>false</com:InheritInvoiceTemplateFlag>
               <BillingInstructions>Bill on the last day of the month</BillingInstructions><com:InheritPaymentTermFlag>false</com:InheritPaymentTermFlag>
               <com:InheritPurchaseOrderNumberFlag>false</com:InheritPurchaseOrderNumberFlag>
      <ClientMessage>We    appreciate your business!</ClientMessage>   <com:InheritStandardRatesFlag>false</com:InheritStandardRatesFlag>
            <ClientMessagePlain>We appreciate your business!</ClientMessagePlain> <com:InheritTimeBillingTypeFlag>false</com:InheritTimeBillingTypeFlag>
               <InheritAddressFlag>false</InheritAddressFlag><com:InvoiceContent>B</com:InvoiceContent>
               <InheritBillingCycleFlag>false</InheritBillingCycleFlag><com:InvoiceScope>E</com:InvoiceScope>
               <InheritBillingInstructionsFlag>false</InheritBillingInstructionsFlag><com:InvoiceTemplateIdentity>
                  <InheritClientMessageFlag>false</InheritClientMessageFlag><com:InvoiceTemplateName>A200</com:InvoiceTemplateName>
               <InheritInvoiceContentFlag>false</InheritInvoiceContentFlag></com:InvoiceTemplateIdentity>
               <com:PaymentTermIdentity>
   <InheritInvoiceScopeFlag>false</InheritInvoiceScopeFlag>               <com:PaymentTermName>Net <InheritInvoiceTemplateFlag>false<30</InheritInvoiceTemplateFlag>com:PaymentTermName>
               <InheritPaymentTermFlag>false</InheritPaymentTermFlag></com:PaymentTermIdentity>
               <com:PurchaseOrderNumber>SOAP <InheritPurchaseOrderNumberFlag>false<UI</InheritPurchaseOrderNumberFlag>com:PurchaseOrderNumber>
               <InheritStandardRatesFlag>false</InheritStandardRatesFlag><com:StandardBillingAdjustedDiscountPercent>10</com:StandardBillingAdjustedDiscountPercent>
               <InheritTimeBillingTypeFlag>false</InheritTimeBillingTypeFlag><com:StandardContractDiscountPercent>5</com:StandardContractDiscountPercent>
               <InvoiceContent>B</InvoiceContent><com:StandardRateCardIdentity>
               <InvoiceScope>E</InvoiceScope>   <com:RateCardName>USA</com:RateCardName>
            <InvoiceTemplateIdentity>        <com:RateCardType>R</com:RateCardType>
               <!--InvoiceTemplateId>?</InvoiceTemplateId--></com:StandardRateCardIdentity>
               <com:TimeBillingType>H</com:TimeBillingType>
     <InvoiceTemplateName>A200</InvoiceTemplateName>          <com:InheritInvoiceEmailSettingsFlag>false</com:InheritInvoiceEmailSettingsFlag>
        <!--InvoiceTemplateUid>?</InvoiceTemplateUid-->       <com:InvoiceEmailSettings>
        </InvoiceTemplateIdentity>          <com:EmailFromUserIdentity>
     <NewClientNumber>C001001</NewClientNumber>                <PaymentTermIdentity><com:UserDisplayName>Bettina</com:UserDisplayName>
                  <!--PaymentTermId>?</PaymentTermId-->com:EmailFromUserIdentity>
                  <PaymentTermName>Net 60</PaymentTermName><com:EmailInvoiceTemplateIdentity>
                   <!--PaymentTermUid>?</PaymentTermUid-->  <com:InvoiceTemplateName>E002</com:InvoiceTemplateName>
                  </PaymentTermIdentity>com:EmailInvoiceTemplateIdentity>
                  <PurchaseOrderNumber>C001000</PurchaseOrderNumber><com:InvoiceEmailEnabledFlag>true</com:InvoiceEmailEnabledFlag>
                  <StandardBillingAdjustedDiscountPercent>0</StandardBillingAdjustedDiscountPercent><com:InvoiceEmailType>W</com:InvoiceEmailType>
                  <com:Recipients>
<StandardContractDiscountPercent>0</StandardContractDiscountPercent>                <StandardRateCardIdentity>     <com:PwsInvoiceEmailRecipient>
             <!--RateCardId>?</RateCardId-->           <com:RecipientType>T</com:RecipientType>
       <RateCardName>USA Rate Card</RateCardName>               <com:UserIdentity>
   <RateCardType>R</RateCardType>                   <!--RateCardUid>?</RateCardUid-->       <com:UserDisplayName>SOAP UI</com:UserDisplayName>
        </StandardRateCardIdentity>                <TimeBillingType>H<</TimeBillingType>com:UserIdentity>
               <!--Timestamp>?</Timestamp-->      </com:PwsInvoiceEmailRecipient>
         <UserDefinedFields>         </com:Recipients>
         <PwsUserDefinedFieldDetail>      </com:InvoiceEmailSettings>
               <!--UdfId>?</UdfId--><com:InheritRenderReceiptsFlag>false</com:InheritRenderReceiptsFlag>
               <com:RenderReceiptsFlag>false</com:RenderReceiptsFlag>
       <UdfName>Account Owner</UdfName>       <com:AutoApplyAvailableBalanceFlag>false</com:AutoApplyAvailableBalanceFlag>
              <!--UdfUid>?</UdfUid--> <com:InheritAutoApplyAvailableBalanceFlag>false</com:InheritAutoApplyAvailableBalanceFlag>
               <com:InheritTaxTypesFlag>false</com:InheritTaxTypesFlag>
     <!--BooleanValue>?</BooleanValue-->          <com:InheritRenderedInvoiceFormatFlag>false</com:InheritRenderedInvoiceFormatFlag>
           <DataType>R</DataType>    <com:RenderedInvoiceFormat>P</com:RenderedInvoiceFormat>
                 <!--DateValue>?</DateValue--><com:Prefix>01312024</com:Prefix>
            </req:Client>
        <!--IntegerValue>?</IntegerValue-->    <req:FullDetailFlag>true</req:FullDetailFlag>
            <req:ParentClientClearFlag>false</req:ParentClientClearFlag>
    <ResourceIdentityValue>        <req:DisallowDuplicateNameFlag>false</req:DisallowDuplicateNameFlag>
                <ResourceDisplayName>Jack Spratt</ResourceDisplayName><req:FixInheritanceFlag>false</req:FixInheritanceFlag>
         </pws:serviceRequest>
      </pws:PwsSaveClient>
       <!--ResourceId>?</ResourceId-->
                  </soapenv:Body>
</soapenv:Envelope>


Code Block
languagexml
titleExample 01 - Client without Parent
collapsetrue
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/">
   <soapenv:Header/>
   <soapenv:Body>
     <ResourceReferenceSystemId>E123</ResourceReferenceSystemId> <pws:PwsSaveClient>
         <pws:serviceRequest>
             <!--ResourceUid>?</ResourceUid--><req:RequestId>1</req:RequestId>
            <req:SessionTicket>AaBd4dMYPbBiEeXoiz50NQ==</req:SessionTicket>
           </ResourceIdentityValue> <req:Client>
               <com:ClientNumber>C000158</com:ClientNumber>
    <!--TextValue>?</TextValue-->           <com:InactiveFlag>false</com:InactiveFlag>
          <UdfTreatment>A</UdfTreatment>     <com:Address>
                <!--StoplightValues-->  <com:AddressLine1>98 North Washington Street</com:AddressLine1>
                   <!--PwsStoplightValue--><com:AddressLine2>400</com:AddressLine2>
                  <com:Attention>Office Administrator</com:Attention>
        <!--AsOfDate>?</AsOfDate-->          <com:City>Boston</com:City>
                 <!--SortOrder>?</SortOrder-->
  <com:CompanyName>Projector PSA</com:CompanyName>
                  <com:Country>USA</com:Country>
   <!--/PwsStoplightValue-->               <com:StateOrProvince>MA</com:StateOrProvince>
      <!--/StoplightValues-->            <com:ZipOrPostalCode>02114</com:ZipOrPostalCode>
         <!--NumericValue>?</NumericValue-->      </com:Address>
               <!--RelationValue--><com:BillingCycleIdentity>
                  <com:BillingCycleName>Monthly</com:BillingCycleName>
     <!--CodeValue>?</CodeValue-->          </com:BillingCycleIdentity>
              <!--TextValue>?</TextValue-->
         <com:BillingInstructions>Please bill on the last day of the month.</com:BillingInstructions>
               <!--UidValue>?</UidValue-->
  <com:ClientMessage>We appreciate your business.</com:ClientMessage>
               <com:ClientMessagePlain>We appreciate your business.<!--/RelationValue-->/com:ClientMessagePlain>
                  </PwsUserDefinedFieldDetail><com:InheritAddressFlag>false</com:InheritAddressFlag>
               </UserDefinedFields><com:InheritBillingCycleFlag>false</com:InheritBillingCycleFlag>
               <InheritInvoiceEmailSettingsFlag>false</InheritInvoiceEmailSettingsFlag><com:InheritBillingInstructionsFlag>false</com:InheritBillingInstructionsFlag>
               <InvoiceEmailSettings><com:InheritClientMessageFlag>false</com:InheritClientMessageFlag>
               <com:InheritInvoiceContentFlag>false</com:InheritInvoiceContentFlag>
  <EmailFromUserIdentity>             <com:InheritInvoiceScopeFlag>false</com:InheritInvoiceScopeFlag>
        <UserDisplayName>Bettina Borces</UserDisplayName>      <com:InheritInvoiceTemplateFlag>false</com:InheritInvoiceTemplateFlag>
               <!--UserId>?</UserId--><com:InheritPaymentTermFlag>false</com:InheritPaymentTermFlag>
                <com:InheritPurchaseOrderNumberFlag>false</com:InheritPurchaseOrderNumberFlag>
       <UserReferenceSystemId>Partner - 01</UserReferenceSystemId>      <com:InheritStandardRatesFlag>false</com:InheritStandardRatesFlag>
               <!--UserUid>?</UserUid--><com:InheritTimeBillingTypeFlag>false</com:InheritTimeBillingTypeFlag>
               <com:InvoiceContent>B</com:InvoiceContent>
   </EmailFromUserIdentity>            <com:InvoiceScope>E</com:InvoiceScope>
      <EmailInvoiceTemplateIdentity>         <com:InvoiceTemplateIdentity>
            <!--InvoiceTemplateId>?</InvoiceTemplateId-->      <com:InvoiceTemplateName>A200</com:InvoiceTemplateName>
               <InvoiceTemplateName>E004</InvoiceTemplateName></com:InvoiceTemplateIdentity>
               <com:PaymentTermIdentity>
       <!--InvoiceTemplateUid>?</InvoiceTemplateUid-->           <com:PaymentTermName>Net 30</com:PaymentTermName>
         </EmailInvoiceTemplateIdentity>      </com:PaymentTermIdentity>
            <InvoiceEmailEnabledFlag>false</InvoiceEmailEnabledFlag>   <com:PurchaseOrderNumber>PPSA</com:PurchaseOrderNumber>
               <InvoiceEmailType>P</InvoiceEmailType><com:StandardBillingAdjustedDiscountPercent>15</com:StandardBillingAdjustedDiscountPercent>
               <com:StandardContractDiscountPercent>10</com:StandardContractDiscountPercent>
  <Recipients>             <com:StandardRateCardIdentity>
        <PwsInvoiceEmailRecipient>          <com:RateCardName>USA</com:RateCardName>
              <RecipientType>T</RecipientType>    <com:RateCardType>R</com:RateCardType>
               </com:StandardRateCardIdentity>
    <UserIdentity>           <com:TimeBillingType>H</com:TimeBillingType>
               <com:UserDefinedFields>
<UserDisplayName>Jane Doe</UserDisplayName>                  <com:PwsUserDefinedFieldDetail>
          <!--UserId>?</UserId-->           <com:UdfName>CL-Text</com:UdfName>
                <UserReferenceSystemId>E124</UserReferenceSystemId>     <com:TextValue>Updated on November 6th, 2023</com:TextValue>
                  <!--UserUid>?</UserUid-->com:PwsUserDefinedFieldDetail>
               </com:UserDefinedFields>
        </UserIdentity>       <com:InheritInvoiceEmailSettingsFlag>false</com:InheritInvoiceEmailSettingsFlag>
              </PwsInvoiceEmailRecipient> <com:InvoiceEmailSettings>
                 </Recipients> <com:EmailFromUserIdentity>
              </InvoiceEmailSettings>       <com:UserDisplayName>Bettina</com:UserDisplayName>
        <InheritRenderReceiptsFlag>false</InheritRenderReceiptsFlag>                <RenderReceiptsFlag>false</RenderReceiptsFlag></com:EmailFromUserIdentity>
               <AutoApplyAvailableBalanceFlag>false</AutoApplyAvailableBalanceFlag>   <com:EmailInvoiceTemplateIdentity>
            <InheritAutoApplyAvailableBalanceFlag>false</InheritAutoApplyAvailableBalanceFlag>         <com:InvoiceTemplateName>E002</com:InvoiceTemplateName>
      <InheritTaxTypesFlag>false</InheritTaxTypesFlag>            </com:EmailInvoiceTemplateIdentity>
   <TaxType1Identity>                   <TaxTypeCode>VAT</TaxTypeCode><com:InvoiceEmailEnabledFlag>true</com:InvoiceEmailEnabledFlag>
                  <!--TaxTypeId>?</TaxTypeId--><com:InvoiceEmailType>W</com:InvoiceEmailType>
                  <!--TaxTypeUid>?</TaxTypeUid--><com:Recipients>
               </TaxType1Identity>      <com:PwsInvoiceEmailRecipient>
         <!--TaxType2Identity-->                <com:RecipientType>T</com:RecipientType>
       <!--TaxTypeCode>?</TaxTypeCode-->                 <com:UserIdentity>
  <!--TaxTypeId>?</TaxTypeId-->                   <!--TaxTypeUid>?</TaxTypeUid-->      <com:UserDisplayName>Template Client</com:UserDisplayName>
        <!--/TaxType2Identity-->                <!--TaxType3Identity-->/com:UserIdentity>
                     <!--TaxTypeCode>?</TaxTypeCode-->/com:PwsInvoiceEmailRecipient>
                  <!--TaxTypeId>?</TaxTypeId-->/com:Recipients>
               </com:InvoiceEmailSettings>
  <!--TaxTypeUid>?</TaxTypeUid-->             <com:InheritRenderReceiptsFlag>false</com:InheritRenderReceiptsFlag>
  <!--/TaxType3Identity-->             </Client><com:RenderReceiptsFlag>true</com:RenderReceiptsFlag>
               <FullDetailFlag>true</FullDetailFlag><com:AutoApplyAvailableBalanceFlag>false</com:AutoApplyAvailableBalanceFlag>
               <ParentClientClearFlag>false</ParentClientClearFlag><com:InheritAutoApplyAvailableBalanceFlag>false</com:InheritAutoApplyAvailableBalanceFlag>
               </serviceRequest><com:InheritTaxTypesFlag>true</com:InheritTaxTypesFlag>
        </PwsSaveClient>

Response Format

Panel
titlePwsSaveClientRs

Response Elements

...

Response Usage Example(s)

Code Block
languagexml
titleExample 01
collapsetrue
       <PwsSaveClientResponse><com:InheritRenderedInvoiceFormatFlag>false</com:InheritRenderedInvoiceFormatFlag>
         <PwsSaveClientResult>      <com:RenderedInvoiceFormat>P</com:RenderedInvoiceFormat>
      <Messages>            <com:Prefix>11062023</com:Prefix>
     <PwsMessage>       </req:Client>
           <AdditionalErrorText i:nil="true"/><req:FullDetailFlag>true</req:FullDetailFlag>
            <req:ParentClientClearFlag>false</req:ParentClientClearFlag>
     <ErrorCode i:nil="true"/>      <req:DisallowDuplicateNameFlag>true</req:DisallowDuplicateNameFlag>
            <ErrorNumber i:nil="true"/><req:FixInheritanceFlag>false</req:FixInheritanceFlag>
         </pws:serviceRequest>
        <ErrorText i:nil="true"/></pws:PwsSaveClient>
         </soapenv:Body>
</soapenv:Envelope>


Code Block
languagexml
titleExample 02 - Client with parent
collapsetrue
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/">
   <soapenv:Header/>
   <soapenv:Body>
      <pws:PwsSaveClient>
         <pws:serviceRequest>
            <req:RequestId>2</req:RequestId>
            <req:SessionTicket>AavFwbZgVb9V4tr3R7BbzQ==</req:SessionTicket>
            <req:Client>
               <com:ClientName>Web Services Inc. - extended</com:ClientName>
               <com:InactiveFlag>false</com:InactiveFlag>
               <com:ParentClientIdentity>
                  <com:ClientNumber>C000124</com:ClientNumber>
               </com:ParentClientIdentity>
               <com:InheritAddressFlag>true</com:InheritAddressFlag>
               <com:InheritBillingCycleFlag>true</com:InheritBillingCycleFlag>
               <com:InheritBillingInstructionsFlag>true</com:InheritBillingInstructionsFlag>
               <com:InheritClientMessageFlag>true</com:InheritClientMessageFlag>
               <com:InheritInvoiceContentFlag>true</com:InheritInvoiceContentFlag>
               <com:InheritInvoiceScopeFlag>true</com:InheritInvoiceScopeFlag>
               <com:InheritInvoiceTemplateFlag>true</com:InheritInvoiceTemplateFlag>
               <com:InheritPaymentTermFlag>true</com:InheritPaymentTermFlag>
               <com:InheritPurchaseOrderNumberFlag>true</com:InheritPurchaseOrderNumberFlag>
               <com:InheritStandardRatesFlag>true</com:InheritStandardRatesFlag>
               <com:InheritTimeBillingTypeFlag>true</com:InheritTimeBillingTypeFlag>
               <com:UserDefinedFields>
                  <com:PwsUserDefinedFieldDetail>
                     <com:UdfName>CL-Date</com:UdfName>
                     <com:DateValue>2018-02-28T00:00:00Z</com:DateValue>
                  </com:PwsUserDefinedFieldDetail>
                  <com:PwsUserDefinedFieldDetail>
                     <com:UdfName>CL-Text</com:UdfName>
                     <com:TextValue>Child of Client C00124</com:TextValue>
                  </com:PwsUserDefinedFieldDetail>
               </com:UserDefinedFields>
               <com:InheritInvoiceEmailSettingsFlag>true</com:InheritInvoiceEmailSettingsFlag>
               <com:InheritRenderReceiptsFlag>true</com:InheritRenderReceiptsFlag>
               <com:InheritAutoApplyAvailableBalanceFlag>true</com:InheritAutoApplyAvailableBalanceFlag>
               <com:InheritTaxTypesFlag>true</com:InheritTaxTypesFlag>
            </req:Client>
            <req:FullDetailFlag>true</req:FullDetailFlag>
            <req:ParentClientClearFlag>false</req:ParentClientClearFlag>
         </pws:serviceRequest>
      </pws:PwsSaveClient>
   </soapenv:Body>
</soapenv:Envelope>

Response Format


Panel
titlePwsSaveClientRs

Response Elements


ElementData TypeDescriptionSample Data
MessagesPwsMessage[]

The web service response status and message. Click here for more information


ResponseIdInt32Click here for more information0
StatusRequestStatusClick here for more informationOk
ServerTimestampUtcDateTimeClick here for more information
2017-12-27T16:48:52.6790058Z
ClientPwsClientElementThe complete set of information about the client
ClientIdentityPwsClientRefThe unique keys used to identify the client

Response Usage Example(s)


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:37:34.987952Z</ServerTimestampUtc>
            <a:Client xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:ClientDetail>
                  <b:ClientId i:nil="true"/>
                  <b:ClientNumber>C000127</b:ClientNumber>
                  <b:ClientUid>1152921504606998468</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>
                <Type  i:nil="true"/><b:Address>
                    <ReferenceId1 i:nil="true"/><b:AddressLine1>123 Main Street</b:AddressLine1>
                    <ReferenceId2 i:nil="true"/><b:AddressLine2>Suite 100</b:AddressLine2>
                     </PwsMessage><b:Attention>Billing</b:Attention>
                     </Messages><b:City>Boston</b:City>
            <ResponseId>0</ResponseId>         <b:CompanyName>Acme Inc.</b:CompanyName>
  <Status>Ok</Status>              <ServerTimestampUtc>2017-12-27T16:48:52.6790058Z</ServerTimestampUtc>     <b:Country>USA</b:Country>
       <Client>              <b:StateOrProvince>MA</b:StateOrProvince>
 <ClientDetail>                   <ClientId i:nil="true"/><b:ZipOrPostalCode>02114</b:ZipOrPostalCode>
                  <ClientNumber>C001001<</ClientNumber>b:Address>
                  <ClientUid>1152921504606989819</ClientUid><b:BillingCycleIdentity>
                  <ClientName>Acme 1000-01</ClientName>  <b:BillingCycleId i:nil="true"/>
               <InactiveFlag>false</InactiveFlag>      <b:BillingCycleName>Monthly</b:BillingCycleName>
            <ParentClientIdentity i:nil="true"/>         <b:BillingCycleUid>1152921504606853180</b:BillingCycleUid>
         <Address>         </b:BillingCycleIdentity>
            <AddressLine1>123 Main Street</AddressLine1>    <b:BillingInstructions>Please bill on the last day of the month.</b:BillingInstructions>
         <AddressLine2>Suite 100</AddressLine2>        <b:ClientMessage>We appreciate your business.</b:ClientMessage>
          <Attention>Jane Smith</Attention>       <b:ClientMessagePlain>We appreciate your business.</b:ClientMessagePlain>
           <City>Boston</City>       <b:InheritAddressFlag>true</b:InheritAddressFlag>
              <CompanyName>Acme 1000-01</CompanyName>   <b:InheritBillingCycleFlag>true</b:InheritBillingCycleFlag>
                  <Country>USA</Country><b:InheritBillingInstructionsFlag>true</b:InheritBillingInstructionsFlag>
                     <StateOrProvince>MA</StateOrProvince><b:InheritClientMessageFlag>true</b:InheritClientMessageFlag>
                  <b:InheritInvoiceContentFlag>true</b:InheritInvoiceContentFlag>
  <ZipOrPostalCode>02114</ZipOrPostalCode>                <b:InheritInvoiceScopeFlag>true</b:InheritInvoiceScopeFlag>
  </Address>                <b:InheritInvoiceTemplateFlag>true</b:InheritInvoiceTemplateFlag>
  <BillingCycleIdentity>                <b:InheritPaymentTermFlag>true</b:InheritPaymentTermFlag>
     <BillingCycleId i:nil="true"/>            <b:InheritPurchaseOrderNumberFlag>true</b:InheritPurchaseOrderNumberFlag>
         <BillingCycleName>Monthly</BillingCycleName>         <b:InheritStandardRatesFlag>true</b:InheritStandardRatesFlag>
            <BillingCycleUid>1152921504606853180</BillingCycleUid>      <b:InheritTimeBillingTypeFlag>true</b:InheritTimeBillingTypeFlag>
            </BillingCycleIdentity>      <b:InvoiceContent>B</b:InvoiceContent>
            <BillingInstructions>Bill on the last day of the month</BillingInstructions><b:InvoiceScope>E</b:InvoiceScope>
                  <ClientMessage>We appreciate your business!</ClientMessage><b:InvoiceTemplateIdentity>
                   <ClientMessagePlain>We appreciate your business!</ClientMessagePlain><b:InvoiceTemplateId i:nil="true"/>
                  <InheritAddressFlag>false</InheritAddressFlag>   <b:InvoiceTemplateName>A200</b:InvoiceTemplateName>
               <InheritBillingCycleFlag>false</InheritBillingCycleFlag>      <b:InvoiceTemplateUid>1152921504606878904</b:InvoiceTemplateUid>
            <InheritBillingInstructionsFlag>false</InheritBillingInstructionsFlag>      </b:InvoiceTemplateIdentity>
            <InheritClientMessageFlag>false</InheritClientMessageFlag>      <b:NewClientNumber i:nil="true"/>
           <InheritInvoiceContentFlag>false</InheritInvoiceContentFlag>        <b:PaymentTermIdentity>
          <InheritInvoiceScopeFlag>false</InheritInvoiceScopeFlag>           <b:PaymentTermId i:nil="true"/>
      <InheritInvoiceTemplateFlag>false</InheritInvoiceTemplateFlag>               <b:PaymentTermName>Net 60</b:PaymentTermName>
  <InheritPaymentTermFlag>false</InheritPaymentTermFlag>                   <InheritPurchaseOrderNumberFlag>false</InheritPurchaseOrderNumberFlag><b:PaymentTermUid>1152921504606856055</b:PaymentTermUid>
                  <InheritStandardRatesFlag>false<</InheritStandardRatesFlag>b:PaymentTermIdentity>
                  <InheritTimeBillingTypeFlag>false</InheritTimeBillingTypeFlag><b:PurchaseOrderNumber>WS-001</b:PurchaseOrderNumber>
                  <InvoiceContent>B</InvoiceContent><b:StandardBillingAdjustedDiscountPercent>15</b:StandardBillingAdjustedDiscountPercent>
                  <InvoiceScope>E</InvoiceScope><b:StandardContractDiscountPercent>10</b:StandardContractDiscountPercent>
                  <InvoiceTemplateIdentity><b:StandardRateCardIdentity>
                     <InvoiceTemplateId<b:RateCardId i:nil="true"/>
          "true"/>
          <InvoiceTemplateName>A200</InvoiceTemplateName>           <b:RateCardName>USA Rate Card</b:RateCardName>
        <InvoiceTemplateUid>1152921504606878904</InvoiceTemplateUid>             <b:RateCardType>R</b:RateCardType>
     </InvoiceTemplateIdentity>                   <NewClientNumber i:nil="true"/><b:RateCardUid>1152921504606860819</b:RateCardUid>
                  <PaymentTermIdentity></b:StandardRateCardIdentity>
                     <PaymentTermId i:nil="true"/><b:TimeBillingType>H</b:TimeBillingType>
                  <b:Timestamp>AAAAAA97Yvs=</b:Timestamp>
  <PaymentTermName>Net 60</PaymentTermName>               <b:UserDefinedFields>
      <PaymentTermUid>1152921504606856055</PaymentTermUid>               <b:PwsUserDefinedFieldDetail>
   </PaymentTermIdentity>                    <PurchaseOrderNumber>C001000</PurchaseOrderNumber>   <b:UdfId i:nil="true"/>
              <StandardBillingAdjustedDiscountPercent>0</StandardBillingAdjustedDiscountPercent>          <b:UdfName>CL-Date</b:UdfName>
        <StandardContractDiscountPercent>0</StandardContractDiscountPercent>                <b:UdfUid>1152921504606856792</b:UdfUid>
  <StandardRateCardIdentity>                      <RateCardId<b:BooleanValue i:nil="true"/>
                      <RateCardName>USA Rate Card</RateCardName><b:DataType>D</b:DataType>
                     <RateCardType>R</RateCardType>   <b:DateValue>2018-02-28T00:00:00Z</b:DateValue>
                  <RateCardUid>1152921504606860819</RateCardUid>                   </StandardRateCardIdentity><b:IntegerValue i:nil="true"/>
                  <TimeBillingType>H</TimeBillingType>      <b:ResourceIdentityValue i:nil="true"/>
           <Timestamp>AAAAAA61TDI=</Timestamp>             <b:TextValue i:nil="true"/>
    <UserDefinedFields>                    <b:UdfTreatment>A</b:UdfTreatment>
 <PwsUserDefinedFieldDetail>                         <UdfId i:nil="true"<b:StoplightValues/>
                        <UdfName>Account Owner</UdfName><b:NumericValue i:nil="true"/>
                         <UdfUid>1152921504606856794</UdfUid>
<b:RelationValue i:nil="true"/>
                       <BooleanValue i:nil="true"/>   </b:PwsUserDefinedFieldDetail>
                     <DataType>R</DataType><b:PwsUserDefinedFieldDetail>
                        <DateValue<b:UdfId i:nil="true"/>
                        <IntegerValue i:nil="true"/><b:UdfName>CL-Text</b:UdfName>
                        <ResourceIdentityValue><b:UdfUid>1152921504606856795</b:UdfUid>
                           <ResourceDisplayName>Jack Spratt</ResourceDisplayName><b:BooleanValue i:nil="true"/>
                           <ResourceId i:nil="true"/><b:DataType>T</b:DataType>
                           <ResourceReferenceSystemId>E123</ResourceReferenceSystemId><b:DateValue i:nil="true"/>
                        <b:IntegerValue i:nil="true"/>
  <ResourceUid>1152921504607111573</ResourceUid>                      <b:ResourceIdentityValue i:nil="true"/>
 </ResourceIdentityValue>                       <b:TextValue>Child of <TextValueClient i:nil="true"/>C00124</b:TextValue>
                        <UdfTreatment>A<<b:UdfTreatment>A</b:UdfTreatment>
                        <StoplightValues<b:StoplightValues/>
                        <NumericValue<b:NumericValue i:nil="true"/>
                        <RelationValue<b:RelationValue i:nil="true"/>
                     </b:PwsUserDefinedFieldDetail>
                  </b:UserDefinedFields>
                  <InheritInvoiceEmailSettingsFlag>false<<b:InheritInvoiceEmailSettingsFlag>true</b:InheritInvoiceEmailSettingsFlag>
                  <InvoiceEmailSettings><b:InvoiceEmailSettings>
                     <EmailFromUserIdentity><b:EmailFromUserIdentity>
                        <UserDisplayName>Bettina<b:UserDisplayName>Betty Borces<Smith</b:UserDisplayName>
                        <UserId<b:UserId i:nil="true"/>
                        <UserReferenceSystemId>Partner<b:UserReferenceSystemId>Partner - 01</b:UserReferenceSystemId>
                        <UserUid>1152921504607011056<<b:UserUid>1152921504607011056</b:UserUid>
                     </b:EmailFromUserIdentity>
                     <EmailInvoiceTemplateIdentity><b:EmailInvoiceTemplateIdentity>
                        <InvoiceTemplateId<b:InvoiceTemplateId i:nil="true"/>
                        <InvoiceTemplateName>E004<<b:InvoiceTemplateName>E004</b:InvoiceTemplateName>
                        <InvoiceTemplateUid>1152921504606878909<<b:InvoiceTemplateUid>1152921504606878909</b:InvoiceTemplateUid>
                     </b:EmailInvoiceTemplateIdentity>
                     <InvoiceEmailEnabledFlag>false<<b:InvoiceEmailEnabledFlag>true</b:InvoiceEmailEnabledFlag>
                     <InvoiceEmailType>P<<b:InvoiceEmailType>W</b:InvoiceEmailType>
                     <Recipients><b:Recipients>
                        <PwsInvoiceEmailRecipient><b:PwsInvoiceEmailRecipient>
                           <RecipientType>T<<b:RecipientType>T</b:RecipientType>
                           <UserIdentity><b:UserIdentity>
                              <UserDisplayName>Jane<b:UserDisplayName>John Doe</b:UserDisplayName>
                              <UserId<b:UserId i:nil="true"/>
                              <UserReferenceSystemId>E124<<b:UserReferenceSystemId>E123</b:UserReferenceSystemId>
                              <UserUid>1152921504607112368<<b:UserUid>1152921504607054221</b:UserUid>
                           <//b:UserIdentity>
                        </b:PwsInvoiceEmailRecipient>
                     </b:Recipients>
                  </b:InvoiceEmailSettings>
                  <InheritRenderReceiptsFlag>false<<b:InheritRenderReceiptsFlag>true</b:InheritRenderReceiptsFlag>
                  <RenderReceiptsFlag>false<<b:RenderReceiptsFlag>true</b:RenderReceiptsFlag>
                  <AutoApplyAvailableBalanceFlag>false<<b:AutoApplyAvailableBalanceFlag>true</b:AutoApplyAvailableBalanceFlag>
                  <InheritAutoApplyAvailableBalanceFlag>false<<b:InheritAutoApplyAvailableBalanceFlag>true</b:InheritAutoApplyAvailableBalanceFlag>
                  <InheritTaxTypesFlag>false<<b:InheritTaxTypesFlag>true</b:InheritTaxTypesFlag>
                  <TaxType1Identity><b:TaxType1Identity>
                     <TaxTypeCode>VAT<<b:TaxTypeCode>VAT</b:TaxTypeCode>
                     <TaxTypeId<b:TaxTypeId i:nil="true"/>
                     <TaxTypeUid>1152921504606868258<<b:TaxTypeUid>1152921504606868258</b:TaxTypeUid>
                  </b:TaxType1Identity>
                  <TaxType2Identity<b:TaxType2Identity i:nil="true"/>
                  <TaxType3Identity<b:TaxType3Identity i:nil="true"/>
               </b:ClientDetail>
            </a:Client>
            <a:ClientIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
 <ClientIdentity>                <ClientId<b:ClientId i:nil="true"/>
               <ClientNumber>C001001<<b:ClientNumber>C000127</b:ClientNumber>
               <ClientUid>1152921504606989819<<b:ClientUid>1152921504606998468</b:ClientUid>
            </a:ClientIdentity>
         </PwsSaveClientResult>
      </PwsSaveClientResponse>
   </s:Body>
</s:Envelope>

PwsSaveClient - Common Errors and Warnings


ErrorNumberErrorCodeErrorTextType
105AtLeastOneItemNotFoundAt least one client requested item was not foundWarning. The remaining items, if any, were returned.
11038NoClientsSpecifiedNo clients specified for retrievalError
11040MaximumClientIdentitiesExceededAttempt to retrieve more than the maximum allowable number of clients at onceError
50045ViewPermissionDeniedPermission deniedErrorclients were specified for retrieval by this request.
11040MaximumClientIdentitiesExceededPlease specify between 1 and 100 client identities for retrieval.
11042InappropriateStandardRateCardSpecifiedThe specified standard rate card is not appropriate (it is likely an RDC rate card).
50045ViewPermissionDeniedYou do not have permission to view this item.
57631ClientNotSpecifiedA specified client reference identity was incompleteError. Each client identity must specify either a client id, client uid or client number.
57634UnexpectedErrorRetrievingClientsUnexpected error retrieving clientsErrorThere was an unexpected error while trying to retrieve a client.