POST api/SetupSDCompany/Onboarding/SetDefaultSettings
Request Information
URI Parameters
None.
Body Parameters
SDCompanyDTOMin| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId | integer |
None. |
|
| CompanyId | string |
None. |
|
| BillFromDispatchOrArrival | string |
None. |
|
| AutoBillClassCodes | boolean |
None. |
|
| AutoBillClockTime | boolean |
None. |
|
| PerHourRate | decimal number |
None. |
|
| MaterialMargin | decimal number |
None. |
|
| LaborCostPerHourRegular | decimal number |
None. |
|
| LaborCostPerHourOvertime | decimal number |
None. |
|
| BeginTime | time interval |
None. |
|
| EndTime | time interval |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountId": 1,
"CompanyId": "sample string 2",
"BillFromDispatchOrArrival": "sample string 3",
"AutoBillClassCodes": true,
"AutoBillClockTime": true,
"PerHourRate": 6.0,
"MaterialMargin": 7.0,
"LaborCostPerHourRegular": 8.0,
"LaborCostPerHourOvertime": 9.0,
"BeginTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567"
}
application/xml, text/xml
Sample:
<SDCompanyDTOMin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Setup"> <AccountId>1</AccountId> <AutoBillClassCodes>true</AutoBillClassCodes> <AutoBillClockTime>true</AutoBillClockTime> <BeginTime>PT0.1234567S</BeginTime> <BillFromDispatchOrArrival>sample string 3</BillFromDispatchOrArrival> <CompanyId>sample string 2</CompanyId> <EndTime>PT0.1234567S</EndTime> <LaborCostPerHourOvertime>9</LaborCostPerHourOvertime> <LaborCostPerHourRegular>8</LaborCostPerHourRegular> <MaterialMargin>7</MaterialMargin> <PerHourRate>6</PerHourRate> </SDCompanyDTOMin>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />