PATCH api/Favorite/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
DeltaOfFavoriteName | Description | Type | Additional information |
---|---|---|---|
EntityType | Type |
None. |
|
ExpectedClrType | Type |
None. |
Request Formats
application/json, text/json
Sample:
{ "title": null, "gun": null, "optics": null, "notes": null, "dateCreatedUtc": "0001-01-01T00:00:00Z", "boreDiameter": 0.0, "barrelTwist": 0.0, "mVelocity": 0.0, "sightHeight": 0.0, "axialFormFactor": 0.0, "dateUpdatedUtc": "0001-01-01T00:00:00Z", "inputUnits": 0, "outputUnits": 0, "resultsIn": 0, "zeroRange": 0.0, "useZeroAngle": false, "hasCustomLoad": false, "case": null, "primer": null, "powder": null, "weight": null, "hasSensitivityFactor": false, "sensitivityFactor": 0.0, "baselineTemperature": 0.0, "g7Coefficient": 0.0, "g1Coefficient": 0.0, "customBulletName": null, "useG1": false, "cartridgeOverallLength": null, "chargeWeight": null, "bulletId": null, "ammunitionId": null, "userId": null, "photo": null, "isFourDof": false, "windageOffset": 0.0, "isLeftHandTwist": false, "distance": 0.0, "altitude": 0.0, "pressure": 0.0, "temperature": 0.0, "humidity": 0.0, "impactHeight": 0.0, "user": null, "bullet": null, "ammunition": null, "id": null, "version": null, "createdAt": null, "updatedAt": null, "deleted": false }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
FavoriteName | Description | Type | Additional information |
---|---|---|---|
Title | string |
Required String length: inclusive between 0 and 255 |
|
Gun | string |
String length: inclusive between 0 and 255 |
|
Optics | string |
String length: inclusive between 0 and 255 |
|
Notes | string |
String length: inclusive between 0 and 1000 |
|
DateCreatedUtc | date |
None. |
|
BoreDiameter | decimal number |
None. |
|
BarrelTwist | decimal number |
None. |
|
MVelocity | decimal number |
None. |
|
SightHeight | decimal number |
None. |
|
AxialFormFactor | decimal number |
None. |
|
DateUpdatedUtc | date |
None. |
|
InputUnits | integer |
None. |
|
OutputUnits | integer |
None. |
|
ResultsIn | integer |
None. |
|
ZeroRange | decimal number |
None. |
|
UseZeroAngle | boolean |
None. |
|
HasCustomLoad | boolean |
None. |
|
Case | string |
None. |
|
Primer | string |
None. |
|
Powder | string |
None. |
|
Weight | string |
None. |
|
HasSensitivityFactor | boolean |
None. |
|
SensitivityFactor | decimal number |
None. |
|
BaselineTemperature | decimal number |
None. |
|
G7Coefficient | decimal number |
None. |
|
G1Coefficient | decimal number |
None. |
|
CustomBulletName | string |
None. |
|
UseG1 | boolean |
None. |
|
CartridgeOverallLength | string |
String length: inclusive between 0 and 255 |
|
ChargeWeight | string |
String length: inclusive between 0 and 100 |
|
BulletId | string |
None. |
|
AmmunitionId | string |
None. |
|
UserId | string |
Required |
|
Photo | Collection of byte |
None. |
|
IsFourDof | boolean |
None. |
|
WindageOffset | decimal number |
None. |
|
IsLeftHandTwist | boolean |
None. |
|
Distance | decimal number |
None. |
|
Altitude | decimal number |
None. |
|
Pressure | decimal number |
None. |
|
Temperature | decimal number |
None. |
|
Humidity | decimal number |
None. |
|
ImpactHeight | decimal number |
None. |
|
User | ApplicationUser |
None. |
|
Bullet | Bullet |
None. |
|
Ammunition | Ammunition |
None. |
|
Id | string |
None. |
|
Version | Collection of byte |
None. |
|
CreatedAt | date |
None. |
|
UpdatedAt | date |
Required |
|
Deleted | boolean |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.