POST api/WbTransactions/GetByTicketNoByRefDocId

Request Information

URI Parameters

None.

Body Parameters

WbTransactions
NameDescriptionTypeAdditional information
IsApproved

boolean

None.

ApprovedDateTime

date

None.

DocDate

date

None.

EntryDate

date

None.

FirstDateTime

date

None.

ModifyDate

date

None.

SecondDateTime

date

None.

FirstWeight

decimal number

None.

ItemQty

decimal number

None.

SecondWeight

decimal number

None.

WbCharges

decimal number

None.

NetWbWeight

decimal number

None.

ApprovedUserId

integer

None.

CompanyId

integer

None.

DocTypeId

integer

None.

EntryNo

integer

None.

EntryUser

integer

None.

Id

integer

None.

ActionId

integer

None.

ModifyUser

integer

None.

OrganizationId

integer

None.

ReferenceDocNoId

integer

None.

ReferenceDocTypeId

integer

None.

SupplierCustomerId

integer

None.

TicketNo

integer

None.

BiltyNo

string

None.

ContainerNo

string

None.

FirstWtFrontPic

string

None.

FirstWtPicReading

string

None.

FirstWtUpperPic

string

None.

ItemDescription

string

None.

PartyName

string

None.

SecondPicReading

string

None.

SecondWtFrontPic

string

None.

SecondWtUpperPic

string

None.

VehicleNo

string

None.

VehicleType

string

None.

WbRemarks

string

None.

WorkingReportNo

integer

None.

FinancialYearId

integer

None.

ItemId

integer

None.

BranchId

integer

None.

ProjectId

integer

None.

WeightDiffComments

string

None.

WeighBridgeType

string

None.

RefDocumentTypeIdGpIn

integer

None.

RefDocumentTypeIdGpOut

integer

None.

RefDocumentTypeIdSt

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IsApproved": true,
  "ApprovedDateTime": "2025-10-29T13:11:05.6458349+05:00",
  "DocDate": "2025-10-29T13:11:05.6458349+05:00",
  "EntryDate": "2025-10-29T13:11:05.6458349+05:00",
  "FirstDateTime": "2025-10-29T13:11:05.6458349+05:00",
  "ModifyDate": "2025-10-29T13:11:05.6458349+05:00",
  "SecondDateTime": "2025-10-29T13:11:05.6458349+05:00",
  "FirstWeight": 7.1,
  "ItemQty": 8.1,
  "SecondWeight": 9.1,
  "WbCharges": 10.1,
  "NetWbWeight": 11.1,
  "ApprovedUserId": 12,
  "CompanyId": 13,
  "DocTypeId": 14,
  "EntryNo": 15,
  "EntryUser": 16,
  "Id": 17,
  "ActionId": 18,
  "ModifyUser": 19,
  "OrganizationId": 20,
  "ReferenceDocNoId": 21,
  "ReferenceDocTypeId": 22,
  "SupplierCustomerId": 23,
  "TicketNo": 24,
  "BiltyNo": "sample string 25",
  "ContainerNo": "sample string 26",
  "FirstWtFrontPic": "sample string 27",
  "FirstWtPicReading": "sample string 28",
  "FirstWtUpperPic": "sample string 29",
  "ItemDescription": "sample string 30",
  "PartyName": "sample string 31",
  "SecondPicReading": "sample string 32",
  "SecondWtFrontPic": "sample string 33",
  "SecondWtUpperPic": "sample string 34",
  "VehicleNo": "sample string 35",
  "VehicleType": "sample string 36",
  "WbRemarks": "sample string 37",
  "WorkingReportNo": 38,
  "FinancialYearId": 39,
  "ItemId": 40,
  "BranchId": 41,
  "ProjectId": 42,
  "WeightDiffComments": "sample string 43",
  "WeighBridgeType": "sample string 44",
  "RefDocumentTypeIdGpIn": 45,
  "RefDocumentTypeIdGpOut": 46,
  "RefDocumentTypeIdSt": 47
}

application/xml, text/xml

Sample:
<WbTransactions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.WeightBridge">
  <ActionId>18</ActionId>
  <ApprovedDateTime>2025-10-29T13:11:05.6458349+05:00</ApprovedDateTime>
  <ApprovedUserId>12</ApprovedUserId>
  <BiltyNo>sample string 25</BiltyNo>
  <BranchId>41</BranchId>
  <CompanyId>13</CompanyId>
  <ContainerNo>sample string 26</ContainerNo>
  <DocDate>2025-10-29T13:11:05.6458349+05:00</DocDate>
  <DocTypeId>14</DocTypeId>
  <EntryDate>2025-10-29T13:11:05.6458349+05:00</EntryDate>
  <EntryNo>15</EntryNo>
  <EntryUser>16</EntryUser>
  <FinancialYearId>39</FinancialYearId>
  <FirstDateTime>2025-10-29T13:11:05.6458349+05:00</FirstDateTime>
  <FirstWeight>7.1</FirstWeight>
  <FirstWtFrontPic>sample string 27</FirstWtFrontPic>
  <FirstWtPicReading>sample string 28</FirstWtPicReading>
  <FirstWtUpperPic>sample string 29</FirstWtUpperPic>
  <Id>17</Id>
  <IsApproved>true</IsApproved>
  <ItemDescription>sample string 30</ItemDescription>
  <ItemId>40</ItemId>
  <ItemQty>8.1</ItemQty>
  <ModifyDate>2025-10-29T13:11:05.6458349+05:00</ModifyDate>
  <ModifyUser>19</ModifyUser>
  <NetWbWeight>11.1</NetWbWeight>
  <OrganizationId>20</OrganizationId>
  <PartyName>sample string 31</PartyName>
  <ProjectId>42</ProjectId>
  <RefDocumentTypeIdGpIn>45</RefDocumentTypeIdGpIn>
  <RefDocumentTypeIdGpOut>46</RefDocumentTypeIdGpOut>
  <RefDocumentTypeIdSt>47</RefDocumentTypeIdSt>
  <ReferenceDocNoId>21</ReferenceDocNoId>
  <ReferenceDocTypeId>22</ReferenceDocTypeId>
  <SecondDateTime>2025-10-29T13:11:05.6458349+05:00</SecondDateTime>
  <SecondPicReading>sample string 32</SecondPicReading>
  <SecondWeight>9.1</SecondWeight>
  <SecondWtFrontPic>sample string 33</SecondWtFrontPic>
  <SecondWtUpperPic>sample string 34</SecondWtUpperPic>
  <SupplierCustomerId>23</SupplierCustomerId>
  <TicketNo>24</TicketNo>
  <VehicleNo>sample string 35</VehicleNo>
  <VehicleType>sample string 36</VehicleType>
  <WbCharges>10.1</WbCharges>
  <WbRemarks>sample string 37</WbRemarks>
  <WeighBridgeType>sample string 44</WeighBridgeType>
  <WeightDiffComments>sample string 43</WeightDiffComments>
  <WorkingReportNo>38</WorkingReportNo>
</WbTransactions>

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 'WbTransactions'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.