PUT api/crm/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

CRMSubModel
NameDescriptionTypeAdditional information
CustomerCode

integer

None.

Date

date

None.

DealType

string

None.

Credit

string

None.

ProcessStage

string

None.

AvailableCash

decimal number

None.

RecordManager

string

None.

ProspectID

string

None.

LeadSource

string

None.

LastResults

string

None.

NoDeal

boolean

None.

Reason

string

None.

Notes

string

None.

VehicleStock

integer

None.

VehicleYear

string

None.

VehicleMake

string

None.

VehicleModel

string

None.

VehicleTrim

string

None.

VehiclePrice

decimal number

None.

TradeYear

string

None.

TradeMake

string

None.

TradeModel

string

None.

TradeTrim

string

None.

TradeOffer

decimal number

None.

TradeACV

decimal number

None.

AppointmentSalesman

string

None.

Showed

boolean

None.

IsEditing

boolean

None.

EditingBy

string

None.

LotName

string

None.

LastUpdated

date

None.

TradeMiles

integer

None.

LeadSourceId

integer

None.

TradeVIN

string

None.

CoProspectCode

integer

None.

TradePayoff

decimal number

None.

TradeLeinHolder

string

None.

TradePayoffDate

string

None.

PrescreenCode

string

None.

PrescreenOn

date

None.

Prospect

ProspectSubModel

None.

CoProspect

ProspectSubModel

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerCode": 1,
  "Date": "2025-07-05T06:21:21.3179326+00:00",
  "DealType": "sample string 3",
  "Credit": "sample string 4",
  "ProcessStage": "sample string 5",
  "AvailableCash": 6.0,
  "RecordManager": "sample string 7",
  "ProspectID": "sample string 8",
  "LeadSource": "sample string 9",
  "LastResults": "sample string 10",
  "NoDeal": true,
  "Reason": "sample string 12",
  "Notes": "sample string 13",
  "VehicleStock": 14,
  "VehicleYear": "sample string 15",
  "VehicleMake": "sample string 16",
  "VehicleModel": "sample string 17",
  "VehicleTrim": "sample string 18",
  "VehiclePrice": 19.0,
  "TradeYear": "sample string 20",
  "TradeMake": "sample string 21",
  "TradeModel": "sample string 22",
  "TradeTrim": "sample string 23",
  "TradeOffer": 24.0,
  "TradeACV": 25.0,
  "AppointmentSalesman": "sample string 26",
  "Showed": true,
  "IsEditing": true,
  "EditingBy": "sample string 29",
  "LotName": "sample string 30",
  "LastUpdated": "2025-07-05T06:21:21.3179326+00:00",
  "TradeMiles": 1,
  "LeadSourceId": 1,
  "TradeVIN": "sample string 32",
  "CoProspectCode": 33,
  "TradePayoff": 34.0,
  "TradeLeinHolder": "sample string 35",
  "TradePayoffDate": "sample string 36",
  "PrescreenCode": "sample string 37",
  "PrescreenOn": "2025-07-05T06:21:21.3179326+00:00",
  "Prospect": {
    "CustomerCode": 1,
    "FirstName": "sample string 2",
    "MiddleName": "sample string 3",
    "LastName": "sample string 4",
    "Address": "sample string 5",
    "City": "sample string 6",
    "State": "sample string 7",
    "Zip": "sample string 8",
    "Country": "sample string 9",
    "WorkPhone": "sample string 10",
    "HomePhone": "sample string 11",
    "CellPhone": "sample string 12",
    "Email": "sample string 13",
    "JobTitle": "sample string 14",
    "EmployerName": "sample string 15",
    "EmployerAddress": "sample string 16",
    "EmployerCity": "sample string 17",
    "EmployerState": "sample string 18",
    "EmployerZip": "sample string 19",
    "DOB": "2025-07-05T06:21:21.3179326+00:00",
    "SSN": "sample string 20",
    "DLN": "sample string 21",
    "IsSales": true,
    "IsService": true,
    "IsCRM": true,
    "InHouseServiceCustomer": true,
    "MonthlyIncome": 26,
    "TotalMonthsEmployed": 27,
    "MortgageOrRent": 28,
    "TotalMonthsAtAddress": 29,
    "EmploymentStatus": "sample string 30",
    "HousingStatus": "sample string 31",
    "PreviousAddress": "sample string 32",
    "PreviousCity": "sample string 33",
    "PreviousState": "sample string 34",
    "PreviousZip": "sample string 35",
    "PreviousEmployerName": "sample string 36",
    "PreviousJobTitle": "sample string 37",
    "PreviousWorkPhone": "sample string 38",
    "PreviousTotalMonthsEmployed": 1,
    "PreviousEmploymentStatus": "sample string 39"
  },
  "CoProspect": {
    "CustomerCode": 1,
    "FirstName": "sample string 2",
    "MiddleName": "sample string 3",
    "LastName": "sample string 4",
    "Address": "sample string 5",
    "City": "sample string 6",
    "State": "sample string 7",
    "Zip": "sample string 8",
    "Country": "sample string 9",
    "WorkPhone": "sample string 10",
    "HomePhone": "sample string 11",
    "CellPhone": "sample string 12",
    "Email": "sample string 13",
    "JobTitle": "sample string 14",
    "EmployerName": "sample string 15",
    "EmployerAddress": "sample string 16",
    "EmployerCity": "sample string 17",
    "EmployerState": "sample string 18",
    "EmployerZip": "sample string 19",
    "DOB": "2025-07-05T06:21:21.3179326+00:00",
    "SSN": "sample string 20",
    "DLN": "sample string 21",
    "IsSales": true,
    "IsService": true,
    "IsCRM": true,
    "InHouseServiceCustomer": true,
    "MonthlyIncome": 26,
    "TotalMonthsEmployed": 27,
    "MortgageOrRent": 28,
    "TotalMonthsAtAddress": 29,
    "EmploymentStatus": "sample string 30",
    "HousingStatus": "sample string 31",
    "PreviousAddress": "sample string 32",
    "PreviousCity": "sample string 33",
    "PreviousState": "sample string 34",
    "PreviousZip": "sample string 35",
    "PreviousEmployerName": "sample string 36",
    "PreviousJobTitle": "sample string 37",
    "PreviousWorkPhone": "sample string 38",
    "PreviousTotalMonthsEmployed": 1,
    "PreviousEmploymentStatus": "sample string 39"
  }
}

