GET api/SupplierType

Obtener lista de supplierType

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ResponseModelApiOfListOfSupplierTypeSearchModelApi
NameDescriptionTypeAdditional information
success

Indica si la solicitud se procesó de manera satisfactoria

boolean

None.

message

Mensaje de la solicitud

string

None.

messageDetail

Lista de mensajes

Collection of string

None.

failureCode

Código de error en caso de existir

string

None.

data

Layout de respuesta de la solicitud

Collection of SupplierTypeSearchModelApi

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "messageDetail": [
    "sample string 1",
    "sample string 2"
  ],
  "failureCode": "sample string 3",
  "data": [
    {
      "Id": 1,
      "PayerId": 1,
      "MaxSuppliers": 2,
      "CrmPriceList": "sample string 3",
      "MaxTransactions": 4,
      "MaxAmount": 5.0,
      "SourcePackageCode": "sample string 6",
      "TargetPackageCode": "sample string 7",
      "ValidationTypeId": 1,
      "ValidationPeriodId": 1,
      "Group": "sample string 8",
      "SubGroup": "sample string 9",
      "Epo": "sample string 10",
      "SupplierType": "sample string 11"
    },
    {
      "Id": 1,
      "PayerId": 1,
      "MaxSuppliers": 2,
      "CrmPriceList": "sample string 3",
      "MaxTransactions": 4,
      "MaxAmount": 5.0,
      "SourcePackageCode": "sample string 6",
      "TargetPackageCode": "sample string 7",
      "ValidationTypeId": 1,
      "ValidationPeriodId": 1,
      "Group": "sample string 8",
      "SubGroup": "sample string 9",
      "Epo": "sample string 10",
      "SupplierType": "sample string 11"
    }
  ]
}

application/xml, text/xml

Sample:
<ResponseModelApiOfListOfSupplierTypeSearchModelApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <success>true</success>
  <message>sample string 2</message>
  <messageDetail>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </messageDetail>
  <failureCode>sample string 3</failureCode>
  <data>
    <SupplierTypeSearchModelApi>
      <Group>sample string 8</Group>
      <SubGroup>sample string 9</SubGroup>
      <Epo>sample string 10</Epo>
      <SupplierType>sample string 11</SupplierType>
      <PayerId>Epo</PayerId>
      <MaxSuppliers>2</MaxSuppliers>
      <CrmPriceList>sample string 3</CrmPriceList>
      <MaxTransactions>4</MaxTransactions>
      <MaxAmount>5</MaxAmount>
      <SourcePackageCode>sample string 6</SourcePackageCode>
      <TargetPackageCode>sample string 7</TargetPackageCode>
      <ValidationTypeId>And</ValidationTypeId>
      <ValidationPeriodId>Monthly</ValidationPeriodId>
      <Id>1</Id>
    </SupplierTypeSearchModelApi>
    <SupplierTypeSearchModelApi>
      <Group>sample string 8</Group>
      <SubGroup>sample string 9</SubGroup>
      <Epo>sample string 10</Epo>
      <SupplierType>sample string 11</SupplierType>
      <PayerId>Epo</PayerId>
      <MaxSuppliers>2</MaxSuppliers>
      <CrmPriceList>sample string 3</CrmPriceList>
      <MaxTransactions>4</MaxTransactions>
      <MaxAmount>5</MaxAmount>
      <SourcePackageCode>sample string 6</SourcePackageCode>
      <TargetPackageCode>sample string 7</TargetPackageCode>
      <ValidationTypeId>And</ValidationTypeId>
      <ValidationPeriodId>Monthly</ValidationPeriodId>
      <Id>1</Id>
    </SupplierTypeSearchModelApi>
  </data>
</ResponseModelApiOfListOfSupplierTypeSearchModelApi>