Atom
Click here for a complete list of operations.
CustomerSave
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /atom/atom.asmx HTTP/1.1
Host: atom.joycecrane.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/CustomerSave"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CustomerSave xmlns="http://tempuri.org/">
<UserName>string</UserName>
<Customer>
<OldCustCode>string</OldCustCode>
<CustCode>string</CustCode>
<GroupNumb>string</GroupNumb>
<CustName>string</CustName>
<CustName1>string</CustName1>
<SalesPerson>string</SalesPerson>
<Phone>string</Phone>
<Fax>string</Fax>
<Email>string</Email>
<Address1>string</Address1>
<Address2>string</Address2>
<City>string</City>
<State>string</State>
<Zip>string</Zip>
<Country>string</Country>
<Contact1>string</Contact1>
<Contact1ID>string</Contact1ID>
<Contact1Phone>string</Contact1Phone>
<Contact2>string</Contact2>
<Contact2ID>string</Contact2ID>
<Contact2Phone>string</Contact2Phone>
<BillingTerms>string</BillingTerms>
<Taxable>boolean</Taxable>
<Comments>string</Comments>
<TaxCode>string</TaxCode>
<Status>string</Status>
<IsNew>boolean</IsNew>
<IgnoreWarnings>boolean</IgnoreWarnings>
<AddJobSite>boolean</AddJobSite>
<Insurance>boolean</Insurance>
<InsuranceExpires>string</InsuranceExpires>
<GroupID>string</GroupID>
<LastNameFirst>boolean</LastNameFirst>
<PoRequire>boolean</PoRequire>
<IndustryCode>string</IndustryCode>
<Website>string</Website>
<PriceList>string</PriceList>
<CreditLimit>string</CreditLimit>
<PriceExpires>string</PriceExpires>
<EmailDocOK>boolean</EmailDocOK>
<ListMarkUp>string</ListMarkUp>
<MarkUpPerc>string</MarkUpPerc>
<TaxExempt>string</TaxExempt>
<PerOccranceAmt>string</PerOccranceAmt>
<BlanketInsuranceAmt>string</BlanketInsuranceAmt>
<ContractNumb>string</ContractNumb>
<StatementType>string</StatementType>
<DataState>string</DataState>
<Legal1>boolean</Legal1>
<Legal2>boolean</Legal2>
<Legal3>boolean</Legal3>
<Legal4>boolean</Legal4>
<Legal5>boolean</Legal5>
<Legal6>boolean</Legal6>
<Legal7>boolean</Legal7>
<Legal8>boolean</Legal8>
<Legal9>boolean</Legal9>
<Legal10>boolean</Legal10>
<Legal11>boolean</Legal11>
<Legal12>boolean</Legal12>
<LegalDate1>string</LegalDate1>
<LegalDate2>string</LegalDate2>
<LegalDate3>string</LegalDate3>
<LegalDate4>string</LegalDate4>
<LegalDate5>string</LegalDate5>
<LegalDate6>string</LegalDate6>
<LegalDate7>string</LegalDate7>
<LegalDate8>string</LegalDate8>
<LegalDate9>string</LegalDate9>
<LegalDate10>string</LegalDate10>
<LegalDate11>string</LegalDate11>
<LegalDate12>string</LegalDate12>
<COI>string</COI>
<Subcontractor>boolean</Subcontractor>
<ReplaceAllPricelists>boolean</ReplaceAllPricelists>
<ReplaceMatchingPricelists>boolean</ReplaceMatchingPricelists>
<BPay>string</BPay>
<Latitude>string</Latitude>
<Longitude>string</Longitude>
<EntityUseCode>string</EntityUseCode>
<CountryCode>string</CountryCode>
<DbaName>string</DbaName>
<HrTempID>string</HrTempID>
<ParentCustCode>string</ParentCustCode>
<PricingMatrixCode>string</PricingMatrixCode>
<CustContactsList>
<CustomerContact>
<CustContactID>string</CustContactID>
<CustLocationID>string</CustLocationID>
<CustLocationContactID>string</CustLocationContactID>
<ContactLName>string</ContactLName>
<ContactFName>string</ContactFName>
<ContactMName>string</ContactMName>
<Position>string</Position>
<SPersonCode>string</SPersonCode>
<Email>string</Email>
<Phone>string</Phone>
<Fax>string</Fax>
<Mobile>string</Mobile>
<Pager>string</Pager>
<Nextel>string</Nextel>
<HomePhone>string</HomePhone>
<ContactAddress>string</ContactAddress>
<ContactCity>string</ContactCity>
<StateProv>string</StateProv>
<OtherInfo>string</OtherInfo>
<AddressSameAsCust>boolean</AddressSameAsCust>
<Modified>boolean</Modified>
<Deleted>boolean</Deleted>
<Status>boolean</Status>
<ContactType>string</ContactType>
</CustomerContact>
<CustomerContact>
<CustContactID>string</CustContactID>
<CustLocationID>string</CustLocationID>
<CustLocationContactID>string</CustLocationContactID>
<ContactLName>string</ContactLName>
<ContactFName>string</ContactFName>
<ContactMName>string</ContactMName>
<Position>string</Position>
<SPersonCode>string</SPersonCode>
<Email>string</Email>
<Phone>string</Phone>
<Fax>string</Fax>
<Mobile>string</Mobile>
<Pager>string</Pager>
<Nextel>string</Nextel>
<HomePhone>string</HomePhone>
<ContactAddress>string</ContactAddress>
<ContactCity>string</ContactCity>
<StateProv>string</StateProv>
<OtherInfo>string</OtherInfo>
<AddressSameAsCust>boolean</AddressSameAsCust>
<Modified>boolean</Modified>
<Deleted>boolean</Deleted>
<Status>boolean</Status>
<ContactType>string</ContactType>
</CustomerContact>
</CustContactsList>
<CustCertificateList>
<CustomerCertificate>
<ActivityCode>string</ActivityCode>
<CustCertID>string</CustCertID>
<UnitEmp>string</UnitEmp>
<Modified>boolean</Modified>
<Deleted>boolean</Deleted>
</CustomerCertificate>
<CustomerCertificate>
<ActivityCode>string</ActivityCode>
<CustCertID>string</CustCertID>
<UnitEmp>string</UnitEmp>
<Modified>boolean</Modified>
<Deleted>boolean</Deleted>
</CustomerCertificate>
</CustCertificateList>
<CustCollectionList>
<Collection>
<CollectionID>string</CollectionID>
<CollectorID>string</CollectorID>
<CollectorName>string</CollectorName>
<CallDateTime>string</CallDateTime>
<TalkedTo>string</TalkedTo>
<FollowUpDateTime>string</FollowUpDateTime>
<CollectionNotes>string</CollectionNotes>
<Result>string</Result>
<Deleted>boolean</Deleted>
<Modified>boolean</Modified>
</Collection>
<Collection>
<CollectionID>string</CollectionID>
<CollectorID>string</CollectorID>
<CollectorName>string</CollectorName>
<CallDateTime>string</CallDateTime>
<TalkedTo>string</TalkedTo>
<FollowUpDateTime>string</FollowUpDateTime>
<CollectionNotes>string</CollectionNotes>
<Result>string</Result>
<Deleted>boolean</Deleted>
<Modified>boolean</Modified>
</Collection>
</CustCollectionList>
<CustBillToList>
<BillTo>
<BillToID>string</BillToID>
<Name>string</Name>
<CompanyName>string</CompanyName>
<Address>string</Address>
<City>string</City>
<StateCode>string</StateCode>
<Zip>string</Zip>
<Country>string</Country>
<Phone>string</Phone>
<BillContactID>string</BillContactID>
<Description>string</Description>
<Comments>string</Comments>
<Modified>boolean</Modified>
<Deleted>boolean</Deleted>
<Status>boolean</Status>
</BillTo>
<BillTo>
<BillToID>string</BillToID>
<Name>string</Name>
<CompanyName>string</CompanyName>
<Address>string</Address>
<City>string</City>
<StateCode>string</StateCode>
<Zip>string</Zip>
<Country>string</Country>
<Phone>string</Phone>
<BillContactID>string</BillContactID>
<Description>string</Description>
<Comments>string</Comments>
<Modified>boolean</Modified>
<Deleted>boolean</Deleted>
<Status>boolean</Status>
</BillTo>
</CustBillToList>
<Tasks>
<Task>
<TaskNo>string</TaskNo>
<Title>string</Title>
<Due>string</Due>
<Remind>string</Remind>
<Comments>string</Comments>
<RecordType>string</RecordType>
<TaskTypeID>string</TaskTypeID>
<TaskPriorityID>string</TaskPriorityID>
<Status>string</Status>
<Assignee>string</Assignee>
<Assigner>string</Assigner>
<CustCode>string</CustCode>
<QuoteNumb>string</QuoteNumb>
<GroupNumb>string</GroupNumb>
<Modified>boolean</Modified>
<Deleted>boolean</Deleted>
<NotifyAssignee>boolean</NotifyAssignee>
</Task>
<Task>
<TaskNo>string</TaskNo>
<Title>string</Title>
<Due>string</Due>
<Remind>string</Remind>
<Comments>string</Comments>
<RecordType>string</RecordType>
<TaskTypeID>string</TaskTypeID>
<TaskPriorityID>string</TaskPriorityID>
<Status>string</Status>
<Assignee>string</Assignee>
<Assigner>string</Assigner>
<CustCode>string</CustCode>
<QuoteNumb>string</QuoteNumb>
<GroupNumb>string</GroupNumb>
<Modified>boolean</Modified>
<Deleted>boolean</Deleted>
<NotifyAssignee>boolean</NotifyAssignee>
</Task>
</Tasks>
</Customer>
<MenuID>string</MenuID>
</CustomerSave>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CustomerSaveResponse xmlns="http://tempuri.org/">
<CustomerSaveResult>string</CustomerSaveResult>
</CustomerSaveResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /atom/atom.asmx HTTP/1.1
Host: atom.joycecrane.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<CustomerSave xmlns="http://tempuri.org/">
<UserName>string</UserName>
<Customer>
<OldCustCode>string</OldCustCode>
<CustCode>string</CustCode>
<GroupNumb>string</GroupNumb>
<CustName>string</CustName>
<CustName1>string</CustName1>
<SalesPerson>string</SalesPerson>
<Phone>string</Phone>
<Fax>string</Fax>
<Email>string</Email>
<Address1>string</Address1>
<Address2>string</Address2>
<City>string</City>
<State>string</State>
<Zip>string</Zip>
<Country>string</Country>
<Contact1>string</Contact1>
<Contact1ID>string</Contact1ID>
<Contact1Phone>string</Contact1Phone>
<Contact2>string</Contact2>
<Contact2ID>string</Contact2ID>
<Contact2Phone>string</Contact2Phone>
<BillingTerms>string</BillingTerms>
<Taxable>boolean</Taxable>
<Comments>string</Comments>
<TaxCode>string</TaxCode>
<Status>string</Status>
<IsNew>boolean</IsNew>
<IgnoreWarnings>boolean</IgnoreWarnings>
<AddJobSite>boolean</AddJobSite>
<Insurance>boolean</Insurance>
<InsuranceExpires>string</InsuranceExpires>
<GroupID>string</GroupID>
<LastNameFirst>boolean</LastNameFirst>
<PoRequire>boolean</PoRequire>
<IndustryCode>string</IndustryCode>
<Website>string</Website>
<PriceList>string</PriceList>
<CreditLimit>string</CreditLimit>
<PriceExpires>string</PriceExpires>
<EmailDocOK>boolean</EmailDocOK>
<ListMarkUp>string</ListMarkUp>
<MarkUpPerc>string</MarkUpPerc>
<TaxExempt>string</TaxExempt>
<PerOccranceAmt>string</PerOccranceAmt>
<BlanketInsuranceAmt>string</BlanketInsuranceAmt>
<ContractNumb>string</ContractNumb>
<StatementType>string</StatementType>
<DataState>string</DataState>
<Legal1>boolean</Legal1>
<Legal2>boolean</Legal2>
<Legal3>boolean</Legal3>
<Legal4>boolean</Legal4>
<Legal5>boolean</Legal5>
<Legal6>boolean</Legal6>
<Legal7>boolean</Legal7>
<Legal8>boolean</Legal8>
<Legal9>boolean</Legal9>
<Legal10>boolean</Legal10>
<Legal11>boolean</Legal11>
<Legal12>boolean</Legal12>
<LegalDate1>string</LegalDate1>
<LegalDate2>string</LegalDate2>
<LegalDate3>string</LegalDate3>
<LegalDate4>string</LegalDate4>
<LegalDate5>string</LegalDate5>
<LegalDate6>string</LegalDate6>
<LegalDate7>string</LegalDate7>
<LegalDate8>string</LegalDate8>
<LegalDate9>string</LegalDate9>
<LegalDate10>string</LegalDate10>
<LegalDate11>string</LegalDate11>
<LegalDate12>string</LegalDate12>
<COI>string</COI>
<Subcontractor>boolean</Subcontractor>
<ReplaceAllPricelists>boolean</ReplaceAllPricelists>
<ReplaceMatchingPricelists>boolean</ReplaceMatchingPricelists>
<BPay>string</BPay>
<Latitude>string</Latitude>
<Longitude>string</Longitude>
<EntityUseCode>string</EntityUseCode>
<CountryCode>string</CountryCode>
<DbaName>string</DbaName>
<HrTempID>string</HrTempID>
<ParentCustCode>string</ParentCustCode>
<PricingMatrixCode>string</PricingMatrixCode>
<CustContactsList>
<CustomerContact>
<CustContactID>string</CustContactID>
<CustLocationID>string</CustLocationID>
<CustLocationContactID>string</CustLocationContactID>
<ContactLName>string</ContactLName>
<ContactFName>string</ContactFName>
<ContactMName>string</ContactMName>
<Position>string</Position>
<SPersonCode>string</SPersonCode>
<Email>string</Email>
<Phone>string</Phone>
<Fax>string</Fax>
<Mobile>string</Mobile>
<Pager>string</Pager>
<Nextel>string</Nextel>
<HomePhone>string</HomePhone>
<ContactAddress>string</ContactAddress>
<ContactCity>string</ContactCity>
<StateProv>string</StateProv>
<OtherInfo>string</OtherInfo>
<AddressSameAsCust>boolean</AddressSameAsCust>
<Modified>boolean</Modified>
<Deleted>boolean</Deleted>
<Status>boolean</Status>
<ContactType>string</ContactType>
</CustomerContact>
<CustomerContact>
<CustContactID>string</CustContactID>
<CustLocationID>string</CustLocationID>
<CustLocationContactID>string</CustLocationContactID>
<ContactLName>string</ContactLName>
<ContactFName>string</ContactFName>
<ContactMName>string</ContactMName>
<Position>string</Position>
<SPersonCode>string</SPersonCode>
<Email>string</Email>
<Phone>string</Phone>
<Fax>string</Fax>
<Mobile>string</Mobile>
<Pager>string</Pager>
<Nextel>string</Nextel>
<HomePhone>string</HomePhone>
<ContactAddress>string</ContactAddress>
<ContactCity>string</ContactCity>
<StateProv>string</StateProv>
<OtherInfo>string</OtherInfo>
<AddressSameAsCust>boolean</AddressSameAsCust>
<Modified>boolean</Modified>
<Deleted>boolean</Deleted>
<Status>boolean</Status>
<ContactType>string</ContactType>
</CustomerContact>
</CustContactsList>
<CustCertificateList>
<CustomerCertificate>
<ActivityCode>string</ActivityCode>
<CustCertID>string</CustCertID>
<UnitEmp>string</UnitEmp>
<Modified>boolean</Modified>
<Deleted>boolean</Deleted>
</CustomerCertificate>
<CustomerCertificate>
<ActivityCode>string</ActivityCode>
<CustCertID>string</CustCertID>
<UnitEmp>string</UnitEmp>
<Modified>boolean</Modified>
<Deleted>boolean</Deleted>
</CustomerCertificate>
</CustCertificateList>
<CustCollectionList>
<Collection>
<CollectionID>string</CollectionID>
<CollectorID>string</CollectorID>
<CollectorName>string</CollectorName>
<CallDateTime>string</CallDateTime>
<TalkedTo>string</TalkedTo>
<FollowUpDateTime>string</FollowUpDateTime>
<CollectionNotes>string</CollectionNotes>
<Result>string</Result>
<Deleted>boolean</Deleted>
<Modified>boolean</Modified>
</Collection>
<Collection>
<CollectionID>string</CollectionID>
<CollectorID>string</CollectorID>
<CollectorName>string</CollectorName>
<CallDateTime>string</CallDateTime>
<TalkedTo>string</TalkedTo>
<FollowUpDateTime>string</FollowUpDateTime>
<CollectionNotes>string</CollectionNotes>
<Result>string</Result>
<Deleted>boolean</Deleted>
<Modified>boolean</Modified>
</Collection>
</CustCollectionList>
<CustBillToList>
<BillTo>
<BillToID>string</BillToID>
<Name>string</Name>
<CompanyName>string</CompanyName>
<Address>string</Address>
<City>string</City>
<StateCode>string</StateCode>
<Zip>string</Zip>
<Country>string</Country>
<Phone>string</Phone>
<BillContactID>string</BillContactID>
<Description>string</Description>
<Comments>string</Comments>
<Modified>boolean</Modified>
<Deleted>boolean</Deleted>
<Status>boolean</Status>
</BillTo>
<BillTo>
<BillToID>string</BillToID>
<Name>string</Name>
<CompanyName>string</CompanyName>
<Address>string</Address>
<City>string</City>
<StateCode>string</StateCode>
<Zip>string</Zip>
<Country>string</Country>
<Phone>string</Phone>
<BillContactID>string</BillContactID>
<Description>string</Description>
<Comments>string</Comments>
<Modified>boolean</Modified>
<Deleted>boolean</Deleted>
<Status>boolean</Status>
</BillTo>
</CustBillToList>
<Tasks>
<Task>
<TaskNo>string</TaskNo>
<Title>string</Title>
<Due>string</Due>
<Remind>string</Remind>
<Comments>string</Comments>
<RecordType>string</RecordType>
<TaskTypeID>string</TaskTypeID>
<TaskPriorityID>string</TaskPriorityID>
<Status>string</Status>
<Assignee>string</Assignee>
<Assigner>string</Assigner>
<CustCode>string</CustCode>
<QuoteNumb>string</QuoteNumb>
<GroupNumb>string</GroupNumb>
<Modified>boolean</Modified>
<Deleted>boolean</Deleted>
<NotifyAssignee>boolean</NotifyAssignee>
</Task>
<Task>
<TaskNo>string</TaskNo>
<Title>string</Title>
<Due>string</Due>
<Remind>string</Remind>
<Comments>string</Comments>
<RecordType>string</RecordType>
<TaskTypeID>string</TaskTypeID>
<TaskPriorityID>string</TaskPriorityID>
<Status>string</Status>
<Assignee>string</Assignee>
<Assigner>string</Assigner>
<CustCode>string</CustCode>
<QuoteNumb>string</QuoteNumb>
<GroupNumb>string</GroupNumb>
<Modified>boolean</Modified>
<Deleted>boolean</Deleted>
<NotifyAssignee>boolean</NotifyAssignee>
</Task>
</Tasks>
</Customer>
<MenuID>string</MenuID>
</CustomerSave>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<CustomerSaveResponse xmlns="http://tempuri.org/">
<CustomerSaveResult>string</CustomerSaveResult>
</CustomerSaveResponse>
</soap12:Body>
</soap12:Envelope>