POST api/ExImProformaInvoice/Save

Request Information

URI Parameters

None.

Body Parameters

ExImProformaInvoice
NameDescriptionTypeAdditional information
IsApproved

boolean

None.

DocDate

date

None.

EntryDate

date

None.

LastShipmentDate

date

None.

ModifyDate

date

None.

FcAmountTotal

decimal number

None.

BranchId

integer

None.

CompanyId

integer

None.

DocNo

integer

None.

DocumentTypeId

integer

None.

EntryUser

integer

None.

Id

integer

None.

ModifyUser

integer

None.

MultiCurrencyId

integer

None.

NoOfContainer

integer

None.

OrganizationId

integer

None.

ProjectId

integer

None.

SeaPortsIdDestination

integer

None.

SeaPortsIdLoading

integer

None.

SupplierCustomerId

integer

None.

CustomerRefNo

string

None.

InquieryReference

string

None.

OtherTermsConditions

string

None.

PaymentDetail

string

None.

QuotReference

string

None.

RemarksHeader

string

None.

ShipmentDetail

string

None.

Status

string

None.

ProformaInvoiceDetail

Collection of ExImProformaInvoiceDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "IsApproved": true,
  "DocDate": "2025-10-29T13:11:01.9115126+05:00",
  "EntryDate": "2025-10-29T13:11:01.9115126+05:00",
  "LastShipmentDate": "2025-10-29T13:11:01.9115126+05:00",
  "ModifyDate": "2025-10-29T13:11:01.9115126+05:00",
  "FcAmountTotal": 6.1,
  "BranchId": 7,
  "CompanyId": 8,
  "DocNo": 9,
  "DocumentTypeId": 10,
  "EntryUser": 11,
  "Id": 12,
  "ModifyUser": 13,
  "MultiCurrencyId": 14,
  "NoOfContainer": 15,
  "OrganizationId": 16,
  "ProjectId": 17,
  "SeaPortsIdDestination": 18,
  "SeaPortsIdLoading": 19,
  "SupplierCustomerId": 20,
  "CustomerRefNo": "sample string 21",
  "InquieryReference": "sample string 22",
  "OtherTermsConditions": "sample string 23",
  "PaymentDetail": "sample string 24",
  "QuotReference": "sample string 25",
  "RemarksHeader": "sample string 26",
  "ShipmentDetail": "sample string 27",
  "Status": "sample string 28",
  "ProformaInvoiceDetail": [
    {
      "FcAmount": 1.1,
      "ItemRate": 2.1,
      "QtyInner": 3.1,
      "QtyOuter": 4.1,
      "ExImPackMaterialTypeId": 5,
      "ExImProformaInvoiceHeaderId": 6,
      "Id": 7,
      "ItemId": 8,
      "NetWeightKgs": 9,
      "UOMScheduleIdInner": 10,
      "UOMScheduleIdOuter": 11,
      "UOMScheduleIdRate": 12,
      "Description": "sample string 13",
      "RemarksDetail": "sample string 14",
      "ExImPackMaterialTypeName": "sample string 15",
      "UOMScheduleIdOuterName": 16.1,
      "UOMScheduleIdInnerName": 17.1,
      "UOMScheduleIdRateName": 18.1,
      "ItemName": "sample string 19"
    },
    {
      "FcAmount": 1.1,
      "ItemRate": 2.1,
      "QtyInner": 3.1,
      "QtyOuter": 4.1,
      "ExImPackMaterialTypeId": 5,
      "ExImProformaInvoiceHeaderId": 6,
      "Id": 7,
      "ItemId": 8,
      "NetWeightKgs": 9,
      "UOMScheduleIdInner": 10,
      "UOMScheduleIdOuter": 11,
      "UOMScheduleIdRate": 12,
      "Description": "sample string 13",
      "RemarksDetail": "sample string 14",
      "ExImPackMaterialTypeName": "sample string 15",
      "UOMScheduleIdOuterName": 16.1,
      "UOMScheduleIdInnerName": 17.1,
      "UOMScheduleIdRateName": 18.1,
      "ItemName": "sample string 19"
    }
  ]
}

application/xml, text/xml

