POST api/Kpi/UpdateKpiEvaluation
Request Information
URI Parameters
None.
Body Parameters
KpiEvaluation| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ValidDate | date |
None. |
|
| Quater | Quater |
None. |
|
| Period | Period |
None. |
|
| Year | Year |
None. |
|
| Comment | string |
None. |
|
| KpiNo | byte |
None. |
|
| Plant | Plant |
None. |
|
| LeadCountry | LeadCountry |
None. |
|
| GeographicalScope | GeographicalScope |
None. |
|
| Name | string |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedBy | string |
None. |
|
| ModifiedDate | date |
None. |
|
| Kpi4Deliveries | Collection of Kpi4Delivery |
None. |
|
| KpiValues | Collection of KpiValue |
None. |
|
| LegalEntity | LegalEntity |
None. |
|
| BusinessUnit | BusinessUnit |
None. |
|
| KpiEvaluationSuppliers | Collection of KpiEvaluationSupplier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ValidDate": "2026-11-23T20:36:44.9595005+00:00",
"Quater": {
"Id": 1,
"Name": "sample string 2",
"TranslationDateMonth": 3
},
"Period": {
"Id": 1,
"Name": "sample string 2",
"TranslationDateMonth": 3
},
"Year": {
"Id": 1,
"Name": "sample string 2",
"TranslationDateYear": 3
},
"Comment": "sample string 2",
"KpiNo": 64,
"Plant": {
"Id": 1,
"Name": "sample string 2",
"LeadCountryId": 3
},
"LeadCountry": {
"Id": 1,
"Name": "sample string 2",
"IsExpired": true
},
"GeographicalScope": {
"Id": 1,
"Name": "sample string 2",
"IsExpired": true
},
"Name": "sample string 3",
"CreatedBy": "sample string 4",
"CreatedDate": "2026-11-23T20:36:44.9595005+00:00",
"ModifiedBy": "sample string 5",
"ModifiedDate": "2026-11-23T20:36:44.9595005+00:00",
"Kpi4Deliveries": [
{
"Id": 1,
"Deliveries": 1,
"SupplierId": 2
},
{
"Id": 1,
"Deliveries": 1,
"SupplierId": 2
}
],
"KpiValues": [
{
"Id": 1,
"KpiTypeId": 2,
"SupplierId": 3,
"RateValue1": 1.0,
"RateValue2": 1.0,
"Comment": "sample string 4"
},
{
"Id": 1,
"KpiTypeId": 2,
"SupplierId": 3,
"RateValue1": 1.0,
"RateValue2": 1.0,
"Comment": "sample string 4"
}
],
"LegalEntity": {
"Id": 1,
"Name": "sample string 2",
"IsActive": true,
"IsDefault": true,
"SupplierIds": [
1,
2
]
},
"BusinessUnit": {
"Id": 1,
"Name": "sample string 2",
"IsExpired": true
},
"KpiEvaluationSuppliers": [
{
"Id": 1,
"SupplierId": 2,
"Comment": "sample string 3"
},
{
"Id": 1,
"SupplierId": 2,
"Comment": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<KpiEvaluation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FragranceServerSideClassLibrary.Repository">
<BusinessUnit>
<Id>1</Id>
<IsExpired>true</IsExpired>
<Name>sample string 2</Name>
</BusinessUnit>
<Comment>sample string 2</Comment>
<CreatedBy>sample string 4</CreatedBy>
<CreatedDate>2026-11-23T20:36:44.9595005+00:00</CreatedDate>
<GeographicalScope>
<Id>1</Id>
<IsExpired>true</IsExpired>
<Name>sample string 2</Name>
</GeographicalScope>
<Id>1</Id>
<Kpi4Deliveries>
<Kpi4Delivery>
<Deliveries>1</Deliveries>
<Id>1</Id>
<SupplierId>2</SupplierId>
</Kpi4Delivery>
<Kpi4Delivery>
<Deliveries>1</Deliveries>
<Id>1</Id>
<SupplierId>2</SupplierId>
</Kpi4Delivery>
</Kpi4Deliveries>
<KpiEvaluationSuppliers>
<KpiEvaluationSupplier>
<Comment>sample string 3</Comment>
<Id>1</Id>
<SupplierId>2</SupplierId>
</KpiEvaluationSupplier>
<KpiEvaluationSupplier>
<Comment>sample string 3</Comment>
<Id>1</Id>
<SupplierId>2</SupplierId>
</KpiEvaluationSupplier>
</KpiEvaluationSuppliers>
<KpiNo>64</KpiNo>
<KpiValues>
<KpiValue>
<Comment>sample string 4</Comment>
<Id>1</Id>
<KpiTypeId>2</KpiTypeId>
<RateValue1>1</RateValue1>
<RateValue2>1</RateValue2>
<SupplierId>3</SupplierId>
</KpiValue>
<KpiValue>
<Comment>sample string 4</Comment>
<Id>1</Id>
<KpiTypeId>2</KpiTypeId>
<RateValue1>1</RateValue1>
<RateValue2>1</RateValue2>
<SupplierId>3</SupplierId>
</KpiValue>
</KpiValues>
<LeadCountry>
<Id>1</Id>
<IsExpired>true</IsExpired>
<Name>sample string 2</Name>
</LeadCountry>
<LegalEntity>
<Id>1</Id>
<IsActive>true</IsActive>
<IsDefault>true</IsDefault>
<Name>sample string 2</Name>
<SupplierIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</SupplierIds>
</LegalEntity>
<ModifiedBy>sample string 5</ModifiedBy>
<ModifiedDate>2026-11-23T20:36:44.9595005+00:00</ModifiedDate>
<Name>sample string 3</Name>
<Period>
<Id>1</Id>
<Name>sample string 2</Name>
<TranslationDateMonth>3</TranslationDateMonth>
</Period>
<Plant>
<Id>1</Id>
<LeadCountryId>3</LeadCountryId>
<Name>sample string 2</Name>
</Plant>
<Quater>
<Id>1</Id>
<Name>sample string 2</Name>
<TranslationDateMonth>3</TranslationDateMonth>
</Quater>
<ValidDate>2026-11-23T20:36:44.9595005+00:00</ValidDate>
<Year>
<Id>1</Id>
<Name>sample string 2</Name>
<TranslationDateYear>3</TranslationDateYear>
</Year>
</KpiEvaluation>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OperationResultOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| Error | Error |
None. |
|
| Result | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Error": {
"PublicMessage": "sample string 1",
"InternalMessage": "sample string 2"
},
"Result": 1
}
application/xml, text/xml
Sample:
<OperationResultOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FragranceServerSideClassLibrary.Repository">
<Error xmlns:d2p1="http://schemas.datacontract.org/2004/07/FragranceServerSideClassLibrary">
<d2p1:InternalMessage>sample string 2</d2p1:InternalMessage>
<d2p1:PublicMessage>sample string 1</d2p1:PublicMessage>
</Error>
<Result>1</Result>
</OperationResultOfint>