Simple Script Json ASP Read

Completed Posted 6 years ago Paid on delivery
Completed Paid on delivery

Precisamos de um script simples, 1 arquivo, que receba um retorno em JSON e que as variaveis sejam capturadas via ASP CLASSIC.

Exemplo:

Retorno em JSON: [{"amount":0,"currencyCode":"BRL"}]

set xmlhttp = CreateObject("[url removed, login to view]")

[url removed, login to view] "GET", vURL, false

[url removed, login to view] "Content-type","application/json"

[url removed, login to view] "Authorization",Authorization

[url removed, login to view]

jsonString = [url removed, login to view]

set outputObj = [url removed, login to view](jsonString)

Retornos:

[url removed, login to view] [url removed, login to view]:

[{"amount":1999.99,"currencyCode":"EUR"}]

Capturar em variavel os valores de "amount" e "correncyCode".

Sendo o mesmo capaz de capturar um looping, como exemplo JSON:

[

{

"transactionId": "72741338154618892",

"transactionDate": "01102017 10:26:37",

"transactionFormattedDate": "2017-10-01T10:26:37",

"transactionCurrency": "USD",

"transactionAmount": 40,

"billingCurrency": "USD",

"billingAmount": 40,

"transactionStatus": "Pending",

"transactionName": "000000-Purchase",

"merchantName": "[url removed, login to view]",

"mccCode": "5999",

"mccDescription": "NO_DATA",

"posEntryMode": "0100",

"responseCodeDescription": "00-Approved",

"transactionType": "Buy",

"rubricName": null,

"rubricDescription": null,

"rubricId": null,

"invoiceId": null

},

{

"transactionId": "72741338154618892",

"transactionDate": "01102017 10:26:37",

"transactionFormattedDate": "2017-10-01T10:26:37",

"transactionCurrency": "USD",

"transactionAmount": 40,

"billingCurrency": "USD",

"billingAmount": 40,

"transactionStatus": "Pending",

"transactionName": "000000-Purchase",

"merchantName": "[url removed, login to view]",

"mccCode": "5999",

"mccDescription": "NO_DATA",

"posEntryMode": "0100",

"responseCodeDescription": "00-Approved",

"transactionType": "Buy",

"rubricName": null,

"rubricDescription": null,

"rubricId": null,

"invoiceId": null

}

]

ASP

Project ID: #15608751

About the project

8 proposals Remote project Active 6 years ago

Awarded to:

vmadhavan15

I have 11+ years of exp with this Classic ASP with various project exposure. I hope I can do this one. Please ping me if you are happy with my proposal. thank you. Relevant Skills and Experience Classic ASP Proposed More

$83 USD in 3 days
(1 Review)
1.8

8 freelancers are bidding on average $157 for this job

ITservice

Will make the page in classic ASP which will read the json and parse the data. Relevant Skills and Experience I have 15+ years of experience. Developed various projects in Classic ASP. Proposed Milestones $111 USD - More

$111 USD in 1 day
(199 Reviews)
7.6
vickey181

Definitivamente, eu posso fazer isso, fiz isso antes, verifique os comentários feitos neste projeto. freelancer.com/projects/json/Classic-ASP-Extract-parse-JSON/ foi um projeto muito pequeno. Relevant Skills and Exp More

$111 USD in 3 days
(6 Reviews)
4.0
sanakashif906

A proposal has not yet been provided

$166 USD in 3 days
(0 Reviews)
0.0
aligh66

A proposal has not yet been provided

$111 USD in 2 days
(0 Reviews)
0.0
Mark98998

Hi, I have gone through your project description and I'm interested to work with you. I'm very passionate about my work and give good quality of work to client. Relevant Skills and Experience I have more than 5+ year More

$222 USD in 7 days
(0 Reviews)
0.0