How to use Alamofire and SwiftyJSON to post array of dictionary?

How to use Alamofire and SwiftyJSON to post array of dictionary below?

[
{
    "TaxCodeName" : "GST2",
    "Amount" : 2
},
{
    "TaxCodeName" : "GST1",
    "Amount" : 2
}
]

I used the function below to get [[String: AnyObject]]:

func convertJobTransactionDetailToJson()->[[String: AnyObject]]
{
    var jobTransactionDetailListJSONData = [[String: AnyObject]]()
    for i in 0..<2
    {
         var tempJobTransactionDetailListJSONData = [String:AnyObject]()
         tempJobTransactionDetailListJSONData["Amount"] = 1 as AnyObject
         tempJobTransactionDetailListJSONData["TaxCodeName"] = "GST" as AnyObject
        jobTransactionDetailListJSONData.append( tempJobTransactionDetailListJSONData)
    }
    return  jobTransactionDetailListJSONData

}

Then I convert that to json and assign the following parameters:

parameters["JobTransactionDetail"] = JSON(convertJobTransactionDetailToJson())

When I post the above to backend it does not work.

Alamofire.request(APIURL,method: .post,parameters: parameters).validate().responseJSON { response in
    switch response.result {        
        case .success(let value):
}

Any idea how I can post this kind of nested JSON?