GET api/Deal/GetDealBuyerCoBuyerDTO?DealershipID={DealershipID}&BuyerID={BuyerID}

Gets Deal BuyerDTO.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DealershipID

integer

Required

BuyerID

integer

Required

Body Parameters

None.

Response Information

Resource Description

CustomerDTO
NameDescriptionTypeAdditional information
businessPartyDTO

BusinessPartyDTO

None.

customer

Customer

None.

Response Formats

application/json

Sample:
{
  "businessPartyDTO": {
    "person": {
      "BusinessID": 1,
      "FirstName": "sample string 2",
      "MiddleName": "sample string 3",
      "LastName": "sample string 4",
      "DOB": "2025-05-11T12:24:19.0875821-04:00",
      "SSN": "sample string 5",
      "SSNLast4": "*****ng 5",
      "DriverLicNo": "sample string 6",
      "MaritalStatusID": 1,
      "DLState": "sample string 7",
      "Occupation": "sample string 8",
      "CompanyName": "sample string 9"
    },
    "Address": {
      "AddressID": 1,
      "Street": "sample string 2",
      "StreetNo": "sample string 3",
      "ZIPCode": "sample string 4",
      "ZIPCodeExt": "sample string 5",
      "City": "sample string 6",
      "State": "sample string 7",
      "County": "sample string 8",
      "BuyerCityAddress": "sample string 6, sample string 7, sample string 4",
      "RecordState": 3
    },
    "MailingAddress": {
      "AddressID": 1,
      "Street": "sample string 2",
      "StreetNo": "sample string 3",
      "ZIPCode": "sample string 4",
      "ZIPCodeExt": "sample string 5",
      "City": "sample string 6",
      "State": "sample string 7",
      "County": "sample string 8",
      "BuyerCityAddress": "sample string 6, sample string 7, sample string 4",
      "RecordState": 3
    },
    "Phones": [
      {
        "PhoneID": 1,
        "PhoneNumber": "sample string 2",
        "PhoneNumberFormated": "sam-ple-stri",
        "PhoneNumberUnFormated": "samplestri",
        "PhoneTypeID": 1,
        "IsRemoved": true,
        "RecordState": 4
      },
      {
        "PhoneID": 1,
        "PhoneNumber": "samplestring2",
        "PhoneNumberFormated": "sam-ple-stri",
        "PhoneNumberUnFormated": "samplestri",
        "PhoneTypeID": 1,
        "IsRemoved": true,
        "RecordState": 4
      }
    ],
    "Emails": [
      {
        "EmailID": 1,
        "EmailAddress": "sample string 2",
        "EmailTypeID": 1,
        "IsRemoved": true,
        "RecordState": 4
      },
      {
        "EmailID": 1,
        "EmailAddress": "sample string 2",
        "EmailTypeID": 1,
        "IsRemoved": true,
        "RecordState": 4
      }
    ],
    "Cell": "sample string 1",
    "Fax": "sample string 2",
    "Work": "sample string 3",
    "Home": "sample string 4",
    "Email": "sample string 5",
    "CellId": 1,
    "FaxId": 1,
    "WorkId": 1,
    "HomeId": 1,
    "EmailId": 1,
    "BusinessID": 6,
    "BusinessName": "sample string 7",
    "DealershipID": 1,
    "BusinessTypeID": 64,
    "AddressID": 1,
    "InActive": true,
    "SoldAtID": 1,
    "MailingAddressID": 1,
    "CompanyTaxID": "sample string 10"
  },
  "customer": {
    "BusinessID": 1,
    "AddedOn": "2025-05-11T12:24:19.0875821-04:00",
    "TypeID": 3,
    "StatusID": 3,
    "LastLookedByID": 1,
    "AssignedToID": 1,
    "LeadSourceID": 1,
    "ModelYear": 1,
    "ModelID": 1,
    "SourceID": 1,
    "VehicleLeadID": 1,
    "VehicleID": 1,
    "CoBusinessID": 1,
    "mSoldAtID": 1,
    "mDealershipID": 1
  }
}

