POST v0/api/omdeo/quotation-entry

Request Information

URI Parameters

None.

Body Parameters

tbl_Quotationnew
NameDescriptionTypeAdditional information
EnquiryNo

string

Required

EnquiryRefNo

string

Required

Sales

string

Required

SalesMobileNo

string

Required

CustomerName

string

Required

CustomerAddress

string

Required

CustomerMobileNo

string

Required

CustomerEmail

string

None.

OriginAddress

string

Required

DestinationAddress

string

Required

ShiftingDate

string

Required

Transportmode

string

Required

TransitTime

string

Required

Distance

string

Required

Unit

string

Required

RefNo

string

Required

TaxableValue

decimal number

None.

TotalValue

decimal number

None.

GSTPayble

decimal number

None.

TaxAmt

decimal number

None.

UserId

string

Required

BranchCode

string

Required

LorryType

string

Required

QuaotationNo

string

Required

QuotationDate

string

Required

seriesRefNo

string

Required

DurationType

string

Required

TransportModeId

integer

Required

LorryTypeId

integer

Required

ServicesId

integer

Required

sabhiData

string

None.

Listproduct

Collection of QuotionServiceDetails

None.

ListNonGSTproduct

Collection of QuotionServiceDetails

None.

Obj_TNC

Collection of tbl_QuotationTNC

None.

Request Formats

application/json, text/json

