POST
http://appapi.sunhouse.com.vn/api/HR/SendApprovalVehic

Gửi duyệt đề nghị thanh toán cho lái xe

Yêu cầu

URI Parameters

None.

Body Parameters

SHPaymentVehicleRequest_ViewModel
NameDescriptionTypeAdditional information
Id

string

None.

Division

integer

None.

RefAmount

string

None.

RequestStatus

string

None.

RequestTitle

string

None.

RequestContent

string

None.

RequestNumber

string

None.

UserName

string

None.

FullName

string

None.

Costcenter

string

None.

RequestDate

date

None.

PayNeedDate

date

None.

PayMode

string

None.

PayType

string

None.

PayHandler

string

None.

RequestType

string

None.

RequestLevel

integer

None.

RequestLevelName

string

None.

RequestNote

string

None.

ConfirmDate

date

None.

ActualPayDate

date

None.

ActualAmount

decimal number

None.

BankAccount

string

None.

BankAccountOwner

string

None.

BankName

string

None.

BankAgency

string

None.

CostUnit

string

None.

AccountNumber

string

None.

AccountingNote

string

None.

TotalAmount

decimal number

None.

VatAmount

decimal number

None.

IsActive

boolean

None.

TransactionDate

date

None.

VehicleId

string

None.

DateSearch

date

None.

SysLog

string

None.

CreateDate

date

None.

CreateBy

string

None.

listPaymentPay

Collection of SHPaymentPay_ViewModel

None.

listVehicleInvoice

Collection of SHPaymentVehicleInvoice_ViewModel

None.

listVehicleBooking

Collection of SHPaymentVehicleBooking_ViewModel

None.

listAproval

