POST api/Parameter/GetPackagingTypeList

Request Information

URI Parameters

None.

Body Parameters

GetPackagingTypeListMobileRequest

None.

Request Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<GetPackagingTypeListMobileRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.Model.Mobile" />

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

Response Information

Resource Description

GetPackagingTypeListMobileResponse
NameDescriptionTypeAdditional information
PackagingTypeList

Collection of PackagingTypeMobileModel

None.

Result

ResultType

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "PackagingTypeList": [
    {
      "PackagingTypeId": 1.0,
      "PackagingTypeName": "sample string 2",
      "PackagingTypeCode": "sample string 3"
    },
    {
      "PackagingTypeId": 1.0,
      "PackagingTypeName": "sample string 2",
      "PackagingTypeCode": "sample string 3"
    }
  ],
  "Result": 0,
  "ErrorMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<GetPackagingTypeListMobileResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.Model.Mobile">
  <_x003C_ErrorMessage_x003E_k__BackingField>sample string 1</_x003C_ErrorMessage_x003E_k__BackingField>
  <_x003C_Result_x003E_k__BackingField>Success</_x003C_Result_x003E_k__BackingField>
  <PackagingTypeList>
    <PackagingTypeMobileModel>
      <PackagingTypeCode>sample string 3</PackagingTypeCode>
      <PackagingTypeId>1</PackagingTypeId>
      <PackagingTypeName>sample string 2</PackagingTypeName>
    </PackagingTypeMobileModel>
    <PackagingTypeMobileModel>
      <PackagingTypeCode>sample string 3</PackagingTypeCode>
      <PackagingTypeId>1</PackagingTypeId>
      <PackagingTypeName>sample string 2</PackagingTypeName>
    </PackagingTypeMobileModel>
  </PackagingTypeList>
</GetPackagingTypeListMobileResponse>