Sample:
{
  "EnquiryNo": "sample string 1",
  "EnquiryRefNo": "sample string 2",
  "Sales": "sample string 3",
  "SalesMobileNo": "sample string 4",
  "CustomerName": "sample string 5",
  "CustomerAddress": "sample string 6",
  "CustomerMobileNo": "sample string 7",
  "CustomerEmail": "sample string 8",
  "OriginAddress": "sample string 9",
  "DestinationAddress": "sample string 10",
  "ShiftingDate": "sample string 11",
  "Transportmode": "sample string 12",
  "TransitTime": "sample string 13",
  "Distance": "sample string 14",
  "Unit": "sample string 15",
  "RefNo": "sample string 16",
  "TaxableValue": 17.0,
  "TotalValue": 18.0,
  "GSTPayble": 19.0,
  "TaxAmt": 20.0,
  "UserId": "sample string 21",
  "BranchCode": "sample string 22",
  "LorryType": "sample string 23",
  "QuaotationNo": "sample string 24",
  "QuotationDate": "sample string 25",
  "seriesRefNo": "sample string 26",
  "DurationType": "sample string 27",
  "TransportModeId": 28,
  "LorryTypeId": 29,
  "ServicesId": 30,
  "sabhiData": "sample string 31",
  "Listproduct": [
    {
      "GSTType": "sample string 1",
      "ItemId": 2,
      "HSN": "sample string 3",
      "TypeOfServices": "sample string 4",
      "Comment": "sample string 5",
      "Amount": 1.0,
      "RefNo": "sample string 6"
    },
    {
      "GSTType": "sample string 1",
      "ItemId": 2,
      "HSN": "sample string 3",
      "TypeOfServices": "sample string 4",
      "Comment": "sample string 5",
      "Amount": 1.0,
      "RefNo": "sample string 6"
    }
  ],
  "ListNonGSTproduct": [
    {
      "GSTType": "sample string 1",
      "ItemId": 2,
      "HSN": "sample string 3",
      "TypeOfServices": "sample string 4",
      "Comment": "sample string 5",
      "Amount": 1.0,
      "RefNo": "sample string 6"
    },
    {
      "GSTType": "sample string 1",
      "ItemId": 2,
      "HSN": "sample string 3",
      "TypeOfServices": "sample string 4",
      "Comment": "sample string 5",
      "Amount": 1.0,
      "RefNo": "sample string 6"
    }
  ],
  "Obj_TNC": [
    {
      "Id": 1,
      "TermsandCondition": 2,
      "Description": "sample string 3",
      "Status": "sample string 4",
      "RefNo": "sample string 5"
    },
    {
      "Id": 1,
      "TermsandCondition": 2,
      "Description": "sample string 3",
      "Status": "sample string 4",
      "RefNo": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<tbl_Quotationnew xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api_omdeo.Models">
  <BranchCode>sample string 22</BranchCode>
  <CustomerAddress>sample string 6</CustomerAddress>
  <CustomerEmail>sample string 8</CustomerEmail>
  <CustomerMobileNo>sample string 7</CustomerMobileNo>
  <CustomerName>sample string 5</CustomerName>
  <DestinationAddress>sample string 10</DestinationAddress>
  <Distance>sample string 14</Distance>
  <DurationType>sample string 27</DurationType>
  <EnquiryNo>sample string 1</EnquiryNo>
  <EnquiryRefNo>sample string 2</EnquiryRefNo>
  <GSTPayble>19</GSTPayble>
  <ListNonGSTproduct>
    <QuotionServiceDetails>
      <Amount>1</Amount>
      <Comment>sample string 5</Comment>
      <GSTType>sample string 1</GSTType>
      <HSN>sample string 3</HSN>
      <ItemId>2</ItemId>
      <RefNo>sample string 6</RefNo>
      <TypeOfServices>sample string 4</TypeOfServices>
    </QuotionServiceDetails>
    <QuotionServiceDetails>
      <Amount>1</Amount>
      <Comment>sample string 5</Comment>
      <GSTType>sample string 1</GSTType>
      <HSN>sample string 3</HSN>
      <ItemId>2</ItemId>
      <RefNo>sample string 6</RefNo>
      <TypeOfServices>sample string 4</TypeOfServices>
    </QuotionServiceDetails>
  </ListNonGSTproduct>
  <Listproduct>
    <QuotionServiceDetails>
      <Amount>1</Amount>
      <Comment>sample string 5</Comment>
      <GSTType>sample string 1</GSTType>
      <HSN>sample string 3</HSN>
      <ItemId>2</ItemId>
      <RefNo>sample string 6</RefNo>
      <TypeOfServices>sample string 4</TypeOfServices>
    </QuotionServiceDetails>
    <QuotionServiceDetails>
      <Amount>1</Amount>
      <Comment>sample string 5</Comment>
      <GSTType>sample string 1</GSTType>
      <HSN>sample string 3</HSN>
      <ItemId>2</ItemId>
      <RefNo>sample string 6</RefNo>
      <TypeOfServices>sample string 4</TypeOfServices>
    </QuotionServiceDetails>
  </Listproduct>
  <LorryType>sample string 23</LorryType>
  <LorryTypeId>29</LorryTypeId>
  <Obj_TNC>
    <tbl_QuotationTNC>
      <Description>sample string 3</Description>
      <Id>1</Id>
      <RefNo>sample string 5</RefNo>
      <Status>sample string 4</Status>
      <TermsandCondition>2</TermsandCondition>
    </tbl_QuotationTNC>
    <tbl_QuotationTNC>
      <Description>sample string 3</Description>
      <Id>1</Id>
      <RefNo>sample string 5</RefNo>
      <Status>sample string 4</Status>
      <TermsandCondition>2</TermsandCondition>
    </tbl_QuotationTNC>
  </Obj_TNC>
  <OriginAddress>sample string 9</OriginAddress>
  <QuaotationNo>sample string 24</QuaotationNo>
  <QuotationDate>sample string 25</QuotationDate>
  <RefNo>sample string 16</RefNo>
  <Sales>sample string 3</Sales>
  <SalesMobileNo>sample string 4</SalesMobileNo>
  <ServicesId>30</ServicesId>
  <ShiftingDate>sample string 11</ShiftingDate>
  <TaxAmt>20</TaxAmt>
  <TaxableValue>17</TaxableValue>
  <TotalValue>18</TotalValue>
  <TransitTime>sample string 13</TransitTime>
  <TransportModeId>28</TransportModeId>
  <Transportmode>sample string 12</Transportmode>
  <Unit>sample string 15</Unit>
  <UserId>sample string 21</UserId>
  <sabhiData>sample string 31</sabhiData>
  <seriesRefNo>sample string 26</seriesRefNo>
</tbl_Quotationnew>

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

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.