POST api/ImportPermit/Save

Request Information

URI Parameters

None.

Body Parameters

ImportPermitViewModel
NameDescriptionTypeAdditional information
Id

string

None.

ApplyType

string

None.

ApplicationNo

string

None.

ApplicationDate

date

None.

sApplicationDate

string

None.

SuspensionDate

date

None.

PaThaKaId

string

None.

PaThaKaNo

string

None.

CompanyRegistrationNo

string

None.

CompanyRegistrationDate

date

None.

sCompanyRegistrationDate

string

None.

DateofValidity

date

None.

sDateofValidity

string

None.

CompanyName

string

None.

CompanyAddress

string

None.

Township

string

None.

State

string

None.

Country

string

None.

PaThaKaNo_CompanyName_DateofValidity

string

None.

BusinessTypeName

string

None.

LineofBusinessName

string

None.

ImportPermitNo

string

None.

OldImportPermitNo

string

None.

ExportImportSectionId

integer

None.

ExportImportSectionName

string

None.

ExportImportMethodName

string

None.

NRCType

string

None.

StatePrefix

integer

None.

NRCPrefixId

integer

None.

NRCPefixName

string

None.

NRCPrefixCodeId

integer

None.

NRCPrefixCodeName

string

None.

NRCNo

string

None.

CitizenshipCardNo

string

None.

PassportNo

string

None.

AuthorisedAgentName

string

None.

AuthorisedAgentAddress

string

None.

SellerCountryId

integer

None.

SellerCountryName

string

None.

PortofShipmentId

string

None.

PortofShipmentName

string

None.

CountryofOriginId

string

None.

CountryOriginName

string

None.

PortofDischargeCode

string

None.

PortofDischarge

string

None.

PortofDischargeName

string

None.

PermitType

string

None.

MemberId

string

None.

MemberName

string

None.

MemberNRCNo

string

None.

Step

integer

None.

IsDraft

boolean

None.

IsFinish

boolean

None.

IsOld

boolean

None.

Status

string

None.

IsCancel

boolean

None.

IsAmend

boolean

None.

IsExtension

boolean

None.

ParentId

string

None.

CheckUserId

integer

None.

CheckUserName

string

None.

IsCheck

boolean

None.

CheckDate

date

None.

sCheckDate

string

None.

ApproveUserId

integer

None.

ApproveUserName

string

None.

IsApprove

boolean

None.

ApproveDate

date

None.

sApproveDate

string

None.

CreatedDate

date

None.

sCreatedDate

string

None.

IsLicenceFree

boolean

None.

ExchangeRate

decimal number

None.

TotalCIF

decimal number

None.

sTotalCIF

string

None.

LicenceDate

date

None.

sLicenceDate

string

None.

LicenceYear

string

None.

LastDate

date

None.

sLastDate

string

None.

Remark

string

None.

IssuedDate

date

None.

sIssuedDate

string

None.

IsPrint

boolean

None.

AmendDate

date

None.

sAmendDate

string

None.

AmendRemark

string

None.

AmendAuthority

string

None.

ExtensionDate

date

None.

sExtensionDate

string

None.

ExtensionRemark

string

None.

ExtensionAuthority

string

None.

CancellationDate

date

None.

sCancellationDate

string

None.

CancellationRemark

string

None.

CancellationAuthority

string

None.

Message

string

None.

Status_Message

string

None.

Id_Status

string

None.

IsRead

boolean

None.

No

integer

None.

HSCode

string

None.

sTotalItemAmount

string

None.

IsSuspension

boolean

None.

CommodityType

string

None.

OldNRCType

string

None.

OldPassportNo

string

None.

OldAuthorisedAgentName

string

None.

OldAuthorisedAgentAddress

string

None.

OldSellerCountryId

integer

None.

OldSellerCountryName

string

None.

OldNRCNo

string

None.

OldPortofShipmentId

string

None.

OldPortofShipmentName

string

None.

OldCountryofOriginId

string

None.

OldCountryOriginName

string

None.

OldPortofDischargeCode

string

None.

OldPortofDischargeName

string

None.

OldPermitType

string

None.

OldCommodityType

string

None.

OldNRCPrefixId

integer

None.

OldNRCPrefixCodeId

integer

None.

OldLastDate

date

None.

sOldLastDate

string

None.

OldRemark

string

None.

IsNRC

boolean

None.

IsOldNRC

boolean

None.

