AddBadgeTypeFieldAsync

add badge type field as an asynchronous operation. Returns (Task.)

Create a new Badge Type Field for the designated Badge Type.

Name Description
badgeType Type of the badge.
badgeTypeField The badge type field.

Add Badge Type Field Async

Example in C#

// Returns: BadgeTypeFieldInfo
var badgeTypeFieldInfo = await client.AddBadgeTypeFieldAsync(BadgeTypeInfo badgeType, BadgeTypeFieldInfo badgeTypeField)

Example in CURL



               curl -X POST \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/badgetypes/BADGETYPE.KEY/fields \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                   "$type":"Feenics.Keep.WebApi.Model.BadgeTypeFieldInfo, Feenics.Keep.WebApi.Model",
                   "X":0,
                   "Y":0,
                   "ZIndex":0,
                   "Width":0,
                   "Height":0,
                   "Opacity":0.0,
                   "BorderThickness":0.0,
                   "BorderBrush":null,
                   "BadgeSide":0,
                   "Rotation":0,
                   "HorizontalAlignment":0,
                   "VerticalAlignment":0,
                   "Key":null,
                   "CommonName":"BadgeTypeFieldFor_cUrl",
                   "InFolderHref":null,
                   "InFolderKey":null,
                   "Links":[],
                   "ObjectLinks":null,
                   "Metadata":null,
                   "Notes":null,
                   "Tags":null,
                   "Monikers":null,
                   "Href":null
               }'