application/xml, text/xml

Sample:
<CRMSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.SubModels">
  <AppointmentSalesman>sample string 26</AppointmentSalesman>
  <AvailableCash>6</AvailableCash>
  <CoProspect>
    <Address>sample string 5</Address>
    <CellPhone>sample string 12</CellPhone>
    <City>sample string 6</City>
    <Country>sample string 9</Country>
    <CustomerCode>1</CustomerCode>
    <DLN>sample string 21</DLN>
    <DOB>2025-07-05T06:21:21.3179326+00:00</DOB>
    <Email>sample string 13</Email>
    <EmployerAddress>sample string 16</EmployerAddress>
    <EmployerCity>sample string 17</EmployerCity>
    <EmployerName>sample string 15</EmployerName>
    <EmployerState>sample string 18</EmployerState>
    <EmployerZip>sample string 19</EmployerZip>
    <EmploymentStatus>sample string 30</EmploymentStatus>
    <FirstName>sample string 2</FirstName>
    <HomePhone>sample string 11</HomePhone>
    <HousingStatus>sample string 31</HousingStatus>
    <InHouseServiceCustomer>true</InHouseServiceCustomer>
    <IsCRM>true</IsCRM>
    <IsSales>true</IsSales>
    <IsService>true</IsService>
    <JobTitle>sample string 14</JobTitle>
    <LastName>sample string 4</LastName>
    <MiddleName>sample string 3</MiddleName>
    <MonthlyIncome>26</MonthlyIncome>
    <MortgageOrRent>28</MortgageOrRent>
    <PreviousAddress>sample string 32</PreviousAddress>
    <PreviousCity>sample string 33</PreviousCity>
    <PreviousEmployerName>sample string 36</PreviousEmployerName>
    <PreviousEmploymentStatus>sample string 39</PreviousEmploymentStatus>
    <PreviousJobTitle>sample string 37</PreviousJobTitle>
    <PreviousState>sample string 34</PreviousState>
    <PreviousTotalMonthsEmployed>1</PreviousTotalMonthsEmployed>
    <PreviousWorkPhone>sample string 38</PreviousWorkPhone>
    <PreviousZip>sample string 35</PreviousZip>
    <SSN>sample string 20</SSN>
    <State>sample string 7</State>
    <TotalMonthsAtAddress>29</TotalMonthsAtAddress>
    <TotalMonthsEmployed>27</TotalMonthsEmployed>
    <WorkPhone>sample string 10</WorkPhone>
    <Zip>sample string 8</Zip>
  </CoProspect>
  <CoProspectCode>33</CoProspectCode>
  <Credit>sample string 4</Credit>
  <CustomerCode>1</CustomerCode>
  <Date>2025-07-05T06:21:21.3179326+00:00</Date>
  <DealType>sample string 3</DealType>
  <EditingBy>sample string 29</EditingBy>
  <IsEditing>true</IsEditing>
  <LastResults>sample string 10</LastResults>
  <LastUpdated>2025-07-05T06:21:21.3179326+00:00</LastUpdated>
  <LeadSource>sample string 9</LeadSource>
  <LeadSourceId>1</LeadSourceId>
  <LotName>sample string 30</LotName>
  <NoDeal>true</NoDeal>
  <Notes>sample string 13</Notes>
  <PrescreenCode>sample string 37</PrescreenCode>
  <PrescreenOn>2025-07-05T06:21:21.3179326+00:00</PrescreenOn>
  <ProcessStage>sample string 5</ProcessStage>
  <Prospect>
    <Address>sample string 5</Address>
    <CellPhone>sample string 12</CellPhone>
    <City>sample string 6</City>
    <Country>sample string 9</Country>
    <CustomerCode>1</CustomerCode>
    <DLN>sample string 21</DLN>
    <DOB>2025-07-05T06:21:21.3179326+00:00</DOB>
    <Email>sample string 13</Email>
    <EmployerAddress>sample string 16</EmployerAddress>
    <EmployerCity>sample string 17</EmployerCity>
    <EmployerName>sample string 15</EmployerName>
    <EmployerState>sample string 18</EmployerState>
    <EmployerZip>sample string 19</EmployerZip>
    <EmploymentStatus>sample string 30</EmploymentStatus>
    <FirstName>sample string 2</FirstName>
    <HomePhone>sample string 11</HomePhone>
    <HousingStatus>sample string 31</HousingStatus>
    <InHouseServiceCustomer>true</InHouseServiceCustomer>
    <IsCRM>true</IsCRM>
    <IsSales>true</IsSales>
    <IsService>true</IsService>
    <JobTitle>sample string 14</JobTitle>
    <LastName>sample string 4</LastName>
    <MiddleName>sample string 3</MiddleName>
    <MonthlyIncome>26</MonthlyIncome>
    <MortgageOrRent>28</MortgageOrRent>
    <PreviousAddress>sample string 32</PreviousAddress>
    <PreviousCity>sample string 33</PreviousCity>
    <PreviousEmployerName>sample string 36</PreviousEmployerName>
    <PreviousEmploymentStatus>sample string 39</PreviousEmploymentStatus>
    <PreviousJobTitle>sample string 37</PreviousJobTitle>
    <PreviousState>sample string 34</PreviousState>
    <PreviousTotalMonthsEmployed>1</PreviousTotalMonthsEmployed>
    <PreviousWorkPhone>sample string 38</PreviousWorkPhone>
    <PreviousZip>sample string 35</PreviousZip>
    <SSN>sample string 20</SSN>
    <State>sample string 7</State>
    <TotalMonthsAtAddress>29</TotalMonthsAtAddress>
    <TotalMonthsEmployed>27</TotalMonthsEmployed>
    <WorkPhone>sample string 10</WorkPhone>
    <Zip>sample string 8</Zip>
  </Prospect>
  <ProspectID>sample string 8</ProspectID>
  <Reason>sample string 12</Reason>
  <RecordManager>sample string 7</RecordManager>
  <Showed>true</Showed>
  <TradeACV>25</TradeACV>
  <TradeLeinHolder>sample string 35</TradeLeinHolder>
  <TradeMake>sample string 21</TradeMake>
  <TradeMiles>1</TradeMiles>
  <TradeModel>sample string 22</TradeModel>
  <TradeOffer>24</TradeOffer>
  <TradePayoff>34</TradePayoff>
  <TradePayoffDate>sample string 36</TradePayoffDate>
  <TradeTrim>sample string 23</TradeTrim>
  <TradeVIN>sample string 32</TradeVIN>
  <TradeYear>sample string 20</TradeYear>
  <VehicleMake>sample string 16</VehicleMake>
  <VehicleModel>sample string 17</VehicleModel>
  <VehiclePrice>19</VehiclePrice>
  <VehicleStock>14</VehicleStock>
  <VehicleTrim>sample string 18</VehicleTrim>
  <VehicleYear>sample string 15</VehicleYear>
</CRMSubModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CRMSubModel'

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.