PUT api/SupplierType
Actualizar SupplierType
Request Information
URI Parameters
None.
Body Parameters
SupplierTypeSearchModelApi| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| PayerId |
Quien paga |
Payer |
Required |
| MaxSuppliers |
Maximo de proveedores |
integer |
Required |
| CrmPriceList |
Lista de precio de CRM |
string |
None. |
| MaxTransactions |
Máximo de transacciones |
integer |
Required |
| MaxAmount |
Monto máximo |
decimal number |
Required |
| SourcePackageCode |
Paquete origen |
string |
Required |
| TargetPackageCode |
Paquete destino |
string |
Required |
| ValidationTypeId |
Tipo de validacion |
ValidationType |
Required |
| ValidationPeriodId |
Periodo de validacion |
ValidationPeriod |
Required |
| Group |
Grupo |
string |
Required |
| SubGroup |
SubGrupo |
string |
Required |
| Epo |
Epo |
string |
Required |
| SupplierType |
SupplierType |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"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:
<SupplierTypeSearchModelApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <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>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseModelApiOfSupplierTypeSearchModelApi| Name | Description | Type | Additional 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 |
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"
}
}
application/xml, text/xml
Sample:
<ResponseModelApiOfSupplierTypeSearchModelApi 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>
<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>
</data>
</ResponseModelApiOfSupplierTypeSearchModelApi>