jeudi 2 novembre 2017

jquery ajax call not working on function call

function Claim_related_api( Claim_number) {
            var model = { PolicyNumber: "236426891", ClaimNumber: Claim_number };




        $.ajax({
                type: "Post",
                data: JSON.stringify(model),                
                url: 'http://asplb-dev-00433/api/ClaimDetailsByClaim',
                dataType : "json",
                contentType: "application/json"

            }).done(function (res) {               
                alert(res[0].CLAIM_ID);

            });
}




Aucun commentaire:

Enregistrer un commentaire