PATCH api/Ammunition/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
DeltaOfAmmunitionName | Description | Type | Additional information |
---|---|---|---|
EntityType | Type |
None. |
|
ExpectedClrType | Type |
None. |
Request Formats
application/json, text/json
Sample:
{ "cartridge": null, "ammunitionTypeId": null, "ballisticCoefficient": 0.0, "weight": 0.0, "muzzleVelocity": 0.0, "grouping": null, "boreDiameter": 0.0, "productLine": null, "notes": null, "allowAllUsers": false, "shortName": null, "sku": null, "ammoSku": null, "upc": null, "cartridgeId": null, "ammoCartridge": null, "ammunitionType": null, "userGroupAmmunitions": null, "id": null, "version": null, "createdAt": null, "updatedAt": null, "deleted": false }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AmmunitionName | Description | Type | Additional information |
---|---|---|---|
Cartridge | string |
Required String length: inclusive between 0 and 255 |
|
AmmunitionTypeId | string |
Required |
|
BallisticCoefficient | decimal number |
None. |
|
Weight | decimal number |
None. |
|
MuzzleVelocity | decimal number |
None. |
|
Grouping | string |
Required String length: inclusive between 0 and 128 |
|
BoreDiameter | decimal number |
None. |
|
ProductLine | string |
String length: inclusive between 0 and 128 |
|
Notes | string |
String length: inclusive between 0 and 1000 |
|
AllowAllUsers | boolean |
None. |
|
ShortName | string |
String length: inclusive between 0 and 100 |
|
Sku | string |
String length: inclusive between 0 and 128 |
|
AmmoSku | string |
String length: inclusive between 0 and 128 |
|
UPC | string |
String length: inclusive between 0 and 128 |
|
CartridgeId | string |
None. |
|
AmmoCartridge | Cartridge |
None. |
|
AmmunitionType | AmmunitionType |
None. |
|
UserGroupAmmunitions | Collection of UserGroupAmmunition |
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.