POST v0/api/omdeo/update-invoice

Request Information

URI Parameters

None.

Body Parameters

tbl_Invoice
NameDescriptionTypeAdditional information
Id

integer

None.

InvoiceNo

string

Required

InvoiceType

string

Required

InvoiceRefNo

string

Required

BranchGST

string

None.

BranchStateCode

string

None.

StateCode

string

None.

InvoiceDate

string

Required

PlaceOfSupply

string

None.

RCM

string

None.

DocketNo

string

None.

CustomerName

string

None.

CustomerAddress

string

None.

CustomerMobileNo

string

None.

CustomerEmail

string

None.

CustomerGSTIN

string

None.

OriginAddress

string

None.

DestinationAddress

string

None.

ShiftingDate

string

None.

ServicesId

integer

None.

TransportMode

string

None.

LorryType

string

None.

VehicleNo

string

None.

QuotationNo

string

None.

BankId

integer

None.

RefNo

string

None.

UserId

string

Required

TotalTaxble

decimal number

None.

TotalIGST

decimal number

None.

TotalCGST

decimal number

None.

TotalSGST

decimal number

None.

TotalAllValue

decimal number

None.

BranchCode

string

Required

UserType

integer

None.

sabhiData

string

None.

InvoiceSeries

string

Required

POSId

integer

None.

RCMId

integer

None.

LorryTypeId

integer

None.

TransportModeId

integer

None.

EnquiryNo

string

None.

EnquiryRefNo

string

None.

CustomerVisible

string

Required

ReturnStatus

string

None.

TotalTaxableValue

decimal number

None.

list_Services

Collection of InvoiceServicesList

None.

list_TNC

