PUT api/rep/{repDID}/Update
Updates reps details based on the fields in the model
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| repDID | string |
Required |
Body Parameters
RepsViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Company | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| MI | string |
None. |
|
| TaxID1 | string |
None. |
|
| JoinDate | date |
None. |
|
| 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. |
|
| LinkedCustomerDID | string |
None. |
|
| DefaultLocaleID | integer |
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>10/24/2025 18:04:44</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>10/24/2025 18:04:44</DateOfBirth> <DivisionID>33</DivisionID> <Gender>sample string 34</Gender> <RepStatusTypeID>1</RepStatusTypeID> <RenewalDate>10/24/2025 18:04:44</RenewalDate> <LinkedCustomerDID>sample string 35</LinkedCustomerDID> <DefaultLocaleID>1</DefaultLocaleID> </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-10-24T18:04:44.9787135-04: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-10-24T18:04:44.9787135-04:00",
"DivisionID": 33,
"Gender": "sample string 34",
"RepStatusTypeID": 1,
"RenewalDate": "2025-10-24T18:04:44.9787135-04:00",
"LinkedCustomerDID": "sample string 35",
"DefaultLocaleID": 1
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiResult| Name | Description | Type | Additional 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.