IsPassportNo

boolean

None.

IsAuthorisedAgentName

boolean

None.

IsAuthorisedAgentAddress

boolean

None.

IsSellerCountryId

boolean

None.

IsPortofShipmentId

boolean

None.

IsCountryofOriginId

boolean

None.

IsPortofDischargeId

boolean

None.

IsPermitType

boolean

None.

IsRemark

boolean

None.

IsCommodityType

boolean

None.

ExtensionCount

integer

None.

ExtensionTime

integer

None.

IsEICCSubmit

boolean

None.

EICCNoId

integer

None.

EICCStatus

string

None.

EICCRemark

string

None.

ProductGroupId

integer

None.

ProductItemId

integer

None.

Items

Collection of ImportPermitItemViewModel

None.

isCheckPrint

boolean

None.

isApprovePrint

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "ApplyType": "sample string 2",
  "ApplicationNo": "sample string 3",
  "ApplicationDate": "2026-06-13T05:13:42.1753757+06:30",
  "sApplicationDate": "sample string 5",
  "SuspensionDate": "2026-06-13T05:13:42.1753757+06:30",
  "PaThaKaId": "sample string 7",
  "PaThaKaNo": "sample string 8",
  "CompanyRegistrationNo": "sample string 9",
  "CompanyRegistrationDate": "2026-06-13T05:13:42.1753757+06:30",
  "sCompanyRegistrationDate": "sample string 11",
  "DateofValidity": "2026-06-13T05:13:42.1753757+06:30",
  "sDateofValidity": "sample string 13",
  "CompanyName": "sample string 14",
  "CompanyAddress": "sample string 15",
  "Township": "sample string 16",
  "State": "sample string 17",
  "Country": "sample string 18",
  "PaThaKaNo_CompanyName_DateofValidity": "sample string 19",
  "BusinessTypeName": "sample string 20",
  "LineofBusinessName": "sample string 21",
  "ImportPermitNo": "sample string 22",
  "OldImportPermitNo": "sample string 23",
  "ExportImportSectionId": 24,
  "ExportImportSectionName": "sample string 25",
  "ExportImportMethodName": "sample string 26",
  "NRCType": "sample string 27",
  "StatePrefix": 28,
  "NRCPrefixId": 1,
  "NRCPefixName": "sample string 29",
  "NRCPrefixCodeId": 1,
  "NRCPrefixCodeName": "sample string 30",
  "NRCNo": "sample string 31",
  "CitizenshipCardNo": "sample string 32",
  "PassportNo": "sample string 33",
  "AuthorisedAgentName": "sample string 34",
  "AuthorisedAgentAddress": "sample string 35",
  "SellerCountryId": 36,
  "SellerCountryName": "sample string 37",
  "PortofShipmentId": "sample string 38",
  "PortofShipmentName": "sample string 39",
  "CountryofOriginId": "sample string 40",
  "CountryOriginName": "sample string 41",
  "PortofDischargeCode": "sample string 42",
  "PortofDischarge": "sample string 43",
  "PortofDischargeName": "sample string 44",
  "PermitType": "sample string 45",
  "MemberId": "sample string 46",
  "MemberName": "sample string 47",
  "MemberNRCNo": "sample string 48",
  "Step": 49,
  "IsDraft": true,
  "IsFinish": true,
  "IsOld": true,
  "Status": "sample string 53",
  "IsCancel": true,
  "IsAmend": true,
  "IsExtension": true,
  "ParentId": "sample string 57",
  "CheckUserId": 58,
  "CheckUserName": "sample string 59",
  "IsCheck": true,
  "CheckDate": "2026-06-13T05:13:42.1753757+06:30",
  "sCheckDate": "sample string 61",
  "ApproveUserId": 62,
  "ApproveUserName": "sample string 63",
  "IsApprove": true,
  "ApproveDate": "2026-06-13T05:13:42.1753757+06:30",
  "sApproveDate": "sample string 64",
  "CreatedDate": "2026-06-13T05:13:42.1753757+06:30",
  "sCreatedDate": "sample string 65",
  "IsLicenceFree": true,
  "ExchangeRate": 1.0,
  "TotalCIF": 1.1,
  "sTotalCIF": "sample string 66",
  "LicenceDate": "2026-06-13T05:13:42.1753757+06:30",
  "sLicenceDate": "sample string 67",
  "LicenceYear": "sample string 68",
  "LastDate": "2026-06-13T05:13:42.1753757+06:30",
  "sLastDate": "sample string 69",
  "Remark": "sample string 70",
  "IssuedDate": "2026-06-13T05:13:42.1753757+06:30",
  "sIssuedDate": "sample string 71",
  "IsPrint": true,
  "AmendDate": "2026-06-13T05:13:42.1753757+06:30",
  "sAmendDate": "sample string 72",
  "AmendRemark": "sample string 73",
  "AmendAuthority": "sample string 74",
  "ExtensionDate": "2026-06-13T05:13:42.1753757+06:30",
  "sExtensionDate": "sample string 75",
  "ExtensionRemark": "sample string 76",
  "ExtensionAuthority": "sample string 77",
  "CancellationDate": "2026-06-13T05:13:42.1753757+06:30",
  "sCancellationDate": "sample string 78",
  "CancellationRemark": "sample string 79",
  "CancellationAuthority": "sample string 80",
  "Message": "sample string 81",
  "Status_Message": "sample string 82",
  "Id_Status": "sample string 83",
  "IsRead": true,
  "No": 85,
  "HSCode": "sample string 86",
  "sTotalItemAmount": "sample string 87",
  "IsSuspension": true,
  "CommodityType": "sample string 89",
  "OldNRCType": "sample string 90",
  "OldPassportNo": "sample string 91",
  "OldAuthorisedAgentName": "sample string 92",
  "OldAuthorisedAgentAddress": "sample string 93",
  "OldSellerCountryId": 94,
  "OldSellerCountryName": "sample string 95",
  "OldNRCNo": "sample string 96",
  "OldPortofShipmentId": "sample string 97",
  "OldPortofShipmentName": "sample string 98",
  "OldCountryofOriginId": "sample string 99",
  "OldCountryOriginName": "sample string 100",
  "OldPortofDischargeCode": "sample string 101",
  "OldPortofDischargeName": "sample string 102",
  "OldPermitType": "sample string 103",
  "OldCommodityType": "sample string 104",
  "OldNRCPrefixId": 1,
  "OldNRCPrefixCodeId": 1,
  "OldLastDate": "2026-06-13T05:13:42.1753757+06:30",
  "sOldLastDate": "sample string 105",
  "OldRemark": "sample string 106",
  "IsNRC": true,
  "IsOldNRC": true,
  "IsPassportNo": true,
  "IsAuthorisedAgentName": true,
  "IsAuthorisedAgentAddress": true,
  "IsSellerCountryId": true,
  "IsPortofShipmentId": true,
  "IsCountryofOriginId": true,
  "IsPortofDischargeId": true,
  "IsPermitType": true,
  "IsRemark": true,
  "IsCommodityType": true,
  "ExtensionCount": 119,
  "ExtensionTime": 120,
  "IsEICCSubmit": true,
  "EICCNoId": 122,
  "EICCStatus": "sample string 123",
  "EICCRemark": "sample string 124",
  "ProductGroupId": 125,
  "ProductItemId": 126,
  "Items": [
    {
      "Id": "sample string 1",
      "AsPerAttached": true,
      "ImportPermitId": "sample string 3",
      "Type": "sample string 4",
      "ItemNo": 5,
      "HSCodeId": 6,
      "HSCode": "sample string 7",
      "HSCodeType": "sample string 8",
      "HSYear": 9,
      "HSDescription": "sample string 10",
      "Description": "sample string 11",
      "ItemDescription": "sample string 12",
      "UnitId": 13,
      "UnitCode": "sample string 14",
      "Price": 15.0,
      "sPrice": "sample string 16",
      "Quantity": 17.0,
      "sQuantity": "sample string 18",
      "Amount": 19.0,
      "sAmount": "sample string 20",
      "CurrencyId": 21,
      "CurrencyCode": "sample string 22",
      "CreatedDate": "2026-06-13T05:13:42.1753757+06:30",
      "No": 24,
      "IsAdd": true,
      "ParentId": "sample string 26",
      "CheckId": "sample string 27",
      "Status": "sample string 28",
      "IsCheck": true,
      "IsHSCode": true,
      "IsDescription": true,
      "IsUnitId": true,
      "IsPrice": true,
      "IsQuantity": true,
      "IsAmount": true,
      "IsCurrencyId": true,
      "IsNew": true,
      "OldHSCode": "sample string 38",
      "OldHSDescription": "sample string 39",
      "OldDescription": "sample string 40",
      "OldUnitId": 41,
      "OldUnitCode": "sample string 42",
      "OldPrice": 43.0,
      "OldQuantity": 44.0,
      "OldAmount": 45.0,
      "OldCurrencyId": 46,
      "OldCurrencyCode": "sample string 47"
    },
    {
      "Id": "sample string 1",
      "AsPerAttached": true,
      "ImportPermitId": "sample string 3",
      "Type": "sample string 4",
      "ItemNo": 5,
      "HSCodeId": 6,
      "HSCode": "sample string 7",
      "HSCodeType": "sample string 8",
      "HSYear": 9,
      "HSDescription": "sample string 10",
      "Description": "sample string 11",
      "ItemDescription": "sample string 12",
      "UnitId": 13,
      "UnitCode": "sample string 14",
      "Price": 15.0,
      "sPrice": "sample string 16",
      "Quantity": 17.0,
      "sQuantity": "sample string 18",
      "Amount": 19.0,
      "sAmount": "sample string 20",
      "CurrencyId": 21,
      "CurrencyCode": "sample string 22",
      "CreatedDate": "2026-06-13T05:13:42.1753757+06:30",
      "No": 24,
      "IsAdd": true,
      "ParentId": "sample string 26",
      "CheckId": "sample string 27",
      "Status": "sample string 28",
      "IsCheck": true,
      "IsHSCode": true,
      "IsDescription": true,
      "IsUnitId": true,
      "IsPrice": true,
      "IsQuantity": true,
      "IsAmount": true,
      "IsCurrencyId": true,
      "IsNew": true,
      "OldHSCode": "sample string 38",
      "OldHSDescription": "sample string 39",
      "OldDescription": "sample string 40",
      "OldUnitId": 41,
      "OldUnitCode": "sample string 42",
      "OldPrice": 43.0,
      "OldQuantity": 44.0,
      "OldAmount": 45.0,
      "OldCurrencyId": 46,
      "OldCurrencyCode": "sample string 47"
    }
  ],
  "isCheckPrint": true,
  "isApprovePrint": true
}

