PUT api/external/v1/TrainingCurve?CreateDataNotFound={CreateDataNotFound}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CreateDataNotFound | boolean |
Default value is False |
Body Parameters
Collection of SFE.Common.PublicEntities.TrainingCurveVMName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
GUID | string |
None. |
|
Created | date |
None. |
|
Modified | date |
None. |
|
AlphaNumId | string |
None. |
|
Name | string |
None. |
|
DayPeriod | SFE.Common.Enumerations.DayPeriod |
None. |
|
BaseRateId | integer |
None. |
|
BaseRateAlphaNumId | string |
None. |
|
BaseRateName | string |
None. |
|
DepartmentId | integer |
None. |
|
DepartmentGUID | string |
None. |
|
DepartmentAlphaNumId | string |
None. |
|
TrainingCurveLevels | Collection of SFE.Common.PublicEntities.TrainingCurveLevelVM |
None. |
Request Formats
application/json, text/json
Sample:
[ { "id": 1, "guid": "sample string 1", "created": "2024-11-15T03:38:31.0268739Z", "modified": "2024-11-15T03:38:31.0268739Z", "alphaNumId": "sample string 3", "name": "sample string 4", "dayPeriod": 0, "baseRateId": 5, "baseRateAlphaNumId": "sample string 6", "baseRateName": "sample string 7", "departmentId": 8, "departmentGUID": "sample string 9", "departmentAlphaNumId": "sample string 10", "trainingCurveLevels": [ { "level": 1, "hours": 2.0, "efficiency": 3.0, "efficiencyLow": 4.0, "efficiencyHigh": 5.0 }, { "level": 1, "hours": 2.0, "efficiency": 3.0, "efficiencyLow": 4.0, "efficiencyHigh": 5.0 } ] }, { "id": 1, "guid": "sample string 1", "created": "2024-11-15T03:38:31.0268739Z", "modified": "2024-11-15T03:38:31.0268739Z", "alphaNumId": "sample string 3", "name": "sample string 4", "dayPeriod": 0, "baseRateId": 5, "baseRateAlphaNumId": "sample string 6", "baseRateName": "sample string 7", "departmentId": 8, "departmentGUID": "sample string 9", "departmentAlphaNumId": "sample string 10", "trainingCurveLevels": [ { "level": 1, "hours": 2.0, "efficiency": 3.0, "efficiencyLow": 4.0, "efficiencyHigh": 5.0 }, { "level": 1, "hours": 2.0, "efficiency": 3.0, "efficiencyLow": 4.0, "efficiencyHigh": 5.0 } ] } ]
application/xml, text/xml
Sample:
<ArrayOfTrainingCurveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFE.Common.PublicEntities"> <TrainingCurveVM> <AlphaNumId>sample string 3</AlphaNumId> <BaseRateAlphaNumId>sample string 6</BaseRateAlphaNumId> <BaseRateId>5</BaseRateId> <BaseRateName>sample string 7</BaseRateName> <Created>2024-11-14T23:38:31.0268739-04:00</Created> <DayPeriod>Daily</DayPeriod> <DepartmentAlphaNumId>sample string 10</DepartmentAlphaNumId> <DepartmentGUID>sample string 9</DepartmentGUID> <DepartmentId>8</DepartmentId> <GUID>sample string 1</GUID> <Id>1</Id> <Modified>2024-11-14T23:38:31.0268739-04:00</Modified> <Name>sample string 4</Name> <TrainingCurveLevels> <TrainingCurveLevelVM> <Efficiency>3</Efficiency> <EfficiencyHigh>5</EfficiencyHigh> <EfficiencyLow>4</EfficiencyLow> <Hours>2</Hours> <Level>1</Level> </TrainingCurveLevelVM> <TrainingCurveLevelVM> <Efficiency>3</Efficiency> <EfficiencyHigh>5</EfficiencyHigh> <EfficiencyLow>4</EfficiencyLow> <Hours>2</Hours> <Level>1</Level> </TrainingCurveLevelVM> </TrainingCurveLevels> </TrainingCurveVM> <TrainingCurveVM> <AlphaNumId>sample string 3</AlphaNumId> <BaseRateAlphaNumId>sample string 6</BaseRateAlphaNumId> <BaseRateId>5</BaseRateId> <BaseRateName>sample string 7</BaseRateName> <Created>2024-11-14T23:38:31.0268739-04:00</Created> <DayPeriod>Daily</DayPeriod> <DepartmentAlphaNumId>sample string 10</DepartmentAlphaNumId> <DepartmentGUID>sample string 9</DepartmentGUID> <DepartmentId>8</DepartmentId> <GUID>sample string 1</GUID> <Id>1</Id> <Modified>2024-11-14T23:38:31.0268739-04:00</Modified> <Name>sample string 4</Name> <TrainingCurveLevels> <TrainingCurveLevelVM> <Efficiency>3</Efficiency> <EfficiencyHigh>5</EfficiencyHigh> <EfficiencyLow>4</EfficiencyLow> <Hours>2</Hours> <Level>1</Level> </TrainingCurveLevelVM> <TrainingCurveLevelVM> <Efficiency>3</Efficiency> <EfficiencyHigh>5</EfficiencyHigh> <EfficiencyLow>4</EfficiencyLow> <Hours>2</Hours> <Level>1</Level> </TrainingCurveLevelVM> </TrainingCurveLevels> </TrainingCurveVM> </ArrayOfTrainingCurveVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.