PUT api/rep/{repDID}/Update

Updates reps details based on the fields in the model

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repDID

string

Required

Body Parameters

RepsViewModel
NameDescriptionTypeAdditional information
Company

string

None.

FirstName

string

None.

LastName

string

None.

MI

string

None.

TaxID1

string

None.

JoinDate

date

None.

Email

string

None.

URL

string

None.

Password

string

None.

BillStreet1

string

None.

BillStreet2

string

None.

BillCity

string

None.

BillState

string

None.

BillPostalCode

string

None.

BillCounty

string

None.

BillCountry

string

None.

ShipStreet1

string

None.

ShipStreet2

string

None.

ShipCity

string

None.

ShipState

string

None.

ShipPostalCode

string

None.

ShipCounty

string

None.

ShipCountry

string

None.

Phone1

string

None.

Phone2

string

None.

Phone3

string

None.

Phone4

string

None.

Phone5

string

None.

Phone6

string

None.

ReplicatedSiteText

string

None.

RepTypeID

integer

None.

PictureFilename

string

None.

DateOfBirth

date

None.

DivisionID

integer

None.

Gender

string

None.

RepStatusTypeID

integer

None.

RenewalDate

date

None.

Request Formats

application/xml, text/xml

Sample:
<RepsViewModel>
  <Company>sample string 1</Company>
  <FirstName>sample string 2</FirstName>
  <LastName>sample string 3</LastName>
  <MI>sample string 4</MI>
  <TaxID1>sample string 5</TaxID1>
  <JoinDate>01/09/2025 01:48:37</JoinDate>
  <Email>sample string 7</Email>
  <URL>sample string 8</URL>
  <Password>sample string 9</Password>
  <BillStreet1>sample string 10</BillStreet1>
  <BillStreet2>sample string 11</BillStreet2>
  <BillCity>sample string 12</BillCity>
  <BillState>sample string 13</BillState>
  <BillPostalCode>sample string 14</BillPostalCode>
  <BillCounty>sample string 15</BillCounty>
  <BillCountry>sample string 16</BillCountry>
  <ShipStreet1>sample string 17</ShipStreet1>
  <ShipStreet2>sample string 18</ShipStreet2>
  <ShipCity>sample string 19</ShipCity>
  <ShipState>sample string 20</ShipState>
  <ShipPostalCode>sample string 21</ShipPostalCode>
  <ShipCounty>sample string 22</ShipCounty>
  <ShipCountry>sample string 23</ShipCountry>
  <Phone1>sample string 24</Phone1>
  <Phone2>sample string 25</Phone2>
  <Phone3>sample string 26</Phone3>
  <Phone4>sample string 27</Phone4>
  <Phone5>sample string 28</Phone5>
  <Phone6>sample string 29</Phone6>
  <ReplicatedSiteText>sample string 30</ReplicatedSiteText>
  <RepTypeID>31</RepTypeID>
  <PictureFilename>sample string 32</PictureFilename>
  <DateOfBirth>01/09/2025 01:48:37</DateOfBirth>
  <DivisionID>33</DivisionID>
  <Gender>sample string 34</Gender>
  <RepStatusTypeID>1</RepStatusTypeID>
  <RenewalDate>01/09/2025 01:48:37</RenewalDate>
</RepsViewModel>

application/json, text/json

Sample:
{
  "Company": "sample string 1",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "MI": "sample string 4",
  "TaxID1": "sample string 5",
  "JoinDate": "2025-01-09T01:48:37.1722246-05:00",
  "Email": "sample string 7",
  "URL": "sample string 8",
  "Password": "sample string 9",
  "BillStreet1": "sample string 10",
  "BillStreet2": "sample string 11",
  "BillCity": "sample string 12",
  "BillState": "sample string 13",
  "BillPostalCode": "sample string 14",
  "BillCounty": "sample string 15",
  "BillCountry": "sample string 16",
  "ShipStreet1": "sample string 17",
  "ShipStreet2": "sample string 18",
  "ShipCity": "sample string 19",
  "ShipState": "sample string 20",
  "ShipPostalCode": "sample string 21",
  "ShipCounty": "sample string 22",
  "ShipCountry": "sample string 23",
  "Phone1": "sample string 24",
  "Phone2": "sample string 25",
  "Phone3": "sample string 26",
  "Phone4": "sample string 27",
  "Phone5": "sample string 28",
  "Phone6": "sample string 29",
  "ReplicatedSiteText": "sample string 30",
  "RepTypeID": 31,
  "PictureFilename": "sample string 32",
  "DateOfBirth": "2025-01-09T01:48:37.1722246-05:00",
  "DivisionID": 33,
  "Gender": "sample string 34",
  "RepStatusTypeID": 1,
  "RenewalDate": "2025-01-09T01:48:37.1722246-05:00"
}

application/x-www-form-urlencoded

Sample:

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

Response Information

Resource Description

ApiResult
NameDescriptionTypeAdditional information
IsSuccessful

Whether the action was successful

boolean

None.

MessageTranslationKey

A translation key for any message that is returned. It will be the first of the messages if more than one exists.

string

None.

Message

Any message that needs to be conveyed related to the request. It will be the first of the messages if more than one exists.

string

None.

Messages

Any message that needs to be conveyed related to the request.

Collection of ApiResultMessage

None.

Response Formats

application/xml, text/xml, application/json, text/json

Sample:

Sample not available.