application/xml, text/xml

Sample:
<ImportPermitViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <isApprovePrint xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">true</isApprovePrint>
  <isCheckPrint xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">true</isCheckPrint>
  <AmendAuthority>sample string 74</AmendAuthority>
  <AmendDate>2026-06-13T05:13:42.1753757+06:30</AmendDate>
  <AmendRemark>sample string 73</AmendRemark>
  <ApplicationDate>2026-06-13T05:13:42.1753757+06:30</ApplicationDate>
  <ApplicationNo>sample string 3</ApplicationNo>
  <ApplyType>sample string 2</ApplyType>
  <ApproveDate>2026-06-13T05:13:42.1753757+06:30</ApproveDate>
  <ApproveUserId>62</ApproveUserId>
  <ApproveUserName>sample string 63</ApproveUserName>
  <AuthorisedAgentAddress>sample string 35</AuthorisedAgentAddress>
  <AuthorisedAgentName>sample string 34</AuthorisedAgentName>
  <BusinessTypeName>sample string 20</BusinessTypeName>
  <CancellationAuthority>sample string 80</CancellationAuthority>
  <CancellationDate>2026-06-13T05:13:42.1753757+06:30</CancellationDate>
  <CancellationRemark>sample string 79</CancellationRemark>
  <CheckDate>2026-06-13T05:13:42.1753757+06:30</CheckDate>
  <CheckUserId>58</CheckUserId>
  <CheckUserName>sample string 59</CheckUserName>
  <CitizenshipCardNo>sample string 32</CitizenshipCardNo>
  <CommodityType>sample string 89</CommodityType>
  <CompanyAddress>sample string 15</CompanyAddress>
  <CompanyName>sample string 14</CompanyName>
  <CompanyRegistrationDate>2026-06-13T05:13:42.1753757+06:30</CompanyRegistrationDate>
  <CompanyRegistrationNo>sample string 9</CompanyRegistrationNo>
  <Country>sample string 18</Country>
  <CountryOriginName>sample string 41</CountryOriginName>
  <CountryofOriginId>sample string 40</CountryofOriginId>
  <CreatedDate>2026-06-13T05:13:42.1753757+06:30</CreatedDate>
  <DateofValidity>2026-06-13T05:13:42.1753757+06:30</DateofValidity>
  <EICCNoId>122</EICCNoId>
  <EICCRemark>sample string 124</EICCRemark>
  <EICCStatus>sample string 123</EICCStatus>
  <ExchangeRate>1</ExchangeRate>
  <ExportImportMethodName>sample string 26</ExportImportMethodName>
  <ExportImportSectionId>24</ExportImportSectionId>
  <ExportImportSectionName>sample string 25</ExportImportSectionName>
  <ExtensionAuthority>sample string 77</ExtensionAuthority>
  <ExtensionCount>119</ExtensionCount>
  <ExtensionDate>2026-06-13T05:13:42.1753757+06:30</ExtensionDate>
  <ExtensionRemark>sample string 76</ExtensionRemark>
  <ExtensionTime>120</ExtensionTime>
  <HSCode>sample string 86</HSCode>
  <Id>sample string 1</Id>
  <Id_Status>sample string 83</Id_Status>
  <ImportPermitNo>sample string 22</ImportPermitNo>
  <IsAmend>true</IsAmend>
  <IsApprove>true</IsApprove>
  <IsAuthorisedAgentAddress>true</IsAuthorisedAgentAddress>
  <IsAuthorisedAgentName>true</IsAuthorisedAgentName>
  <IsCancel>true</IsCancel>
  <IsCheck>true</IsCheck>
  <IsCommodityType>true</IsCommodityType>
  <IsCountryofOriginId>true</IsCountryofOriginId>
  <IsDraft>true</IsDraft>
  <IsEICCSubmit>true</IsEICCSubmit>
  <IsExtension>true</IsExtension>
  <IsFinish>true</IsFinish>
  <IsLicenceFree>true</IsLicenceFree>
  <IsNRC>true</IsNRC>
  <IsOld>true</IsOld>
  <IsOldNRC>true</IsOldNRC>
  <IsPassportNo>true</IsPassportNo>
  <IsPermitType>true</IsPermitType>
  <IsPortofDischargeId>true</IsPortofDischargeId>
  <IsPortofShipmentId>true</IsPortofShipmentId>
  <IsPrint>true</IsPrint>
  <IsRead>true</IsRead>
  <IsRemark>true</IsRemark>
  <IsSellerCountryId>true</IsSellerCountryId>
  <IsSuspension>true</IsSuspension>
  <IssuedDate>2026-06-13T05:13:42.1753757+06:30</IssuedDate>
  <Items>
    <ImportPermitItemViewModel>
      <Amount>19</Amount>
      <AsPerAttached>true</AsPerAttached>
      <CheckId>sample string 27</CheckId>
      <CreatedDate>2026-06-13T05:13:42.1753757+06:30</CreatedDate>
      <CurrencyCode>sample string 22</CurrencyCode>
      <CurrencyId>21</CurrencyId>
      <Description>sample string 11</Description>
      <HSCode>sample string 7</HSCode>
      <HSCodeId>6</HSCodeId>
      <HSCodeType>sample string 8</HSCodeType>
      <HSDescription>sample string 10</HSDescription>
      <HSYear>9</HSYear>
      <Id>sample string 1</Id>
      <ImportPermitId>sample string 3</ImportPermitId>
      <IsAdd>true</IsAdd>
      <IsAmount>true</IsAmount>
      <IsCheck>true</IsCheck>
      <IsCurrencyId>true</IsCurrencyId>
      <IsDescription>true</IsDescription>
      <IsHSCode>true</IsHSCode>
      <IsNew>true</IsNew>
      <IsPrice>true</IsPrice>
      <IsQuantity>true</IsQuantity>
      <IsUnitId>true</IsUnitId>
      <ItemDescription>sample string 12</ItemDescription>
      <ItemNo>5</ItemNo>
      <No>24</No>
      <OldAmount>45</OldAmount>
      <OldCurrencyCode>sample string 47</OldCurrencyCode>
      <OldCurrencyId>46</OldCurrencyId>
      <OldDescription>sample string 40</OldDescription>
      <OldHSCode>sample string 38</OldHSCode>
      <OldHSDescription>sample string 39</OldHSDescription>
      <OldPrice>43</OldPrice>
      <OldQuantity>44</OldQuantity>
      <OldUnitCode>sample string 42</OldUnitCode>
      <OldUnitId>41</OldUnitId>
      <ParentId>sample string 26</ParentId>
      <Price>15</Price>
      <Quantity>17</Quantity>
      <Status>sample string 28</Status>
      <Type>sample string 4</Type>
      <UnitCode>sample string 14</UnitCode>
      <UnitId>13</UnitId>
      <sAmount>sample string 20</sAmount>
      <sPrice>sample string 16</sPrice>
      <sQuantity>sample string 18</sQuantity>
    </ImportPermitItemViewModel>
    <ImportPermitItemViewModel>
      <Amount>19</Amount>
      <AsPerAttached>true</AsPerAttached>
      <CheckId>sample string 27</CheckId>
      <CreatedDate>2026-06-13T05:13:42.1753757+06:30</CreatedDate>
      <CurrencyCode>sample string 22</CurrencyCode>
      <CurrencyId>21</CurrencyId>
      <Description>sample string 11</Description>
      <HSCode>sample string 7</HSCode>
      <HSCodeId>6</HSCodeId>
      <HSCodeType>sample string 8</HSCodeType>
      <HSDescription>sample string 10</HSDescription>
      <HSYear>9</HSYear>
      <Id>sample string 1</Id>
      <ImportPermitId>sample string 3</ImportPermitId>
      <IsAdd>true</IsAdd>
      <IsAmount>true</IsAmount>
      <IsCheck>true</IsCheck>
      <IsCurrencyId>true</IsCurrencyId>
      <IsDescription>true</IsDescription>
      <IsHSCode>true</IsHSCode>
      <IsNew>true</IsNew>
      <IsPrice>true</IsPrice>
      <IsQuantity>true</IsQuantity>
      <IsUnitId>true</IsUnitId>
      <ItemDescription>sample string 12</ItemDescription>
      <ItemNo>5</ItemNo>
      <No>24</No>
      <OldAmount>45</OldAmount>
      <OldCurrencyCode>sample string 47</OldCurrencyCode>
      <OldCurrencyId>46</OldCurrencyId>
      <OldDescription>sample string 40</OldDescription>
      <OldHSCode>sample string 38</OldHSCode>
      <OldHSDescription>sample string 39</OldHSDescription>
      <OldPrice>43</OldPrice>
      <OldQuantity>44</OldQuantity>
      <OldUnitCode>sample string 42</OldUnitCode>
      <OldUnitId>41</OldUnitId>
      <ParentId>sample string 26</ParentId>
      <Price>15</Price>
      <Quantity>17</Quantity>
      <Status>sample string 28</Status>
      <Type>sample string 4</Type>
      <UnitCode>sample string 14</UnitCode>
      <UnitId>13</UnitId>
      <sAmount>sample string 20</sAmount>
      <sPrice>sample string 16</sPrice>
      <sQuantity>sample string 18</sQuantity>
    </ImportPermitItemViewModel>
  </Items>
  <LastDate>2026-06-13T05:13:42.1753757+06:30</LastDate>
  <LicenceDate>2026-06-13T05:13:42.1753757+06:30</LicenceDate>
  <LicenceYear>sample string 68</LicenceYear>
  <LineofBusinessName>sample string 21</LineofBusinessName>
  <MemberId>sample string 46</MemberId>
  <MemberNRCNo>sample string 48</MemberNRCNo>
  <MemberName>sample string 47</MemberName>
  <Message>sample string 81</Message>
  <NRCNo>sample string 31</NRCNo>
  <NRCPefixName>sample string 29</NRCPefixName>
  <NRCPrefixCodeId>1</NRCPrefixCodeId>
  <NRCPrefixCodeName>sample string 30</NRCPrefixCodeName>
  <NRCPrefixId>1</NRCPrefixId>
  <NRCType>sample string 27</NRCType>
  <No>85</No>
  <OldAuthorisedAgentAddress>sample string 93</OldAuthorisedAgentAddress>
  <OldAuthorisedAgentName>sample string 92</OldAuthorisedAgentName>
  <OldCommodityType>sample string 104</OldCommodityType>
  <OldCountryOriginName>sample string 100</OldCountryOriginName>
  <OldCountryofOriginId>sample string 99</OldCountryofOriginId>
  <OldImportPermitNo>sample string 23</OldImportPermitNo>
  <OldLastDate>2026-06-13T05:13:42.1753757+06:30</OldLastDate>
  <OldNRCNo>sample string 96</OldNRCNo>
  <OldNRCPrefixCodeId>1</OldNRCPrefixCodeId>
  <OldNRCPrefixId>1</OldNRCPrefixId>
  <OldNRCType>sample string 90</OldNRCType>
  <OldPassportNo>sample string 91</OldPassportNo>
  <OldPermitType>sample string 103</OldPermitType>
  <OldPortofDischargeCode>sample string 101</OldPortofDischargeCode>
  <OldPortofDischargeName>sample string 102</OldPortofDischargeName>
  <OldPortofShipmentId>sample string 97</OldPortofShipmentId>
  <OldPortofShipmentName>sample string 98</OldPortofShipmentName>
  <OldRemark>sample string 106</OldRemark>
  <OldSellerCountryId>94</OldSellerCountryId>
  <OldSellerCountryName>sample string 95</OldSellerCountryName>
  <PaThaKaId>sample string 7</PaThaKaId>
  <PaThaKaNo>sample string 8</PaThaKaNo>
  <PaThaKaNo_CompanyName_DateofValidity>sample string 19</PaThaKaNo_CompanyName_DateofValidity>
  <ParentId>sample string 57</ParentId>
  <PassportNo>sample string 33</PassportNo>
  <PermitType>sample string 45</PermitType>
  <PortofDischarge>sample string 43</PortofDischarge>
  <PortofDischargeCode>sample string 42</PortofDischargeCode>
  <PortofDischargeName>sample string 44</PortofDischargeName>
  <PortofShipmentId>sample string 38</PortofShipmentId>
  <PortofShipmentName>sample string 39</PortofShipmentName>
  <ProductGroupId>125</ProductGroupId>
  <ProductItemId>126</ProductItemId>
  <Remark>sample string 70</Remark>
  <SellerCountryId>36</SellerCountryId>
  <SellerCountryName>sample string 37</SellerCountryName>
  <State>sample string 17</State>
  <StatePrefix>28</StatePrefix>
  <Status>sample string 53</Status>
  <Status_Message>sample string 82</Status_Message>
  <Step>49</Step>
  <SuspensionDate>2026-06-13T05:13:42.1753757+06:30</SuspensionDate>
  <TotalCIF>1.1</TotalCIF>
  <Township>sample string 16</Township>
  <sAmendDate>sample string 72</sAmendDate>
  <sApplicationDate>sample string 5</sApplicationDate>
  <sApproveDate>sample string 64</sApproveDate>
  <sCancellationDate>sample string 78</sCancellationDate>
  <sCheckDate>sample string 61</sCheckDate>
  <sCompanyRegistrationDate>sample string 11</sCompanyRegistrationDate>
  <sCreatedDate>sample string 65</sCreatedDate>
  <sDateofValidity>sample string 13</sDateofValidity>
  <sExtensionDate>sample string 75</sExtensionDate>
  <sIssuedDate>sample string 71</sIssuedDate>
  <sLastDate>sample string 69</sLastDate>
  <sLicenceDate>sample string 67</sLicenceDate>
  <sOldLastDate>sample string 105</sOldLastDate>
  <sTotalCIF>sample string 66</sTotalCIF>
  <sTotalItemAmount>sample string 87</sTotalItemAmount>
