AddCardFormatAsync

Returns (Task)

Create a new Card Format in the designated Folder.

Name Description
folder
cardFormat

Add Card Format Async

Example in C#

// Returns: CardFormatInfo
var cardFormatInfo = await client.AddCardFormatAsync(FolderInfo folder, CardFormatInfo cardFormat)

Example in CURL



           curl -X POST \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/cardformats \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.CardFormatInfo, Feenics.Keep.WebApi.Model",
                       "NumberOfBits":26,
                       "FacilityCodeStartingAt":1,
                       "FacilityCodeLength":8,
                       "CardNumberStartingAt":9,
                       "CardNumberLength":16,
                       "IssueCodeStartingAt":0,
                       "IssueCodeLength":0,
                       "EvenParityBitsStartingAt":0,
                       "EvenParityBitsLength":13,
                       "OddParityBitsStartingAt":13,
                       "OddParityBitsLength":13,
                       "Offset":0,
                       "MagneticFormat":false,
                       "FacilityCode":45,
                       "MinCardNumberDigits":0,
                       "ReverseBitStream":false,
                       "CardFieldAsLargeEncodedNumber":false,
                       "ReverseBytes":false,
                       "EnableSpecial37BitParityCheck":false,
                       "Key":null,
                       "CommonName":"cURL_Example_Format",
                       "InFolderHref":null,
                       "InFolderKey":null,
                       "Links":[],
                       "ObjectLinks":null,
                       "Metadata":null,
                       "Notes":null,
                       "Tags":null,
                       "Monikers":null,
                       "Href":null
                   }'