Collection of tbl_InvoiceTermsandCondition

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "InvoiceNo": "sample string 2",
  "InvoiceType": "sample string 3",
  "InvoiceRefNo": "sample string 4",
  "BranchGST": "sample string 5",
  "BranchStateCode": "sample string 6",
  "StateCode": "sample string 7",
  "InvoiceDate": "sample string 8",
  "PlaceOfSupply": "sample string 9",
  "RCM": "sample string 10",
  "DocketNo": "sample string 11",
  "CustomerName": "sample string 12",
  "CustomerAddress": "sample string 13",
  "CustomerMobileNo": "sample string 14",
  "CustomerEmail": "sample string 15",
  "CustomerGSTIN": "sample string 16",
  "OriginAddress": "sample string 17",
  "DestinationAddress": "sample string 18",
  "ShiftingDate": "sample string 19",
  "ServicesId": 20,
  "TransportMode": "sample string 21",
  "LorryType": "sample string 22",
  "VehicleNo": "sample string 23",
  "QuotationNo": "sample string 24",
  "BankId": 25,
  "RefNo": "sample string 26",
  "UserId": "sample string 27",
  "TotalTaxble": 28.0,
  "TotalIGST": 29.0,
  "TotalCGST": 30.0,
  "TotalSGST": 31.0,
  "TotalAllValue": 32.0,
  "BranchCode": "sample string 33",
  "UserType": 34,
  "sabhiData": "sample string 35",
  "InvoiceSeries": "sample string 36",
  "POSId": 37,
  "RCMId": 38,
  "LorryTypeId": 39,
  "TransportModeId": 40,
  "EnquiryNo": "sample string 41",
  "EnquiryRefNo": "sample string 42",
  "CustomerVisible": "sample string 43",
  "ReturnStatus": "sample string 44",
  "TotalTaxableValue": 45.0,
  "list_Services": [
    {
      "Id": 1,
      "ServicesTypeId": 2,
      "SAC": "sample string 3",
      "ServicesType": "sample string 4",
      "GSTRate": 5,
      "TaxableValue": 6.0,
      "IGST": 7.0,
      "CGST": 8.0,
      "SGST": 9.0,
      "TotalValue": 10.0
    },
    {
      "Id": 1,
      "ServicesTypeId": 2,
      "SAC": "sample string 3",
      "ServicesType": "sample string 4",
      "GSTRate": 5,
      "TaxableValue": 6.0,
      "IGST": 7.0,
      "CGST": 8.0,
      "SGST": 9.0,
      "TotalValue": 10.0
    }
  ],
  "list_TNC": [
    {
      "Id": 1,
      "InvoiceTNC": 2,
      "Description": "sample string 3",
      "Status": "sample string 4"
    },
    {
      "Id": 1,
      "InvoiceTNC": 2,
      "Description": "sample string 3",
      "Status": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<tbl_Invoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api_omdeo.Models">
  <BankId>25</BankId>
  <BranchCode>sample string 33</BranchCode>
  <BranchGST>sample string 5</BranchGST>
  <BranchStateCode>sample string 6</BranchStateCode>
  <CustomerAddress>sample string 13</CustomerAddress>
  <CustomerEmail>sample string 15</CustomerEmail>
  <CustomerGSTIN>sample string 16</CustomerGSTIN>
  <CustomerMobileNo>sample string 14</CustomerMobileNo>
  <CustomerName>sample string 12</CustomerName>
  <CustomerVisible>sample string 43</CustomerVisible>
  <DestinationAddress>sample string 18</DestinationAddress>
  <DocketNo>sample string 11</DocketNo>
  <EnquiryNo>sample string 41</EnquiryNo>
  <EnquiryRefNo>sample string 42</EnquiryRefNo>
  <Id>1</Id>
  <InvoiceDate>sample string 8</InvoiceDate>
  <InvoiceNo>sample string 2</InvoiceNo>
  <InvoiceRefNo>sample string 4</InvoiceRefNo>
  <InvoiceSeries>sample string 36</InvoiceSeries>
  <InvoiceType>sample string 3</InvoiceType>
  <LorryType>sample string 22</LorryType>
  <LorryTypeId>39</LorryTypeId>
  <OriginAddress>sample string 17</OriginAddress>
  <POSId>37</POSId>
  <PlaceOfSupply>sample string 9</PlaceOfSupply>
  <QuotationNo>sample string 24</QuotationNo>
  <RCM>sample string 10</RCM>
  <RCMId>38</RCMId>
  <RefNo>sample string 26</RefNo>
  <ReturnStatus>sample string 44</ReturnStatus>
  <ServicesId>20</ServicesId>
  <ShiftingDate>sample string 19</ShiftingDate>
  <StateCode>sample string 7</StateCode>
  <TotalAllValue>32</TotalAllValue>
  <TotalCGST>30</TotalCGST>
  <TotalIGST>29</TotalIGST>
  <TotalSGST>31</TotalSGST>
  <TotalTaxableValue>45</TotalTaxableValue>
  <TotalTaxble>28</TotalTaxble>
  <TransportMode>sample string 21</TransportMode>
  <TransportModeId>40</TransportModeId>
  <UserId>sample string 27</UserId>
  <UserType>34</UserType>
  <VehicleNo>sample string 23</VehicleNo>
  <list_Services>
    <InvoiceServicesList>
      <CGST>8</CGST>
      <GSTRate>5</GSTRate>
      <IGST>7</IGST>
      <Id>1</Id>
      <SAC>sample string 3</SAC>
      <SGST>9</SGST>
      <ServicesType>sample string 4</ServicesType>
      <ServicesTypeId>2</ServicesTypeId>
      <TaxableValue>6</TaxableValue>
      <TotalValue>10</TotalValue>
    </InvoiceServicesList>
    <InvoiceServicesList>
      <CGST>8</CGST>
      <GSTRate>5</GSTRate>
      <IGST>7</IGST>
      <Id>1</Id>
      <SAC>sample string 3</SAC>
      <SGST>9</SGST>
      <ServicesType>sample string 4</ServicesType>
      <ServicesTypeId>2</ServicesTypeId>
      <TaxableValue>6</TaxableValue>
      <TotalValue>10</TotalValue>
    </InvoiceServicesList>
  </list_Services>
  <list_TNC>
    <tbl_InvoiceTermsandCondition>
      <Description>sample string 3</Description>
      <Id>1</Id>
      <InvoiceTNC>2</InvoiceTNC>
      <Status>sample string 4</Status>
    </tbl_InvoiceTermsandCondition>
    <tbl_InvoiceTermsandCondition>
      <Description>sample string 3</Description>
      <Id>1</Id>
      <InvoiceTNC>2</InvoiceTNC>
      <Status>sample string 4</Status>
    </tbl_InvoiceTermsandCondition>
  </list_TNC>
  <sabhiData>sample string 35</sabhiData>
</tbl_Invoice>

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

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.