POST api/Dealers/{id}/SalesReps
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
SalesUserProfileDTOName | Description | Type | Additional information |
---|---|---|---|
AppUserId | integer |
None. |
|
SalesRepId | integer |
None. |
|
ManagerId | integer |
None. |
|
UserRoleId | UserRoleEnum |
None. |
|
UserTypeId | UserTypeEnum |
None. |
|
IsLockedOut | boolean |
None. |
|
CostCenter | string |
None. |
|
LegacyOrdersImportedOn | date |
None. |
|
IsVisibleToAllReps | boolean |
None. |
|
OrderSaveAlertIntervalMins | integer |
None. |
|
CanViewAllOrders | boolean |
None. |
|
IsLimitedTransferUser | boolean |
None. |
|
CanUploadConfigurators | boolean |
None. |
|
UserType | UserTypeEnum |
None. |
|
DealerEnablePersonalAddressToggle | boolean |
None. |
|
LastLogonDate | date |
None. |
|
CreatedDate | date |
None. |
|
DisabledDate | date |
None. |
|
DealerId | integer |
None. |
|
GroupIds | Collection of integer |
None. |
|
CanAccessAllGroups | boolean |
None. |
|
SalesTax | decimal number |
None. |
|
TaxFreight | boolean |
None. |
|
GPPercent | decimal number |
None. |
|
RoundToNearestDollar | boolean |
None. |
|
IsDefaultFreightPercent | boolean |
None. |
|
DefaultFreight | decimal number |
None. |
|
DefaultDeposit | decimal number |
None. |
|
FirstName | string |
None. |
|
MiddleName | string |
None. |
|
LastName | string |
None. |
|
MobilePhone | string |
None. |
|
FaxNumber | string |
None. |
|
string |
None. |
||
EmailConfirmed | boolean |
None. |
|
AddressLine1 | string |
None. |
|
AddressLine2 | string |
None. |
|
City | string |
None. |
|
StateProvinceId | integer |
None. |
|
CountryId | integer |
None. |
|
ZipCode | string |
None. |
|
UsePersonalAddressOnForms | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "AppUserId": 1, "SalesRepId": 2, "ManagerId": 1, "UserRoleId": 0, "UserTypeId": 0, "IsLockedOut": true, "CostCenter": "sample string 4", "LegacyOrdersImportedOn": "2025-08-29T01:14:31.7738395+00:00", "IsVisibleToAllReps": true, "OrderSaveAlertIntervalMins": 1, "CanViewAllOrders": true, "IsLimitedTransferUser": true, "CanUploadConfigurators": true, "UserType": 0, "DealerEnablePersonalAddressToggle": true, "LastLogonDate": "2025-08-29T01:14:31.7738395+00:00", "CreatedDate": "2025-08-29T01:14:31.7738395+00:00", "DisabledDate": "2025-08-29T01:14:31.7738395+00:00", "DealerId": 10, "GroupIds": [ 1, 2 ], "CanAccessAllGroups": true, "SalesTax": 12.0, "TaxFreight": true, "GPPercent": 1.0, "RoundToNearestDollar": true, "IsDefaultFreightPercent": true, "DefaultFreight": 1.0, "DefaultDeposit": 1.0, "FirstName": "sample string 16", "MiddleName": "sample string 17", "LastName": "sample string 18", "MobilePhone": "sample string 19", "FaxNumber": "sample string 20", "Email": "sample string 21", "EmailConfirmed": true, "AddressLine1": "sample string 23", "AddressLine2": "sample string 24", "City": "sample string 25", "StateProvinceId": 1, "CountryId": 1, "ZipCode": "sample string 26", "UsePersonalAddressOnForms": true }
text/html, multipart/form-data, application/zip
Sample:
{"AppUserId":1,"SalesRepId":2,"ManagerId":1,"UserRoleId":0,"UserTypeId":0,"IsLockedOut":true,"CostCenter":"sample string 4","LegacyOrdersImportedOn":"2025-08-29T01:14:31.7738395+00:00","IsVisibleToAllReps":true,"OrderSaveAlertIntervalMins":1,"CanViewAllOrders":true,"IsLimitedTransferUser":true,"CanUploadConfigurators":true,"UserType":0,"DealerEnablePersonalAddressToggle":true,"LastLogonDate":"2025-08-29T01:14:31.7738395+00:00","CreatedDate":"2025-08-29T01:14:31.7738395+00:00","DisabledDate":"2025-08-29T01:14:31.7738395+00:00","DealerId":10,"GroupIds":[1,2],"CanAccessAllGroups":true,"SalesTax":12.0,"TaxFreight":true,"GPPercent":1.0,"RoundToNearestDollar":true,"IsDefaultFreightPercent":true,"DefaultFreight":1.0,"DefaultDeposit":1.0,"FirstName":"sample string 16","MiddleName":"sample string 17","LastName":"sample string 18","MobilePhone":"sample string 19","FaxNumber":"sample string 20","Email":"sample string 21","EmailConfirmed":true,"AddressLine1":"sample string 23","AddressLine2":"sample string 24","City":"sample string 25","StateProvinceId":1,"CountryId":1,"ZipCode":"sample string 26","UsePersonalAddressOnForms":true}
application/xml, text/xml
Sample:
<SalesUserProfileDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DentaCad.DTO"> <AddressLine1>sample string 23</AddressLine1> <AddressLine2>sample string 24</AddressLine2> <AppUserId>1</AppUserId> <CanAccessAllGroups>true</CanAccessAllGroups> <CanUploadConfigurators>true</CanUploadConfigurators> <CanViewAllOrders>true</CanViewAllOrders> <City>sample string 25</City> <CostCenter>sample string 4</CostCenter> <CountryId>1</CountryId> <CreatedDate>2025-08-29T01:14:31.7738395+00:00</CreatedDate> <DealerEnablePersonalAddressToggle>true</DealerEnablePersonalAddressToggle> <DealerId>10</DealerId> <DefaultDeposit>1</DefaultDeposit> <DefaultFreight>1</DefaultFreight> <DisabledDate>2025-08-29T01:14:31.7738395+00:00</DisabledDate> <Email>sample string 21</Email> <EmailConfirmed>true</EmailConfirmed> <FaxNumber>sample string 20</FaxNumber> <FirstName>sample string 16</FirstName> <GPPercent>1</GPPercent> <GroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </GroupIds> <IsDefaultFreightPercent>true</IsDefaultFreightPercent> <IsLimitedTransferUser>true</IsLimitedTransferUser> <IsLockedOut>true</IsLockedOut> <IsVisibleToAllReps>true</IsVisibleToAllReps> <LastLogonDate>2025-08-29T01:14:31.7738395+00:00</LastLogonDate> <LastName>sample string 18</LastName> <LegacyOrdersImportedOn>2025-08-29T01:14:31.7738395+00:00</LegacyOrdersImportedOn> <ManagerId>1</ManagerId> <MiddleName>sample string 17</MiddleName> <MobilePhone>sample string 19</MobilePhone> <OrderSaveAlertIntervalMins>1</OrderSaveAlertIntervalMins> <RoundToNearestDollar>true</RoundToNearestDollar> <SalesRepId>2</SalesRepId> <SalesTax>12</SalesTax> <StateProvinceId>1</StateProvinceId> <TaxFreight>true</TaxFreight> <UsePersonalAddressOnForms>true</UsePersonalAddressOnForms> <UserRoleId>Unknown</UserRoleId> <UserType>NotSet</UserType> <UserTypeId>NotSet</UserTypeId> <ZipCode>sample string 26</ZipCode> </SalesUserProfileDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, multipart/form-data, application/zip, application/xml, text/xml
Sample:
Sample not available.