...
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 |
---|
title | PwsSaveClient Request |
---|
|
- PwsSaveClientRq
PwsSaveClientRq
|
...
Element | Data Type | Required? | Default | Description | Common Input | Common Input | Client | PwsClientDetail [1]Sample Data |
---|
RequestId | Int32 | No |
| Click here for more information | 1 |
SessionTicket | String (50) | Yes |
| Click here for more information | AavFwbZgVb9V4tr3R7BbzQ== |
Client | PwsClientDetail | Yes |
| The detailed client information to be inserted or updated |
|
FullDetailFlag | Boolean | No | false | Valid values include "true" or "false". If set to " true" , include full detailed client element in response | true/false |
ParentClientClearFlag | Boolean | No | false | Valid 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 |
---|
language | xml |
---|
title | Example 01New Client |
---|
collapse | true |
---|
|
<pws:PwsSaveClient>
<pws:serviceRequest>
<!--req:RequestId>?</req:RequestId-->
<req:SessionTicket>Aady1vgVOrPvyLyS0V0bhw==</req:SessionTicket><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:Client>RequestId>1</req:RequestId>
<!--ClientId>?</ClientId--><req:SessionTicket>AVPtg8pZ/KFy3PWleHmQEw==</req:SessionTicket>
<req:Client>
<!--ClientNumber>?</ClientNumber--> <com:ClientName>SOAP <!--ClientUid>?</ClientUid-->UI A</com:ClientName>
<ClientName>Acme 1000-01</ClientName><com:InactiveFlag>false</com:InactiveFlag>
<InactiveFlag>false</InactiveFlag><com:Address>
<ParentClientIdentity> <com:AddressLine1>311 South Wacker</com:AddressLine1>
<!--ClientId>?</ClientId--> <com:AddressLine2>Suite 2300</com:AddressLine2>
<ClientNumber>C000118</ClientNumber> <com:City>Chicago</com:City>
<!--ClientUid>?</ClientUid--> <com:CompanyName>SOAP UI A</com:CompanyName>
</ParentClientIdentity> <com:Country>USA</com:Country>
<Address> <com:StateOrProvince>Illinois</com:StateOrProvince>
<AddressLine1>123 Main Street</AddressLine1> <com:ZipOrPostalCode>60601</com:ZipOrPostalCode>
<AddressLine2>Suite 100</AddressLine2> </com:Address>
<Attention>Jane Smith</Attention> <com:BillingCycleIdentity>
<City>Boston</City> <com:BillingCycleName>Monthly</com:BillingCycleName>
<CompanyName>Acme 1000-01</CompanyName></com:BillingCycleIdentity>
<com:BillingInstructions>Please bill at <Country>USA</Country>the end of each month</com:BillingInstructions>
<StateOrProvince>MA</StateOrProvince> <com:ClientMessage>Thank you for your business!</com:ClientMessage>
<com:ClientMessagePlain>Thank you for <ZipOrPostalCode>02114</ZipOrPostalCode>your business!</com:ClientMessagePlain>
</Address><com:InheritAddressFlag>false</com:InheritAddressFlag>
<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>
<ClientMessage>We appreciate your business!</ClientMessage><com:InheritPurchaseOrderNumberFlag>false</com:InheritPurchaseOrderNumberFlag>
<ClientMessagePlain>We appreciate your business!</ClientMessagePlain><com:InheritStandardRatesFlag>false</com:InheritStandardRatesFlag>
<InheritAddressFlag>false</InheritAddressFlag><com:InheritTimeBillingTypeFlag>false</com:InheritTimeBillingTypeFlag>
<InheritBillingCycleFlag>false</InheritBillingCycleFlag><com:InvoiceContent>B</com:InvoiceContent>
<InheritBillingInstructionsFlag>false</InheritBillingInstructionsFlag><com:InvoiceScope>E</com:InvoiceScope>
<com:InvoiceTemplateIdentity>
<InheritClientMessageFlag>false</InheritClientMessageFlag> <InheritInvoiceContentFlag>false</InheritInvoiceContentFlag><com:InvoiceTemplateName>A200</com:InvoiceTemplateName>
<InheritInvoiceScopeFlag>false</InheritInvoiceScopeFlag></com:InvoiceTemplateIdentity>
<InheritInvoiceTemplateFlag>false</InheritInvoiceTemplateFlag><com:PaymentTermIdentity>
<InheritPaymentTermFlag>false</InheritPaymentTermFlag><com:PaymentTermName>Net 30</com:PaymentTermName>
<InheritPurchaseOrderNumberFlag>false</InheritPurchaseOrderNumberFlag></com:PaymentTermIdentity>
<com:PurchaseOrderNumber>SOAP <InheritStandardRatesFlag>false<UI</InheritStandardRatesFlag>com:PurchaseOrderNumber>
<InheritTimeBillingTypeFlag>false</InheritTimeBillingTypeFlag><com:StandardBillingAdjustedDiscountPercent>10</com:StandardBillingAdjustedDiscountPercent>
<InvoiceContent>B</InvoiceContent><com:StandardContractDiscountPercent>5</com:StandardContractDiscountPercent>
<InvoiceScope>E</InvoiceScope><com:StandardRateCardIdentity>
<InvoiceTemplateIdentity> <com:RateCardName>USA</com:RateCardName>
<!--InvoiceTemplateId>?</InvoiceTemplateId--> <com:RateCardType>R</com:RateCardType>
<InvoiceTemplateName>A200</InvoiceTemplateName></com:StandardRateCardIdentity>
<com:TimeBillingType>H</com:TimeBillingType>
<!--InvoiceTemplateUid>?</InvoiceTemplateUid--> <com:InheritInvoiceEmailSettingsFlag>false</com:InheritInvoiceEmailSettingsFlag>
</InvoiceTemplateIdentity> <com:InvoiceEmailSettings>
<NewClientNumber>C001000</NewClientNumber> <com:EmailFromUserIdentity>
<PaymentTermIdentity> <!--PaymentTermId>?</PaymentTermId--> <com:UserDisplayName>Bettina</com:UserDisplayName>
<PaymentTermName>Net 60</PaymentTermName></com:EmailFromUserIdentity>
<!--PaymentTermUid>?</PaymentTermUid--><com:EmailInvoiceTemplateIdentity>
</PaymentTermIdentity> <com:InvoiceTemplateName>E002</com:InvoiceTemplateName>
<PurchaseOrderNumber>C001000</PurchaseOrderNumber> </com:EmailInvoiceTemplateIdentity>
<StandardBillingAdjustedDiscountPercent>0</StandardBillingAdjustedDiscountPercent> <com:InvoiceEmailEnabledFlag>true</com:InvoiceEmailEnabledFlag>
<StandardContractDiscountPercent>0</StandardContractDiscountPercent> <com:InvoiceEmailType>W</com:InvoiceEmailType>
<StandardRateCardIdentity> <com:Recipients>
<!--RateCardId>?</RateCardId--> <RateCardName>USA<com:PwsInvoiceEmailRecipient>
Rate Card</RateCardName> <RateCardType>R</RateCardType> <com:RecipientType>T</com:RecipientType>
<!--RateCardUid>?</RateCardUid--> <com:UserIdentity>
</StandardRateCardIdentity> <TimeBillingType>H</TimeBillingType> <com:UserDisplayName>SOAP UI</com:UserDisplayName>
<!--Timestamp>?</Timestamp--> <UserDefinedFields></com:UserIdentity>
<PwsUserDefinedFieldDetail> </com:PwsInvoiceEmailRecipient>
<!--UdfId>?</UdfId-->/com:Recipients>
</com:InvoiceEmailSettings>
<UdfName>Account Owner</UdfName> <com:InheritRenderReceiptsFlag>false</com:InheritRenderReceiptsFlag>
<!--UdfUid>?</UdfUid--> <com:RenderReceiptsFlag>false</com:RenderReceiptsFlag>
<com:AutoApplyAvailableBalanceFlag>false</com:AutoApplyAvailableBalanceFlag>
<!--BooleanValue>?</BooleanValue--> <com:InheritAutoApplyAvailableBalanceFlag>false</com:InheritAutoApplyAvailableBalanceFlag>
<DataType>R</DataType> <com:InheritTaxTypesFlag>false</com:InheritTaxTypesFlag>
<!--DateValue>?</DateValue--><com:InheritRenderedInvoiceFormatFlag>false</com:InheritRenderedInvoiceFormatFlag>
<com:RenderedInvoiceFormat>P</com:RenderedInvoiceFormat>
<!--IntegerValue>?</IntegerValue--> <com:Prefix>01312024</com:Prefix>
<ResourceIdentityValue></req:Client>
<req:FullDetailFlag>true</req:FullDetailFlag>
<ResourceDisplayName>Jack Spratt</ResourceDisplayName><req:ParentClientClearFlag>false</req:ParentClientClearFlag>
<req:DisallowDuplicateNameFlag>false</req:DisallowDuplicateNameFlag>
<!--ResourceId>?</ResourceId--> <req:FixInheritanceFlag>false</req:FixInheritanceFlag>
</pws:serviceRequest>
<ResourceReferenceSystemId>E123</ResourceReferenceSystemId>
</pws:PwsSaveClient>
<!--ResourceUid>?</ResourceUid-->
</ResourceIdentityValue>
<!--TextValue>?</TextValue-->
/soapenv:Body>
</soapenv:Envelope> |
Code Block |
---|
language | xml |
---|
title | Example 01 - Client without Parent |
---|
collapse | true |
---|
|
<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>
<UdfTreatment>A</UdfTreatment> <req:RequestId>1</req:RequestId>
<req:SessionTicket>AaBd4dMYPbBiEeXoiz50NQ==</req:SessionTicket>
<!--StoplightValues--> <req:Client>
<com:ClientNumber>C000158</com:ClientNumber>
<!--PwsStoplightValue--> <com:InactiveFlag>false</com:InactiveFlag>
<com:Address>
<!--AsOfDate>?</AsOfDate--> <com:AddressLine1>98 North Washington Street</com:AddressLine1>
<!--SortOrder>?</SortOrder--> <com:AddressLine2>400</com:AddressLine2>
<!--/PwsStoplightValue--> <com:Attention>Office Administrator</com:Attention>
<!--/StoplightValues--> <com:City>Boston</com:City>
<!--NumericValue>?</NumericValue--><com:CompanyName>Projector PSA</com:CompanyName>
<com:Country>USA</com:Country>
<!--RelationValue--> <com:StateOrProvince>MA</com:StateOrProvince>
<!--CodeValue>?</CodeValue--> <com:ZipOrPostalCode>02114</com:ZipOrPostalCode>
<!--TextValue>?</TextValue-->/com:Address>
<com:BillingCycleIdentity>
<!--UidValue>?</UidValue--> <com:BillingCycleName>Monthly</com:BillingCycleName>
<!--/RelationValue--> </com:BillingCycleIdentity>
</PwsUserDefinedFieldDetail>
<com:BillingInstructions>Please bill on the last day of the month.</com:BillingInstructions>
</UserDefinedFields> <com:ClientMessage>We appreciate your business.</com:ClientMessage>
<InheritInvoiceEmailSettingsFlag>false</InheritInvoiceEmailSettingsFlag> <com:ClientMessagePlain>We appreciate your business.</com:ClientMessagePlain>
<InvoiceEmailSettings> <com:InheritAddressFlag>false</com:InheritAddressFlag>
<EmailFromUserIdentity> <com:InheritBillingCycleFlag>false</com:InheritBillingCycleFlag>
<UserDisplayName>Bettina Borces</UserDisplayName> <com:InheritBillingInstructionsFlag>false</com:InheritBillingInstructionsFlag>
<!--UserId>?</UserId--><com:InheritClientMessageFlag>false</com:InheritClientMessageFlag>
<com:InheritInvoiceContentFlag>false</com:InheritInvoiceContentFlag>
<UserReferenceSystemId>Partner - 01</UserReferenceSystemId> <com:InheritInvoiceScopeFlag>false</com:InheritInvoiceScopeFlag>
<!--UserUid>?</UserUid--> <com:InheritInvoiceTemplateFlag>false</com:InheritInvoiceTemplateFlag>
</EmailFromUserIdentity><com:InheritPaymentTermFlag>false</com:InheritPaymentTermFlag>
<com:InheritPurchaseOrderNumberFlag>false</com:InheritPurchaseOrderNumberFlag>
<EmailInvoiceTemplateIdentity> <com:InheritStandardRatesFlag>false</com:InheritStandardRatesFlag>
<!--InvoiceTemplateId>?</InvoiceTemplateId--> <com:InheritTimeBillingTypeFlag>false</com:InheritTimeBillingTypeFlag>
<InvoiceTemplateName>E004</InvoiceTemplateName><com:InvoiceContent>B</com:InvoiceContent>
<com:InvoiceScope>E</com:InvoiceScope>
<!--InvoiceTemplateUid>?</InvoiceTemplateUid--> <com:InvoiceTemplateIdentity>
</EmailInvoiceTemplateIdentity> <com:InvoiceTemplateName>A200</com:InvoiceTemplateName>
<InvoiceEmailEnabledFlag>false</InvoiceEmailEnabledFlag> </com:InvoiceTemplateIdentity>
<InvoiceEmailType>P</InvoiceEmailType> <com:PaymentTermIdentity>
<Recipients> <com:PaymentTermName>Net 30</com:PaymentTermName>
<PwsInvoiceEmailRecipient></com:PaymentTermIdentity>
<com:PurchaseOrderNumber>PPSA</com:PurchaseOrderNumber>
<RecipientType>T</RecipientType> <com:StandardBillingAdjustedDiscountPercent>15</com:StandardBillingAdjustedDiscountPercent>
<com:StandardContractDiscountPercent>10</com:StandardContractDiscountPercent>
<UserIdentity> <com:StandardRateCardIdentity>
<UserDisplayName>Jane Doe</UserDisplayName> <com:RateCardName>USA</com:RateCardName>
<com:RateCardType>R</com:RateCardType>
<!--UserId>?</UserId--> </com:StandardRateCardIdentity>
<UserReferenceSystemId>E124</UserReferenceSystemId><com:TimeBillingType>H</com:TimeBillingType>
<com:UserDefinedFields>
<!--UserUid>?</UserUid--> <com:PwsUserDefinedFieldDetail>
</UserIdentity><com:UdfName>CL-Text</com:UdfName>
</PwsInvoiceEmailRecipient><com:TextValue>Updated on November 6th, 2023</com:TextValue>
</Recipients>com:PwsUserDefinedFieldDetail>
</InvoiceEmailSettings>com:UserDefinedFields>
<InheritRenderReceiptsFlag>false</InheritRenderReceiptsFlag><com:InheritInvoiceEmailSettingsFlag>false</com:InheritInvoiceEmailSettingsFlag>
<com:InvoiceEmailSettings>
<RenderReceiptsFlag>false</RenderReceiptsFlag> <AutoApplyAvailableBalanceFlag>false</AutoApplyAvailableBalanceFlag> <com:EmailFromUserIdentity>
<InheritAutoApplyAvailableBalanceFlag>false</InheritAutoApplyAvailableBalanceFlag> <com:UserDisplayName>Bettina</com:UserDisplayName>
<InheritTaxTypesFlag>false</InheritTaxTypesFlag> </com:EmailFromUserIdentity>
<TaxType1Identity> <com:EmailInvoiceTemplateIdentity>
<TaxTypeCode>VAT</TaxTypeCode> <!--TaxTypeId>?</TaxTypeId--><com:InvoiceTemplateName>E002</com:InvoiceTemplateName>
<!--TaxTypeUid>?</TaxTypeUid-->
/com:EmailInvoiceTemplateIdentity>
</TaxType1Identity> <com:InvoiceEmailEnabledFlag>true</com:InvoiceEmailEnabledFlag>
<!--TaxType2Identity--> <com:InvoiceEmailType>W</com:InvoiceEmailType>
<!--TaxTypeCode>?</TaxTypeCode--> <com:Recipients>
<!--TaxTypeId>?</TaxTypeId--> <com:PwsInvoiceEmailRecipient>
<!--TaxTypeUid>?</TaxTypeUid--> <!--/TaxType2Identity--><com:RecipientType>T</com:RecipientType>
<!--TaxType3Identity--> <com:UserIdentity>
<!--TaxTypeCode>?</TaxTypeCode--> <!--TaxTypeId>?</TaxTypeId--><com:UserDisplayName>Template Client</com:UserDisplayName>
<!--TaxTypeUid>?</TaxTypeUid--> </com:UserIdentity>
<!--/TaxType3Identity--> </req:Client>com:PwsInvoiceEmailRecipient>
<req:FullDetailFlag>true<</req:FullDetailFlag>com:Recipients>
<req:ParentClientClearFlag>false<</reqcom:ParentClientClearFlag>InvoiceEmailSettings>
</pws:serviceRequest> </pws:PwsSaveClient> |
...
<com:InheritRenderReceiptsFlag>false</com:InheritRenderReceiptsFlag>
<com:RenderReceiptsFlag>true</com:RenderReceiptsFlag>
<com:AutoApplyAvailableBalanceFlag>false</com:AutoApplyAvailableBalanceFlag>
<com:InheritAutoApplyAvailableBalanceFlag>false</com:InheritAutoApplyAvailableBalanceFlag>
<com:InheritTaxTypesFlag>true</com:InheritTaxTypesFlag>
<com:InheritRenderedInvoiceFormatFlag>false</com:InheritRenderedInvoiceFormatFlag>
<com:RenderedInvoiceFormat>P</com:RenderedInvoiceFormat>
<com:Prefix>11062023</com:Prefix>
</req:Client>
<req:FullDetailFlag>true</req:FullDetailFlag>
<req:ParentClientClearFlag>false</req:ParentClientClearFlag>
<req:DisallowDuplicateNameFlag>true</req:DisallowDuplicateNameFlag>
<req:FixInheritanceFlag>false</req:FixInheritanceFlag>
</pws:serviceRequest>
</pws:PwsSaveClient>
</soapenv:Body>
</soapenv:Envelope> |
Code Block |
---|
language | xml |
---|
title | Example 02 - Client with parent |
---|
collapse | true |
---|
|
<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
Response Elements
Response Usage Example(s)
Code Block |
---|
language | xml |
---|
title | Example 01 |
---|
collapse | true |
---|
|
<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>
<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>AAAAAA97Yvs=</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>Betty 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>C000127</b:ClientNumber>
<b:ClientUid>1152921504606998468</b:ClientUid>
</a:ClientIdentity>
</PwsSaveClientResult>
</PwsSaveClientResponse>
</s:Body>
</s:Envelope> |
PwsSaveClient - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|
105 | AtLeastOneItemNotFound | At least one requested item was not found. The remaining items, if any, were returned. |
11038 | NoClientsSpecified | No clients were specified for retrieval by this request. |
11040 | MaximumClientIdentitiesExceeded | Please specify between 1 and 100 client identities for retrieval. |
11042 | InappropriateStandardRateCardSpecified | The specified standard rate card is not appropriate (it is likely an RDC rate card). |
50045 | ViewPermissionDenied | You do not have permission to view this item. |
57631 | ClientNotSpecified | A specified client identity was incomplete. Each client identity must specify either a client id, client uid or client number. |
57634 | UnexpectedErrorRetrievingClients | There was an unexpected error while trying to retrieve a client. |