Sample:
<ExImProformaInvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.Export">
  <BranchId>7</BranchId>
  <CompanyId>8</CompanyId>
  <CustomerRefNo>sample string 21</CustomerRefNo>
  <DocDate>2025-10-29T13:11:01.9115126+05:00</DocDate>
  <DocNo>9</DocNo>
  <DocumentTypeId>10</DocumentTypeId>
  <EntryDate>2025-10-29T13:11:01.9115126+05:00</EntryDate>
  <EntryUser>11</EntryUser>
  <FcAmountTotal>6.1</FcAmountTotal>
  <Id>12</Id>
  <InquieryReference>sample string 22</InquieryReference>
  <IsApproved>true</IsApproved>
  <LastShipmentDate>2025-10-29T13:11:01.9115126+05:00</LastShipmentDate>
  <ModifyDate>2025-10-29T13:11:01.9115126+05:00</ModifyDate>
  <ModifyUser>13</ModifyUser>
  <MultiCurrencyId>14</MultiCurrencyId>
  <NoOfContainer>15</NoOfContainer>
  <OrganizationId>16</OrganizationId>
  <OtherTermsConditions>sample string 23</OtherTermsConditions>
  <PaymentDetail>sample string 24</PaymentDetail>
  <ProformaInvoiceDetail>
    <ExImProformaInvoiceDetail>
      <Description>sample string 13</Description>
      <ExImPackMaterialTypeId>5</ExImPackMaterialTypeId>
      <ExImPackMaterialTypeName>sample string 15</ExImPackMaterialTypeName>
      <ExImProformaInvoiceHeaderId>6</ExImProformaInvoiceHeaderId>
      <FcAmount>1.1</FcAmount>
      <Id>7</Id>
      <ItemId>8</ItemId>
      <ItemName>sample string 19</ItemName>
      <ItemRate>2.1</ItemRate>
      <NetWeightKgs>9</NetWeightKgs>
      <QtyInner>3.1</QtyInner>
      <QtyOuter>4.1</QtyOuter>
      <RemarksDetail>sample string 14</RemarksDetail>
      <UOMScheduleIdInner>10</UOMScheduleIdInner>
      <UOMScheduleIdInnerName>17.1</UOMScheduleIdInnerName>
      <UOMScheduleIdOuter>11</UOMScheduleIdOuter>
      <UOMScheduleIdOuterName>16.1</UOMScheduleIdOuterName>
      <UOMScheduleIdRate>12</UOMScheduleIdRate>
      <UOMScheduleIdRateName>18.1</UOMScheduleIdRateName>
    </ExImProformaInvoiceDetail>
    <ExImProformaInvoiceDetail>
      <Description>sample string 13</Description>
      <ExImPackMaterialTypeId>5</ExImPackMaterialTypeId>
      <ExImPackMaterialTypeName>sample string 15</ExImPackMaterialTypeName>
      <ExImProformaInvoiceHeaderId>6</ExImProformaInvoiceHeaderId>
      <FcAmount>1.1</FcAmount>
      <Id>7</Id>
      <ItemId>8</ItemId>
      <ItemName>sample string 19</ItemName>
      <ItemRate>2.1</ItemRate>
      <NetWeightKgs>9</NetWeightKgs>
      <QtyInner>3.1</QtyInner>
      <QtyOuter>4.1</QtyOuter>
      <RemarksDetail>sample string 14</RemarksDetail>
      <UOMScheduleIdInner>10</UOMScheduleIdInner>
      <UOMScheduleIdInnerName>17.1</UOMScheduleIdInnerName>
      <UOMScheduleIdOuter>11</UOMScheduleIdOuter>
      <UOMScheduleIdOuterName>16.1</UOMScheduleIdOuterName>
      <UOMScheduleIdRate>12</UOMScheduleIdRate>
      <UOMScheduleIdRateName>18.1</UOMScheduleIdRateName>
    </ExImProformaInvoiceDetail>
  </ProformaInvoiceDetail>
  <ProjectId>17</ProjectId>
  <QuotReference>sample string 25</QuotReference>
  <RemarksHeader>sample string 26</RemarksHeader>
  <SeaPortsIdDestination>18</SeaPortsIdDestination>
  <SeaPortsIdLoading>19</SeaPortsIdLoading>
  <ShipmentDetail>sample string 27</ShipmentDetail>
  <Status>sample string 28</Status>
  <SupplierCustomerId>20</SupplierCustomerId>
</ExImProformaInvoice>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.