POST api/Ammunition
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.