PUT api/SalesPersons?token={token}&userlogin={userlogin}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
Required |
|
| userlogin | string |
Required |
Body Parameters
SalesPersonsBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserLogin | string |
Required |
|
| Prefix | string |
Required |
|
| LastIncrement | integer |
Required |
|
| Token | string |
Required |
|
| LastLogin | string |
Required |
|
| StoredDays | integer |
Required |
|
| DefaultPaymentTerm | string |
Required |
|
| DefaultCurrency | string |
Required |
|
| LastSync | string |
Required |
|
| SerialID | string |
None. |
|
| CurrentVersion | string |
None. |
|
| TransactionLastIncrement | integer |
Required |
|
| DefaultGraph | string |
None. |
|
| AppTheme | string |
None. |
|
| AutoLogin | boolean |
None. |
|
| UseFingerPrint | boolean |
None. |
|
| VibrateOnNotification | boolean |
None. |
|
| SoundOnNotification | boolean |
None. |
|
| TimeToForceSync | integer |
None. |
|
| startDay | byte |
None. |
|
| endDay | byte |
None. |
|
| startTime | string |
None. |
|
| endTime | string |
None. |
|
| frecuencyGPS | byte |
None. |
|
| SetTrakingGps | boolean |
None. |
|
| StoredDaysClaims | integer |
None. |
|
| TermsAcepted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserLogin": "sample string 1",
"Prefix": "sample string 2",
"LastIncrement": 1,
"Token": "sample string 3",
"LastLogin": "sample string 4",
"StoredDays": 1,
"DefaultPaymentTerm": "sample string 5",
"DefaultCurrency": "sample string 6",
"LastSync": "sample string 7",
"SerialID": "sample string 8",
"CurrentVersion": "sample string 9",
"TransactionLastIncrement": 1,
"DefaultGraph": "sample string 10",
"AppTheme": "sample string 11",
"AutoLogin": true,
"UseFingerPrint": true,
"VibrateOnNotification": true,
"SoundOnNotification": true,
"TimeToForceSync": 1,
"startDay": 64,
"endDay": 64,
"startTime": "sample string 12",
"endTime": "sample string 13",
"frecuencyGPS": 64,
"SetTrakingGps": true,
"StoredDaysClaims": 1,
"TermsAcepted": true
}
application/xml, text/xml
Sample:
<SalesPersonsBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MaxSalesApi.Models"> <AppTheme>sample string 11</AppTheme> <AutoLogin>true</AutoLogin> <CurrentVersion>sample string 9</CurrentVersion> <DefaultCurrency>sample string 6</DefaultCurrency> <DefaultGraph>sample string 10</DefaultGraph> <DefaultPaymentTerm>sample string 5</DefaultPaymentTerm> <LastIncrement>1</LastIncrement> <LastLogin>sample string 4</LastLogin> <LastSync>sample string 7</LastSync> <Prefix>sample string 2</Prefix> <SerialID>sample string 8</SerialID> <SetTrakingGps>true</SetTrakingGps> <SoundOnNotification>true</SoundOnNotification> <StoredDays>1</StoredDays> <StoredDaysClaims>1</StoredDaysClaims> <TermsAcepted>true</TermsAcepted> <TimeToForceSync>1</TimeToForceSync> <Token>sample string 3</Token> <TransactionLastIncrement>1</TransactionLastIncrement> <UseFingerPrint>true</UseFingerPrint> <UserLogin>sample string 1</UserLogin> <VibrateOnNotification>true</VibrateOnNotification> <endDay>64</endDay> <endTime>sample string 13</endTime> <frecuencyGPS>64</frecuencyGPS> <startDay>64</startDay> <startTime>sample string 12</startTime> </SalesPersonsBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.