PartnerHub

<back to all web services

HubEndpointBilling

The following routes are available for this service:
All Verbs/HubEndpoint/Billing/{Date}
All Verbs/HubEndpoint/Billing

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/HubEndpointBilling HTTP/1.1 
Host: partnerhub.pbsdealers.com 
Content-Type: application/xml
Content-Length: length

<HubEndpointBilling xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub">
  <Date>0001-01-01T00:00:00</Date>
  <Endpoints>
    <HubEndpointBilling.EndpointItem>
      <Endpoint>
        <Description>String</Description>
        <Id>0</Id>
        <Password>String</Password>
        <Requests xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>String</d5p1:string>
        </Requests>
        <Type>Partner</Type>
        <URL>String</URL>
        <UserName>String</UserName>
      </Endpoint>
      <Subscriptions>
        <HubEndpointBilling.SubscriptionItem>
          <DealershipName>String</DealershipName>
          <Hits>0</Hits>
          <SerialNumber>String</SerialNumber>
        </HubEndpointBilling.SubscriptionItem>
      </Subscriptions>
    </HubEndpointBilling.EndpointItem>
  </Endpoints>
</HubEndpointBilling>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<HubEndpointBilling xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBS.PartnerHub">
  <Date>0001-01-01T00:00:00</Date>
  <Endpoints>
    <HubEndpointBilling.EndpointItem>
      <Endpoint>
        <Description>String</Description>
        <Id>0</Id>
        <Password>String</Password>
        <Requests xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>String</d5p1:string>
        </Requests>
        <Type>Partner</Type>
        <URL>String</URL>
        <UserName>String</UserName>
      </Endpoint>
      <Subscriptions>
        <HubEndpointBilling.SubscriptionItem>
          <DealershipName>String</DealershipName>
          <Hits>0</Hits>
          <SerialNumber>String</SerialNumber>
        </HubEndpointBilling.SubscriptionItem>
      </Subscriptions>
    </HubEndpointBilling.EndpointItem>
  </Endpoints>
</HubEndpointBilling>