Collection of SHWorkflowProcessUsers_ViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Division": 2,
  "RefAmount": "sample string 3",
  "RequestStatus": "sample string 4",
  "RequestTitle": "sample string 5",
  "RequestContent": "sample string 6",
  "RequestNumber": "sample string 7",
  "UserName": "sample string 8",
  "FullName": "sample string 9",
  "Costcenter": "sample string 10",
  "RequestDate": "2024-10-30T19:10:13.4898834+07:00",
  "PayNeedDate": "2024-10-30T19:10:13.4898834+07:00",
  "PayMode": "sample string 13",
  "PayType": "sample string 14",
  "PayHandler": "sample string 15",
  "RequestType": "sample string 16",
  "RequestLevel": 17,
  "RequestLevelName": "sample string 18",
  "RequestNote": "sample string 19",
  "ConfirmDate": "2024-10-30T19:10:13.4898834+07:00",
  "ActualPayDate": "2024-10-30T19:10:13.4898834+07:00",
  "ActualAmount": 1.1,
  "BankAccount": "sample string 20",
  "BankAccountOwner": "sample string 21",
  "BankName": "sample string 22",
  "BankAgency": "sample string 23",
  "CostUnit": "sample string 24",
  "AccountNumber": "sample string 25",
  "AccountingNote": "sample string 26",
  "TotalAmount": 27.1,
  "VatAmount": 28.1,
  "IsActive": true,
  "TransactionDate": "2024-10-30T19:10:13.4898834+07:00",
  "VehicleId": "sample string 30",
  "DateSearch": "2024-10-30T19:10:13.4898834+07:00",
  "SysLog": "sample string 31",
  "CreateDate": "2024-10-30T19:10:13.4898834+07:00",
  "CreateBy": "sample string 32",
  "listPaymentPay": [
    {
      "Id": "sample string 1",
      "KeyId": "sample string 2",
      "RequestId": "sample string 3",
      "PayType": "sample string 4",
      "cmp_wwn": "sample string 5",
      "SwiftCode": "sample string 6",
      "BID": "sample string 7",
      "BankAccount": "sample string 8",
      "BenBankAddress": "sample string 9",
      "BenAddress": "sample string 10",
      "BankAccountOwner": "sample string 11",
      "BankName": "sample string 12",
      "BankAgency": "sample string 13",
      "BankAmount": 14.1,
      "Amount": 15.1,
      "UserName": "sample string 16",
      "IsActive": true,
      "CreateBy": "sample string 18",
      "CreateDate": "2024-10-30T19:10:13.4898834+07:00",
      "ModifyDate": "2024-10-30T19:10:13.4898834+07:00",
      "ModifyBy": "sample string 21",
      "PayDate": "2024-10-30T19:10:13.4898834+07:00",
      "strPayDate": "2024-10-30",
      "FullName": "sample string 23",
      "costcenter": "sample string 24",
      "IsErrImportPayInformation": true,
      "Cmp_code": "sample string 26",
      "strPayNeedDate": "sample string 27"
    },
    {
      "Id": "sample string 1",
      "KeyId": "sample string 2",
      "RequestId": "sample string 3",
      "PayType": "sample string 4",
      "cmp_wwn": "sample string 5",
      "SwiftCode": "sample string 6",
      "BID": "sample string 7",
      "BankAccount": "sample string 8",
      "BenBankAddress": "sample string 9",
      "BenAddress": "sample string 10",
      "BankAccountOwner": "sample string 11",
      "BankName": "sample string 12",
      "BankAgency": "sample string 13",
      "BankAmount": 14.1,
      "Amount": 15.1,
      "UserName": "sample string 16",
      "IsActive": true,
      "CreateBy": "sample string 18",
      "CreateDate": "2024-10-30T19:10:13.4898834+07:00",
      "ModifyDate": "2024-10-30T19:10:13.4898834+07:00",
      "ModifyBy": "sample string 21",
      "PayDate": "2024-10-30T19:10:13.4898834+07:00",
      "strPayDate": "2024-10-30",
      "FullName": "sample string 23",
      "costcenter": "sample string 24",
      "IsErrImportPayInformation": true,
      "Cmp_code": "sample string 26",
      "strPayNeedDate": "sample string 27"
    }
  ],
  "listVehicleInvoice": [
    {
      "Id": "sample string 1",
      "RequestId": "sample string 2",
      "InvoiceNumber": "sample string 3",
      "Symbol": "sample string 4",
      "AmountVatBefore": 5.1,
      "Vat": 6.1,
      "TotalAmount": 7.1,
      "QuantityPetro": 8.1,
      "CreateBy": "sample string 9",
      "CreateDate": "2024-10-30T19:10:13.4898834+07:00"
    },
    {
      "Id": "sample string 1",
      "RequestId": "sample string 2",
      "InvoiceNumber": "sample string 3",
      "Symbol": "sample string 4",
      "AmountVatBefore": 5.1,
      "Vat": 6.1,
      "TotalAmount": 7.1,
      "QuantityPetro": 8.1,
      "CreateBy": "sample string 9",
      "CreateDate": "2024-10-30T19:10:13.4898834+07:00"
    }
  ],
  "listVehicleBooking": [
    {
      "Id": "sample string 1",
      "RequestId": "sample string 2",
      "VehicleBookingId": "sample string 3",
      "StartPoint": "sample string 4",
      "EndPoint": "sample string 5",
      "OdoStart": 6.1,
      "OdoEnd": 7.1,
      "TotalKm": 8.1,
      "GasNumber": 9.1,
      "GasFee": 10.1,
      "Vat": 11.1,
      "BusinessFee": 12.1,
      "BOTFee": 13.1,
      "OtherFee": 14.1,
      "CostCenter": "sample string 15",
      "Active": true,
      "CreateBy": "sample string 17",
      "CreateDate": "2024-10-30T19:10:13.5055092+07:00"
    },
    {
      "Id": "sample string 1",
      "RequestId": "sample string 2",
      "VehicleBookingId": "sample string 3",
      "StartPoint": "sample string 4",
      "EndPoint": "sample string 5",
      "OdoStart": 6.1,
      "OdoEnd": 7.1,
      "TotalKm": 8.1,
      "GasNumber": 9.1,
      "GasFee": 10.1,
      "Vat": 11.1,
      "BusinessFee": 12.1,
      "BOTFee": 13.1,
      "OtherFee": 14.1,
      "CostCenter": "sample string 15",
      "Active": true,
      "CreateBy": "sample string 17",
      "CreateDate": "2024-10-30T19:10:13.5055092+07:00"
    }
  ],
  "listAproval": [
    {
      "Id": 1,
      "ProcessId": "sample string 2",
      "WFCode": "sample string 3",
      "ProcessLevel": 4,
      "ProcessLevelName": "sample string 5",
      "UserName": "sample string 6",
      "CostCenter": "sample string 7",
      "CostCenterName": "sample string 8",
      "JobTitle": "sample string 9",
      "ActionKey": "sample string 10",
      "ActionTime": "2024-10-30T19:10:13.5055092+07:00",
      "ActionNote": "sample string 11",
      "CreateDate": "2024-10-30T19:10:13.5055092+07:00",
      "CreateBy": "sample string 13",
      "strActionTime": "30/10/2024",
      "FullName": "sample string 14",
      "Email": "sample string 15",
      "IsApproval": true,
      "ProcessTableName": "sample string 17",
      "strActionKey": ""
    },
    {
      "Id": 1,
      "ProcessId": "sample string 2",
      "WFCode": "sample string 3",
      "ProcessLevel": 4,
      "ProcessLevelName": "sample string 5",
      "UserName": "sample string 6",
      "CostCenter": "sample string 7",
      "CostCenterName": "sample string 8",
      "JobTitle": "sample string 9",
      "ActionKey": "sample string 10",
      "ActionTime": "2024-10-30T19:10:13.5055092+07:00",
      "ActionNote": "sample string 11",
      "CreateDate": "2024-10-30T19:10:13.5055092+07:00",
      "CreateBy": "sample string 13",
      "strActionTime": "30/10/2024",
      "FullName": "sample string 14",
      "Email": "sample string 15",
      "IsApproval": true,
      "ProcessTableName": "sample string 17",
      "strActionKey": ""
    }
  ]
}