</ImportPermitViewModel>

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

Response Information

Resource Description

Collection of ResponseMessage
NameDescriptionTypeAdditional information
Id

string

None.

ReferenceNo

string

None.

WholeSaleRegistrationId

string

None.

MessageType

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "ReferenceNo": "sample string 2",
    "WholeSaleRegistrationId": "sample string 3",
    "MessageType": 4,
    "Message": "sample string 5"
  },
  {
    "Id": "sample string 1",
    "ReferenceNo": "sample string 2",
    "WholeSaleRegistrationId": "sample string 3",
    "MessageType": 4,
    "Message": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfResponseMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <ResponseMessage>
    <Id>sample string 1</Id>
    <Message>sample string 5</Message>
    <MessageType>4</MessageType>
    <ReferenceNo>sample string 2</ReferenceNo>
    <WholeSaleRegistrationId>sample string 3</WholeSaleRegistrationId>
  </ResponseMessage>
  <ResponseMessage>
    <Id>sample string 1</Id>
    <Message>sample string 5</Message>
    <MessageType>4</MessageType>
    <ReferenceNo>sample string 2</ReferenceNo>
    <WholeSaleRegistrationId>sample string 3</WholeSaleRegistrationId>
  </ResponseMessage>
</ArrayOfResponseMessage>