ClientService


Click here for a complete list of operations.

GetClientInformation

Get 24SevenOffice's client data for the client logged in

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 /Client/V001/ClientService.asmx HTTP/1.1
Host: api.24sevenoffice.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://24sevenOffice.com/webservices/GetClientInformation"

<?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>
    <GetClientInformation xmlns="http://24sevenOffice.com/webservices" />
  </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>
    <GetClientInformationResponse xmlns="http://24sevenOffice.com/webservices">
      <GetClientInformationResult>
        <AddressList>
          <Post>
            <Street>string</Street>
            <State>string</State>
            <PostalCode>string</PostalCode>
            <PostalArea>string</PostalArea>
            <Name>string</Name>
            <City>string</City>
            <Country>string</Country>
          </Post>
          <Delivery>
            <Street>string</Street>
            <State>string</State>
            <PostalCode>string</PostalCode>
            <PostalArea>string</PostalArea>
            <Name>string</Name>
            <City>string</City>
            <Country>string</Country>
          </Delivery>
          <Visit>
            <Street>string</Street>
            <State>string</State>
            <PostalCode>string</PostalCode>
            <PostalArea>string</PostalArea>
            <Name>string</Name>
            <City>string</City>
            <Country>string</Country>
          </Visit>
          <Invoice>
            <Street>string</Street>
            <State>string</State>
            <PostalCode>string</PostalCode>
            <PostalArea>string</PostalArea>
            <Name>string</Name>
            <City>string</City>
            <Country>string</Country>
          </Invoice>
        </AddressList>
        <Country>string</Country>
        <EmailAddressList>
          <Home>
            <Description>string</Description>
            <Name>string</Name>
            <Value>string</Value>
          </Home>
          <Invoice>
            <Description>string</Description>
            <Name>string</Name>
            <Value>string</Value>
          </Invoice>
          <Primary>
            <Description>string</Description>
            <Name>string</Name>
            <Value>string</Value>
          </Primary>
          <Work>
            <Description>string</Description>
            <Name>string</Name>
            <Value>string</Value>
          </Work>
          <Alternative>
            <Description>string</Description>
            <Name>string</Name>
            <Value>string</Value>
          </Alternative>
        </EmailAddressList>
        <FactoringClientNo>string</FactoringClientNo>
        <FactoringText>string</FactoringText>
        <FaxNumberList>
          <FaxNumber>
            <Type>Unknown or Work</Type>
            <Value>string</Value>
          </FaxNumber>
          <FaxNumber>
            <Type>Unknown or Work</Type>
            <Value>string</Value>
          </FaxNumber>
        </FaxNumberList>
        <IsUsingFactoring>boolean</IsUsingFactoring>
        <Name>string</Name>
        <PhoneNumberList>
          <Home>
            <Description>string</Description>
            <Value>string</Value>
          </Home>
          <Fax>
            <Description>string</Description>
            <Value>string</Value>
          </Fax>
          <Mobile>
            <Description>string</Description>
            <Value>string</Value>
          </Mobile>
          <Primary>
            <Description>string</Description>
            <Value>string</Value>
          </Primary>
          <Work>
            <Description>string</Description>
            <Value>string</Value>
          </Work>
        </PhoneNumberList>
        <ReminderDays>int</ReminderDays>
        <ReminderDays2>int</ReminderDays2>
        <ReminderDays3>int</ReminderDays3>
        <UserId>long</UserId>
        <BankAccount>string</BankAccount>
        <IBAN>string</IBAN>
        <OrganizationNumber>string</OrganizationNumber>
        <Swift>string</Swift>
        <ResellerId>long</ResellerId>
        <ResellerName>string</ResellerName>
        <DefaultCurrency>string</DefaultCurrency>
      </GetClientInformationResult>
    </GetClientInformationResponse>
  </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 /Client/V001/ClientService.asmx HTTP/1.1
Host: api.24sevenoffice.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>
    <GetClientInformation xmlns="http://24sevenOffice.com/webservices" />
  </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>
    <GetClientInformationResponse xmlns="http://24sevenOffice.com/webservices">
      <GetClientInformationResult>
        <AddressList>
          <Post>
            <Street>string</Street>
            <State>string</State>
            <PostalCode>string</PostalCode>
            <PostalArea>string</PostalArea>
            <Name>string</Name>
            <City>string</City>
            <Country>string</Country>
          </Post>
          <Delivery>
            <Street>string</Street>
            <State>string</State>
            <PostalCode>string</PostalCode>
            <PostalArea>string</PostalArea>
            <Name>string</Name>
            <City>string</City>
            <Country>string</Country>
          </Delivery>
          <Visit>
            <Street>string</Street>
            <State>string</State>
            <PostalCode>string</PostalCode>
            <PostalArea>string</PostalArea>
            <Name>string</Name>
            <City>string</City>
            <Country>string</Country>
          </Visit>
          <Invoice>
            <Street>string</Street>
            <State>string</State>
            <PostalCode>string</PostalCode>
            <PostalArea>string</PostalArea>
            <Name>string</Name>
            <City>string</City>
            <Country>string</Country>
          </Invoice>
        </AddressList>
        <Country>string</Country>
        <EmailAddressList>
          <Home>
            <Description>string</Description>
            <Name>string</Name>
            <Value>string</Value>
          </Home>
          <Invoice>
            <Description>string</Description>
            <Name>string</Name>
            <Value>string</Value>
          </Invoice>
          <Primary>
            <Description>string</Description>
            <Name>string</Name>
            <Value>string</Value>
          </Primary>
          <Work>
            <Description>string</Description>
            <Name>string</Name>
            <Value>string</Value>
          </Work>
          <Alternative>
            <Description>string</Description>
            <Name>string</Name>
            <Value>string</Value>
          </Alternative>
        </EmailAddressList>
        <FactoringClientNo>string</FactoringClientNo>
        <FactoringText>string</FactoringText>
        <FaxNumberList>
          <FaxNumber>
            <Type>Unknown or Work</Type>
            <Value>string</Value>
          </FaxNumber>
          <FaxNumber>
            <Type>Unknown or Work</Type>
            <Value>string</Value>
          </FaxNumber>
        </FaxNumberList>
        <IsUsingFactoring>boolean</IsUsingFactoring>
        <Name>string</Name>
        <PhoneNumberList>
          <Home>
            <Description>string</Description>
            <Value>string</Value>
          </Home>
          <Fax>
            <Description>string</Description>
            <Value>string</Value>
          </Fax>
          <Mobile>
            <Description>string</Description>
            <Value>string</Value>
          </Mobile>
          <Primary>
            <Description>string</Description>
            <Value>string</Value>
          </Primary>
          <Work>
            <Description>string</Description>
            <Value>string</Value>
          </Work>
        </PhoneNumberList>
        <ReminderDays>int</ReminderDays>
        <ReminderDays2>int</ReminderDays2>
        <ReminderDays3>int</ReminderDays3>
        <UserId>long</UserId>
        <BankAccount>string</BankAccount>
        <IBAN>string</IBAN>
        <OrganizationNumber>string</OrganizationNumber>
        <Swift>string</Swift>
        <ResellerId>long</ResellerId>
        <ResellerName>string</ResellerName>
        <DefaultCurrency>string</DefaultCurrency>
      </GetClientInformationResult>
    </GetClientInformationResponse>
  </soap12:Body>
</soap12:Envelope>