application/xml, text/xml

Sample:
<SHPaymentVehicleRequest_ViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SH.KPI.Model">
  <AccountNumber>sample string 25</AccountNumber>
  <AccountingNote>sample string 26</AccountingNote>
  <ActualAmount>1.1</ActualAmount>
  <ActualPayDate>2024-10-30T19:10:13.4898834+07:00</ActualPayDate>
  <BankAccount>sample string 20</BankAccount>
  <BankAccountOwner>sample string 21</BankAccountOwner>
  <BankAgency>sample string 23</BankAgency>
  <BankName>sample string 22</BankName>
  <ConfirmDate>2024-10-30T19:10:13.4898834+07:00</ConfirmDate>
  <CostUnit>sample string 24</CostUnit>
  <Costcenter>sample string 10</Costcenter>
  <CreateBy>sample string 32</CreateBy>
  <CreateDate>2024-10-30T19:10:13.4898834+07:00</CreateDate>
  <DateSearch>2024-10-30T19:10:13.4898834+07:00</DateSearch>
  <Division>2</Division>
  <FullName>sample string 9</FullName>
  <Id>sample string 1</Id>
  <IsActive>true</IsActive>
  <PayHandler>sample string 15</PayHandler>
  <PayMode>sample string 13</PayMode>
  <PayNeedDate>2024-10-30T19:10:13.4898834+07:00</PayNeedDate>
  <PayType>sample string 14</PayType>
  <RefAmount>sample string 3</RefAmount>
  <RequestContent>sample string 6</RequestContent>
  <RequestDate>2024-10-30T19:10:13.4898834+07:00</RequestDate>
  <RequestLevel>17</RequestLevel>
  <RequestLevelName>sample string 18</RequestLevelName>
  <RequestNote>sample string 19</RequestNote>
  <RequestNumber>sample string 7</RequestNumber>
  <RequestStatus>sample string 4</RequestStatus>
  <RequestTitle>sample string 5</RequestTitle>
  <RequestType>sample string 16</RequestType>
  <SysLog>sample string 31</SysLog>
  <TotalAmount>27.1</TotalAmount>
  <TransactionDate>2024-10-30T19:10:13.4898834+07:00</TransactionDate>
  <UserName>sample string 8</UserName>
  <VatAmount>28.1</VatAmount>
  <VehicleId>sample string 30</VehicleId>
  <listAproval>
    <SHWorkflowProcessUsers_ViewModel>
      <ActionKey>sample string 10</ActionKey>
      <ActionNote>sample string 11</ActionNote>
      <ActionTime>2024-10-30T19:10:13.5055092+07:00</ActionTime>
      <CostCenter>sample string 7</CostCenter>
      <CostCenterName>sample string 8</CostCenterName>
      <CreateBy>sample string 13</CreateBy>
      <CreateDate>2024-10-30T19:10:13.5055092+07:00</CreateDate>
      <Email>sample string 15</Email>
      <FullName>sample string 14</FullName>
      <Id>1</Id>
      <IsApproval>true</IsApproval>
      <JobTitle>sample string 9</JobTitle>
      <ProcessId>sample string 2</ProcessId>
      <ProcessLevel>4</ProcessLevel>
      <ProcessLevelName>sample string 5</ProcessLevelName>
      <ProcessTableName>sample string 17</ProcessTableName>
      <UserName>sample string 6</UserName>
      <WFCode>sample string 3</WFCode>
    </SHWorkflowProcessUsers_ViewModel>
    <SHWorkflowProcessUsers_ViewModel>
      <ActionKey>sample string 10</ActionKey>
      <ActionNote>sample string 11</ActionNote>
      <ActionTime>2024-10-30T19:10:13.5055092+07:00</ActionTime>
      <CostCenter>sample string 7</CostCenter>
      <CostCenterName>sample string 8</CostCenterName>
      <CreateBy>sample string 13</CreateBy>
      <CreateDate>2024-10-30T19:10:13.5055092+07:00</CreateDate>
      <Email>sample string 15</Email>
      <FullName>sample string 14</FullName>
      <Id>1</Id>
      <IsApproval>true</IsApproval>
      <JobTitle>sample string 9</JobTitle>
      <ProcessId>sample string 2</ProcessId>
      <ProcessLevel>4</ProcessLevel>
      <ProcessLevelName>sample string 5</ProcessLevelName>
      <ProcessTableName>sample string 17</ProcessTableName>
      <UserName>sample string 6</UserName>
      <WFCode>sample string 3</WFCode>
    </SHWorkflowProcessUsers_ViewModel>
  </listAproval>
  <listPaymentPay>
    <SHPaymentPay_ViewModel>
      <Amount>15.1</Amount>
      <BID>sample string 7</BID>
      <BankAccount>sample string 8</BankAccount>
      <BankAccountOwner>sample string 11</BankAccountOwner>
      <BankAgency>sample string 13</BankAgency>
      <BankAmount>14.1</BankAmount>
      <BankName>sample string 12</BankName>
      <BenAddress>sample string 10</BenAddress>
      <BenBankAddress>sample string 9</BenBankAddress>
      <Cmp_code>sample string 26</Cmp_code>
      <CreateBy>sample string 18</CreateBy>
      <CreateDate>2024-10-30T19:10:13.4898834+07:00</CreateDate>
      <FullName>sample string 23</FullName>
      <Id>sample string 1</Id>
      <IsActive>true</IsActive>
      <IsErrImportPayInformation>true</IsErrImportPayInformation>
      <KeyId>sample string 2</KeyId>
      <ModifyBy>sample string 21</ModifyBy>
      <ModifyDate>2024-10-30T19:10:13.4898834+07:00</ModifyDate>
      <PayDate>2024-10-30T19:10:13.4898834+07:00</PayDate>
      <PayType>sample string 4</PayType>
      <RequestId>sample string 3</RequestId>
      <SwiftCode>sample string 6</SwiftCode>
      <UserName>sample string 16</UserName>
      <cmp_wwn>sample string 5</cmp_wwn>
      <costcenter>sample string 24</costcenter>
      <strPayNeedDate>sample string 27</strPayNeedDate>
    </SHPaymentPay_ViewModel>
    <SHPaymentPay_ViewModel>
      <Amount>15.1</Amount>
      <BID>sample string 7</BID>
      <BankAccount>sample string 8</BankAccount>
      <BankAccountOwner>sample string 11</BankAccountOwner>
      <BankAgency>sample string 13</BankAgency>
      <BankAmount>14.1</BankAmount>
      <BankName>sample string 12</BankName>
      <BenAddress>sample string 10</BenAddress>
      <BenBankAddress>sample string 9</BenBankAddress>
      <Cmp_code>sample string 26</Cmp_code>
      <CreateBy>sample string 18</CreateBy>
      <CreateDate>2024-10-30T19:10:13.4898834+07:00</CreateDate>
      <FullName>sample string 23</FullName>
      <Id>sample string 1</Id>
      <IsActive>true</IsActive>
      <IsErrImportPayInformation>true</IsErrImportPayInformation>
      <KeyId>sample string 2</KeyId>
      <ModifyBy>sample string 21</ModifyBy>
      <ModifyDate>2024-10-30T19:10:13.4898834+07:00</ModifyDate>
      <PayDate>2024-10-30T19:10:13.4898834+07:00</PayDate>
      <PayType>sample string 4</PayType>
      <RequestId>sample string 3</RequestId>
      <SwiftCode>sample string 6</SwiftCode>
      <UserName>sample string 16</UserName>
      <cmp_wwn>sample string 5</cmp_wwn>
      <costcenter>sample string 24</costcenter>
      <strPayNeedDate>sample string 27</strPayNeedDate>
    </SHPaymentPay_ViewModel>
  </listPaymentPay>
  <listVehicleBooking>
    <SHPaymentVehicleBooking_ViewModel>
      <Active>true</Active>
      <BOTFee>13.1</BOTFee>
      <BusinessFee>12.1</BusinessFee>
      <CostCenter>sample string 15</CostCenter>
      <CreateBy>sample string 17</CreateBy>
      <CreateDate>2024-10-30T19:10:13.5055092+07:00</CreateDate>
      <EndPoint>sample string 5</EndPoint>
      <GasFee>10.1</GasFee>
      <GasNumber>9.1</GasNumber>
      <Id>sample string 1</Id>
      <OdoEnd>7.1</OdoEnd>
      <OdoStart>6.1</OdoStart>
      <OtherFee>14.1</OtherFee>
      <RequestId>sample string 2</RequestId>
      <StartPoint>sample string 4</StartPoint>
      <TotalKm>8.1</TotalKm>
      <Vat>11.1</Vat>
      <VehicleBookingId>sample string 3</VehicleBookingId>
    </SHPaymentVehicleBooking_ViewModel>
    <SHPaymentVehicleBooking_ViewModel>
      <Active>true</Active>
      <BOTFee>13.1</BOTFee>
      <BusinessFee>12.1</BusinessFee>
      <CostCenter>sample string 15</CostCenter>
      <CreateBy>sample string 17</CreateBy>
      <CreateDate>2024-10-30T19:10:13.5055092+07:00</CreateDate>
      <EndPoint>sample string 5</EndPoint>
      <GasFee>10.1</GasFee>
      <GasNumber>9.1</GasNumber>
      <Id>sample string 1</Id>
      <OdoEnd>7.1</OdoEnd>
      <OdoStart>6.1</OdoStart>
      <OtherFee>14.1</OtherFee>
      <RequestId>sample string 2</RequestId>
      <StartPoint>sample string 4</StartPoint>
      <TotalKm>8.1</TotalKm>
      <Vat>11.1</Vat>
      <VehicleBookingId>sample string 3</VehicleBookingId>
    </SHPaymentVehicleBooking_ViewModel>
  </listVehicleBooking>
  <listVehicleInvoice>
    <SHPaymentVehicleInvoice_ViewModel>
      <AmountVatBefore>5.1</AmountVatBefore>
      <CreateBy>sample string 9</CreateBy>
      <CreateDate>2024-10-30T19:10:13.4898834+07:00</CreateDate>
      <Id>sample string 1</Id>
      <InvoiceNumber>sample string 3</InvoiceNumber>
      <QuantityPetro>8.1</QuantityPetro>
      <RequestId>sample string 2</RequestId>
      <Symbol>sample string 4</Symbol>
      <TotalAmount>7.1</TotalAmount>
      <Vat>6.1</Vat>
    </SHPaymentVehicleInvoice_ViewModel>
    <SHPaymentVehicleInvoice_ViewModel>
      <AmountVatBefore>5.1</AmountVatBefore>
      <CreateBy>sample string 9</CreateBy>
      <CreateDate>2024-10-30T19:10:13.4898834+07:00</CreateDate>
      <Id>sample string 1</Id>
      <InvoiceNumber>sample string 3</InvoiceNumber>
      <QuantityPetro>8.1</QuantityPetro>
      <RequestId>sample string 2</RequestId>
      <Symbol>sample string 4</Symbol>
      <TotalAmount>7.1</TotalAmount>
      <Vat>6.1</Vat>
    </SHPaymentVehicleInvoice_ViewModel>
  </listVehicleInvoice>
</SHPaymentVehicleRequest_ViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SHPaymentVehicleRequest_ViewModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.