POST api/order/GetOrderProductPacket
Request Information
URI Parameters
None.
Body Parameters
ProductParameterName | Description | Type | Additional information |
---|---|---|---|
PromotionParam | Dictionary of string [key] and Object [value] |
None. |
|
IsApplyForSTTFree | boolean |
None. |
|
LicenseNo | string |
None. |
|
ExpireDateProduct | date |
None. |
|
CustomerTaxCode | string |
None. |
|
EstablishDate | date |
None. |
|
ProductLicenseType | integer |
None. |
|
IsActionFromTaxCodeView | boolean |
None. |
|
TaxCodeHasByMeinvoice | boolean |
None. |
|
Logo | Collection of byte |
None. |
|
LogoString | string |
None. |
|
AccountObjectName | string |
None. |
|
AccountObjectAddress | string |
None. |
|
AccountObjectTel | string |
None. |
|
FromDate | date |
None. |
|
AppApiToken | string |
None. |
|
IsOnlyBuyTraining | boolean |
None. |
|
IsBuyFromWebsite | boolean |
None. |
|
IsEnterPrise | boolean |
None. |
|
ProductPacketCodeInLicense | string |
None. |
|
IsOther | boolean |
None. |
|
BuyerName | string |
None. |
|
BuyerEmail | string |
None. |
|
BuyerPhone | string |
None. |
|
BuyerDignityName | string |
None. |
|
OwnnerName | string |
None. |
|
OwnnerEmail | string |
None. |
|
OwnnerPhone | string |
None. |
|
AccountingName | string |
None. |
|
AccountingEmail | string |
None. |
|
AccountingPhone | string |
None. |
|
AccountingDignityName | string |
None. |
|
OwnnerDignityName | string |
None. |
|
TaxCodeHasBuyBankHub | boolean |
None. |
|
TaxCodeHasBuyInbot | boolean |
None. |
|
TaxCodeHasBuyMTAX | boolean |
None. |
|
IsSaleBankHub | boolean |
None. |
|
PurposeProductPacketCode | string |
None. |
|
IsLicenseInPilot2020 | boolean |
None. |
|
IsUsingSMEPilotPolicy | boolean |
None. |
|
TaxCodeHasBuyESIGN | boolean |
None. |
|
IsExpiredThanBuyNew | boolean |
None. |
|
IsConfirmKeepPacket | boolean |
None. |
|
IsAllowSelectRenewOption | boolean |
None. |
|
IsBuy3RenewYearOver | boolean |
None. |
|
RenewDeferenceMonth | integer |
None. |
|
RenewDeferencePrice | decimal number |
None. |
|
SMEPolicyType | integer |
None. |
|
IsUpgradeFrom2021Before | boolean |
None. |
|
IsLicense2021Expired | boolean |
None. |
|
IsBuyFromSME2021Before | boolean |
None. |
|
ProductCode | string |
None. |
|
ServiceToken | string |
None. |
|
ProductPacketCode | string |
None. |
|
DatabaseID | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PromotionParam": { "sample string 1": {}, "sample string 3": {} }, "IsApplyForSTTFree": true, "LicenseNo": "sample string 2", "ExpireDateProduct": "2025-05-14T10:39:02.4678061+07:00", "CustomerTaxCode": "sample string 3", "EstablishDate": "2025-05-14T10:39:02.4678061+07:00", "ProductLicenseType": 4, "IsActionFromTaxCodeView": true, "TaxCodeHasByMeinvoice": true, "Logo": "QEA=", "LogoString": "sample string 7", "AccountObjectName": "sample string 8", "AccountObjectAddress": "sample string 9", "AccountObjectTel": "sample string 10", "FromDate": "2025-05-14T10:39:02.4678061+07:00", "AppApiToken": "sample string 11", "IsOnlyBuyTraining": true, "IsBuyFromWebsite": true, "IsEnterPrise": true, "ProductPacketCodeInLicense": "sample string 15", "IsOther": true, "BuyerName": "sample string 17", "BuyerEmail": "sample string 18", "BuyerPhone": "sample string 19", "BuyerDignityName": "sample string 20", "OwnnerName": "sample string 21", "OwnnerEmail": "sample string 22", "OwnnerPhone": "sample string 23", "AccountingName": "sample string 24", "AccountingEmail": "sample string 25", "AccountingPhone": "sample string 26", "AccountingDignityName": "sample string 27", "OwnnerDignityName": "sample string 28", "TaxCodeHasBuyBankHub": true, "TaxCodeHasBuyInbot": true, "TaxCodeHasBuyMTAX": true, "IsSaleBankHub": true, "PurposeProductPacketCode": "sample string 33", "IsLicenseInPilot2020": true, "IsUsingSMEPilotPolicy": true, "TaxCodeHasBuyESIGN": true, "IsExpiredThanBuyNew": true, "IsConfirmKeepPacket": true, "IsAllowSelectRenewOption": true, "IsBuy3RenewYearOver": true, "RenewDeferenceMonth": 41, "RenewDeferencePrice": 42.0, "SMEPolicyType": 43, "IsUpgradeFrom2021Before": true, "IsLicense2021Expired": true, "IsBuyFromSME2021Before": true, "ProductCode": "sample string 47", "ServiceToken": "sample string 48", "ProductPacketCode": "sample string 49", "DatabaseID": "sample string 50" }
application/xml, text/xml
Sample:
<ProductParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.SME.Order.Contract"> <DatabaseID>sample string 50</DatabaseID> <ProductCode>sample string 47</ProductCode> <ProductPacketCode>sample string 49</ProductPacketCode> <ServiceToken>sample string 48</ServiceToken> <AccountObjectAddress>sample string 9</AccountObjectAddress> <AccountObjectName>sample string 8</AccountObjectName> <AccountObjectTel>sample string 10</AccountObjectTel> <AccountingDignityName>sample string 27</AccountingDignityName> <AccountingEmail>sample string 25</AccountingEmail> <AccountingName>sample string 24</AccountingName> <AccountingPhone>sample string 26</AccountingPhone> <AppApiToken>sample string 11</AppApiToken> <BuyerDignityName>sample string 20</BuyerDignityName> <BuyerEmail>sample string 18</BuyerEmail> <BuyerName>sample string 17</BuyerName> <BuyerPhone>sample string 19</BuyerPhone> <CustomerTaxCode>sample string 3</CustomerTaxCode> <EstablishDate>2025-05-14T10:39:02.4678061+07:00</EstablishDate> <ExpireDateProduct>2025-05-14T10:39:02.4678061+07:00</ExpireDateProduct> <FromDate>2025-05-14T10:39:02.4678061+07:00</FromDate> <IsActionFromTaxCodeView>true</IsActionFromTaxCodeView> <IsAllowSelectRenewOption>true</IsAllowSelectRenewOption> <IsApplyForSTTFree>true</IsApplyForSTTFree> <IsBuy3RenewYearOver>true</IsBuy3RenewYearOver> <IsBuyFromSME2021Before>true</IsBuyFromSME2021Before> <IsBuyFromWebsite>true</IsBuyFromWebsite> <IsConfirmKeepPacket>true</IsConfirmKeepPacket> <IsEnterPrise>true</IsEnterPrise> <IsExpiredThanBuyNew>true</IsExpiredThanBuyNew> <IsLicense2021Expired>true</IsLicense2021Expired> <IsLicenseInPilot2020>true</IsLicenseInPilot2020> <IsOnlyBuyTraining>true</IsOnlyBuyTraining> <IsOther>true</IsOther> <IsSaleBankHub>true</IsSaleBankHub> <IsUpgradeFrom2021Before>true</IsUpgradeFrom2021Before> <IsUsingSMEPilotPolicy>true</IsUsingSMEPilotPolicy> <LicenseNo>sample string 2</LicenseNo> <Logo>QEA=</Logo> <LogoString>sample string 7</LogoString> <OwnnerDignityName>sample string 28</OwnnerDignityName> <OwnnerEmail>sample string 22</OwnnerEmail> <OwnnerName>sample string 21</OwnnerName> <OwnnerPhone>sample string 23</OwnnerPhone> <ProductLicenseType>4</ProductLicenseType> <ProductPacketCodeInLicense>sample string 15</ProductPacketCodeInLicense> <PromotionParam xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringanyType> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value /> </d2p1:KeyValueOfstringanyType> <d2p1:KeyValueOfstringanyType> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value /> </d2p1:KeyValueOfstringanyType> </PromotionParam> <PurposeProductPacketCode>sample string 33</PurposeProductPacketCode> <RenewDeferenceMonth>41</RenewDeferenceMonth> <RenewDeferencePrice>42</RenewDeferencePrice> <SMEPolicyType>43</SMEPolicyType> <TaxCodeHasBuyBankHub>true</TaxCodeHasBuyBankHub> <TaxCodeHasBuyESIGN>true</TaxCodeHasBuyESIGN> <TaxCodeHasBuyInbot>true</TaxCodeHasBuyInbot> <TaxCodeHasBuyMTAX>true</TaxCodeHasBuyMTAX> <TaxCodeHasByMeinvoice>true</TaxCodeHasByMeinvoice> </ProductParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResultName | Description | Type | Additional information |
---|---|---|---|
SerializeConfig | SerializeConfig |
None. |
|
Success | boolean |
None. |
|
Data | Object |
None. |
|
CustomData | Object |
None. |
|
Errors | Collection of string |
None. |
|
ErrorCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "SerializeConfig": { "<PropertiesListToSerialize>k__BackingField": [ "sample string 1", "sample string 2" ], "<ContainsPropertiesList>k__BackingField": true }, "Success": true, "Data": "{}", "CustomData": "{}", "Errors": [ "sample string 1", "sample string 2" ], "ErrorCode": "sample string 4" }
application/xml, text/xml
Sample:
<ServiceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.SME.Order.Library"> <CustomData xmlns:d2p1="http://www.w3.org/2001/XMLSchema" i:type="d2p1:string">{}</CustomData> <Data xmlns:d2p1="http://www.w3.org/2001/XMLSchema" i:type="d2p1:string">{}</Data> <ErrorCode>sample string 4</ErrorCode> <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Errors> <SerializeConfig> <_x003C_ContainsPropertiesList_x003E_k__BackingField>true</_x003C_ContainsPropertiesList_x003E_k__BackingField> <_x003C_PropertiesListToSerialize_x003E_k__BackingField xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </_x003C_PropertiesListToSerialize_x003E_k__BackingField> </SerializeConfig> <Success>true</Success> </ServiceResult>