POST api/Caliculate/BillingSave

Request Information

URI Parameters

None.

Body Parameters

BillingExt
NameDescriptionTypeAdditional information
FarmType

string

None.

AgentID

string

None.

AgentName

string

None.

AgentMobileNo

string

None.

CustAddress

string

None.

CutsPhoneNum

string

None.

BillingID

string

None.

BillNo

integer

None.

BillNoStr

string

None.

BillingDate

date

None.

CustomerName

string

None.

LocationID

string

None.

MachineID

string

None.

LocationName

string

None.

MachineName

string

None.

StartingTime

date

None.

EndingTime

date

None.

BreakStartTime

date

None.

BreakEndingTime

date

None.

FormerPrice

decimal number

None.

AgentPrice

decimal number

None.

DelarPrice

decimal number

None.

FormerBilling

decimal number

None.

AgentBilling

decimal number

None.

DelarBilling

decimal number

None.

BillingType

integer

None.

NumberOfAcras

decimal number

None.

WorkTypeStr

string

None.

WorkType

integer

None.

SubAgentName

string

None.

SubAgentMobileNo

string

None.

TotalHourse

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "FarmType": "sample string 1",
  "AgentID": "sample string 2",
  "AgentName": "sample string 3",
  "AgentMobileNo": "sample string 4",
  "CustAddress": "sample string 5",
  "CutsPhoneNum": "sample string 6",
  "BillingID": "sample string 7",
  "BillNo": 1,
  "BillNoStr": "sample string 8",
  "BillingDate": "2025-12-10T03:49:53.4661546+00:00",
  "CustomerName": "sample string 9",
  "LocationID": "sample string 10",
  "MachineID": "sample string 11",
  "LocationName": "sample string 12",
  "MachineName": "sample string 13",
  "StartingTime": "2025-12-10T03:49:53.4661546+00:00",
  "EndingTime": "2025-12-10T03:49:53.4661546+00:00",
  "BreakStartTime": "2025-12-10T03:49:53.4661546+00:00",
  "BreakEndingTime": "2025-12-10T03:49:53.4661546+00:00",
  "FormerPrice": 1.0,
  "AgentPrice": 1.0,
  "DelarPrice": 1.0,
  "FormerBilling": 1.0,
  "AgentBilling": 1.0,
  "DelarBilling": 1.0,
  "BillingType": 1,
  "NumberOfAcras": 1.0,
  "WorkTypeStr": "sample string 14",
  "WorkType": 15,
  "SubAgentName": "sample string 16",
  "SubAgentMobileNo": "sample string 17",
  "TotalHourse": 18.0
}

application/xml, text/xml

Sample:
<BillingExt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLayer">
  <AgentBilling>1</AgentBilling>
  <AgentID>sample string 2</AgentID>
  <AgentMobileNo>sample string 4</AgentMobileNo>
  <AgentName>sample string 3</AgentName>
  <AgentPrice>1</AgentPrice>
  <BillNo>1</BillNo>
  <BillNoStr>sample string 8</BillNoStr>
  <BillingDate>2025-12-10T03:49:53.4661546+00:00</BillingDate>
  <BillingID>sample string 7</BillingID>
  <BillingType>1</BillingType>
  <BreakEndingTime>2025-12-10T03:49:53.4661546+00:00</BreakEndingTime>
  <BreakStartTime>2025-12-10T03:49:53.4661546+00:00</BreakStartTime>
  <CustAddress>sample string 5</CustAddress>
  <CustomerName>sample string 9</CustomerName>
  <CutsPhoneNum>sample string 6</CutsPhoneNum>
  <DelarBilling>1</DelarBilling>
  <DelarPrice>1</DelarPrice>
  <EndingTime>2025-12-10T03:49:53.4661546+00:00</EndingTime>
  <FarmType>sample string 1</FarmType>
  <FormerBilling>1</FormerBilling>
  <FormerPrice>1</FormerPrice>
  <LocationID>sample string 10</LocationID>
  <LocationName>sample string 12</LocationName>
  <MachineID>sample string 11</MachineID>
  <MachineName>sample string 13</MachineName>
  <NumberOfAcras>1</NumberOfAcras>
  <StartingTime>2025-12-10T03:49:53.4661546+00:00</StartingTime>
  <SubAgentMobileNo>sample string 17</SubAgentMobileNo>
  <SubAgentName>sample string 16</SubAgentName>
  <TotalHourse>18</TotalHourse>
  <WorkType>15</WorkType>
  <WorkTypeStr>sample string 14</WorkTypeStr>
</BillingExt>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.