text/json

Sample:
{
  "businessPartyDTO": {
    "person": {
      "BusinessID": 1,
      "FirstName": "sample string 2",
      "MiddleName": "sample string 3",
      "LastName": "sample string 4",
      "DOB": "2025-05-11T12:24:19.0875821-04:00",
      "SSN": "sample string 5",
      "SSNLast4": "*****ng 5",
      "DriverLicNo": "sample string 6",
      "MaritalStatusID": 1,
      "DLState": "sample string 7",
      "Occupation": "sample string 8",
      "CompanyName": "sample string 9"
    },
    "Address": {
      "AddressID": 1,
      "Street": "sample string 2",
      "StreetNo": "sample string 3",
      "ZIPCode": "sample string 4",
      "ZIPCodeExt": "sample string 5",
      "City": "sample string 6",
      "State": "sample string 7",
      "County": "sample string 8",
      "BuyerCityAddress": "sample string 6, sample string 7, sample string 4",
      "RecordState": 3
    },
    "MailingAddress": {
      "AddressID": 1,
      "Street": "sample string 2",
      "StreetNo": "sample string 3",
      "ZIPCode": "sample string 4",
      "ZIPCodeExt": "sample string 5",
      "City": "sample string 6",
      "State": "sample string 7",
      "County": "sample string 8",
      "BuyerCityAddress": "sample string 6, sample string 7, sample string 4",
      "RecordState": 3
    },
    "Phones": [
      {
        "PhoneID": 1,
        "PhoneNumber": "samplestring2",
        "PhoneNumberFormated": "sam-ple-stri",
        "PhoneNumberUnFormated": "samplestri",
        "PhoneTypeID": 1,
        "IsRemoved": true,
        "RecordState": 4
      },
      {
        "PhoneID": 1,
        "PhoneNumber": "samplestring2",
        "PhoneNumberFormated": "sam-ple-stri",
        "PhoneNumberUnFormated": "samplestri",
        "PhoneTypeID": 1,
        "IsRemoved": true,
        "RecordState": 4
      }
    ],
    "Emails": [
      {
        "EmailID": 1,
        "EmailAddress": "sample string 2",
        "EmailTypeID": 1,
        "IsRemoved": true,
        "RecordState": 4
      },
      {
        "EmailID": 1,
        "EmailAddress": "sample string 2",
        "EmailTypeID": 1,
        "IsRemoved": true,
        "RecordState": 4
      }
    ],
    "Cell": "sample string 1",
    "Fax": "sample string 2",
    "Work": "sample string 3",
    "Home": "sample string 4",
    "Email": "sample string 5",
    "CellId": 1,
    "FaxId": 1,
    "WorkId": 1,
    "HomeId": 1,
    "EmailId": 1,
    "BusinessID": 6,
    "BusinessName": "sample string 7",
    "DealershipID": 1,
    "BusinessTypeID": 64,
    "AddressID": 1,
    "InActive": true,
    "SoldAtID": 1,
    "MailingAddressID": 1,
    "CompanyTaxID": "sample string 10"
  },
  "customer": {
    "BusinessID": 1,
    "AddedOn": "2025-05-11T12:24:19.0875821-04:00",
    "TypeID": 3,
    "StatusID": 3,
    "LastLookedByID": 1,
    "AssignedToID": 1,
    "LeadSourceID": 1,
    "ModelYear": 1,
    "ModelID": 1,
    "SourceID": 1,
    "VehicleLeadID": 1,
    "VehicleID": 1,
    "CoBusinessID": 1,
    "mSoldAtID": 1,
    "mDealershipID": 1
  }
}

application/xml, text/xml

Sample:
<CustomerDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DC.Core.Model">
  <businessPartyDTO>
    <AddressID>1</AddressID>
    <BusinessID>6</BusinessID>
    <BusinessName>sample string 7</BusinessName>
    <BusinessTypeID>64</BusinessTypeID>
    <CompanyTaxID>sample string 10</CompanyTaxID>
    <DealershipID>1</DealershipID>
    <InActive>true</InActive>
    <MailingAddressID>1</MailingAddressID>
    <SoldAtID>1</SoldAtID>
    <Address>
      <AddressID>1</AddressID>
      <City>sample string 6</City>
      <County>sample string 8</County>
      <State>sample string 7</State>
      <Street>sample string 2</Street>
      <StreetNo>sample string 3</StreetNo>
      <ZIPCode>sample string 4</ZIPCode>
      <ZIPCodeExt>sample string 5</ZIPCodeExt>
    </Address>
    <Cell>sample string 1</Cell>
    <CellId>1</CellId>
    <Email>sample string 5</Email>
    <EmailId>1</EmailId>
    <Emails>
      <Email>
        <EmailAddress>sample string 2</EmailAddress>
        <EmailID>1</EmailID>
        <EmailTypeID>Email</EmailTypeID>
        <IsRemoved>true</IsRemoved>
      </Email>
      <Email>
        <EmailAddress>sample string 2</EmailAddress>
        <EmailID>1</EmailID>
        <EmailTypeID>Email</EmailTypeID>
        <IsRemoved>true</IsRemoved>
      </Email>
    </Emails>
    <Fax>sample string 2</Fax>
    <FaxId>1</FaxId>
    <Home>sample string 4</Home>
    <HomeId>1</HomeId>
    <MailingAddress>
      <AddressID>1</AddressID>
      <City>sample string 6</City>
      <County>sample string 8</County>
      <State>sample string 7</State>
      <Street>sample string 2</Street>
      <StreetNo>sample string 3</StreetNo>
      <ZIPCode>sample string 4</ZIPCode>
      <ZIPCodeExt>sample string 5</ZIPCodeExt>
    </MailingAddress>
    <Phones>
      <Phone>
        <IsRemoved>true</IsRemoved>
        <PhoneID>1</PhoneID>
        <PhoneNumber>samplestring2</PhoneNumber>
        <PhoneTypeID>Cell</PhoneTypeID>
      </Phone>
      <Phone>
        <IsRemoved>true</IsRemoved>
        <PhoneID>1</PhoneID>
        <PhoneNumber>samplestring2</PhoneNumber>
        <PhoneTypeID>Cell</PhoneTypeID>
      </Phone>
    </Phones>
    <Work>sample string 3</Work>
    <WorkId>1</WorkId>
    <person>
      <BusinessID>1</BusinessID>
      <CompanyName>sample string 9</CompanyName>
      <DLState>sample string 7</DLState>
      <DOB>2025-05-11T12:24:19.0875821-04:00</DOB>
      <DriverLicNo>sample string 6</DriverLicNo>
      <FirstName>sample string 2</FirstName>
      <LastName>sample string 4</LastName>
      <MaritalStatusID>Married</MaritalStatusID>
      <MiddleName>sample string 3</MiddleName>
      <Occupation>sample string 8</Occupation>
      <SSN>sample string 5</SSN>
    </person>
  </businessPartyDTO>
  <customer>
    <AddedOn>2025-05-11T12:24:19.0875821-04:00</AddedOn>
    <AssignedToID>1</AssignedToID>
    <BusinessID>1</BusinessID>
    <CoBusinessID>1</CoBusinessID>
    <LastLookedByID>1</LastLookedByID>
    <LeadSourceID>1</LeadSourceID>
    <ModelID>1</ModelID>
    <ModelYear>1</ModelYear>
    <SourceID>1</SourceID>
    <StatusID>3</StatusID>
    <TypeID>Walk_In</TypeID>
    <VehicleID>1</VehicleID>
    <VehicleLeadID>1</VehicleLeadID>
    <mDealershipID>1</mDealershipID>
    <mSoldAtID>1</mSoldAtID>
  </customer>
</CustomerDTO>