You are on page 1of 13

API Doc Template

<Enter Detailed Description Here>


URI: <TBD>
HTTP Method: <TBD>
Headers
Param

Default Value

Required

Request JSON
Param

Default Value

Required

Request XML Tag Description


Sample Response JSON
<TBD>

Design Page Form 8843

Design URL
http://taxcup.azurewebsites.net/manual_taxfile.php
Make sure that the design is matching very closely.

Screen Shot

Download Button

When the user click on the download button, the user should be allowed to
download the PDF in their local machine.
8843 PDF GET

https://www.getpostman.com/collections/37183aa43c2c15049d2e

This API will provide the Form 8843 PDF from the server. It will return the PDF document. Make sure
to HTTPS
URI: https://dev.taxgenerate.com/api/v1.0/customer/form8843
HTTP Method: GET
Headers
Param

Default Value

Required

Content-Type

application/json

YES

Accept

application/pdf

YES

Authorization

Bearer _QxX4xEqmJzYuzCXpEc

YES

"content-type": "application/json",
"authorization": "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxIiwiaXNzIjoiaHR0cHM6XC9cL2Rldi
50YXhnZW5lcmF0ZS5jb21cL2FwaVwvdjEuMFwvY3VzdG9tZXJcL2FjY2Vzc190b2tlbiIsI
mlhdCI6MTQ3NjQ3NTU2MCwiZXhwIjoxNDc2NDc5MTYwLCJuYmYiOjE0NzY0NzU1NjAsI
mp0aSI6ImE1YTJlZmVmNzA0ZmI5ZGU3ODA1YTA1OTk1NzRiNjRkIn0.NrcD3z5NPudW
BuoYbLA9AXGn_QxX4xEqmJzYuzCXpEc",
"accept": "application/pdf
Request JSON Body
Not Applicable in GET Request
Sample Response JSON
It will return the PDF document
AJAX Code

var settings = {
"async": true,
"crossDomain": true,
"url": "https://dev.taxgenerate.com/api/v1.0/customer/form8843",
"method": "GET",
"headers": {
"content-type": "application/json",
"authorization": "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxIiwiaXNzIjoiaHR0cHM6XC9cL2Rldi
50YXhnZW5lcmF0ZS5jb21cL2FwaVwvdjEuMFwvY3VzdG9tZXJcL2FjY2Vzc190b2tlbiIsI
mlhdCI6MTQ3NjQ3NTU2MCwiZXhwIjoxNDc2NDc5MTYwLCJuYmYiOjE0NzY0NzU1NjAsI
mp0aSI6ImE1YTJlZmVmNzA0ZmI5ZGU3ODA1YTA1OTk1NzRiNjRkIn0.NrcD3z5NPudW
BuoYbLA9AXGn_QxX4xEqmJzYuzCXpEc",
"accept": "application/pdf",
"cache-control": "no-cache",
"postman-token": "3ba6d9a8-4963-4427-3189-32acec0aac1c"
}
}
$.ajax(settings).done(function (response) {
console.log(response);
});

Design Page Form 1040NREZ

Design URL
http://taxcup.azurewebsites.net/manual_taxfile.php
Make sure that the design is matching very closely.

Screen Shot

Download Button
When the user click on the download button, the user should be allowed to
download the PDF in their local machine.

1040 NREZ GET

https://www.getpostman.com/collections/37183aa43c2c15049d2e

This API will provide the Form 8843 PDF from the server. It will return the PDF document. Make sure
to HTTPS
URI: https://dev.taxgenerate.com/api/v1.0/customer/form1040nrez
HTTP Method: GET
Headers
Param

Default Value

Required

Content-Type

application/json

YES

Accept

application/pdf

YES

Authorization

Bearer _QxX4xEqmJzYuzCXpEc

YES

"content-type": "application/json",
"authorization": "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxIiwiaXNzIjoiaHR0cHM6XC9cL2Rldi
50YXhnZW5lcmF0ZS5jb21cL2FwaVwvdjEuMFwvY3VzdG9tZXJcL2FjY2Vzc190b2tlbiIsI
mlhdCI6MTQ3NjQ3NTU2MCwiZXhwIjoxNDc2NDc5MTYwLCJuYmYiOjE0NzY0NzU1NjAsI
mp0aSI6ImE1YTJlZmVmNzA0ZmI5ZGU3ODA1YTA1OTk1NzRiNjRkIn0.NrcD3z5NPudW
BuoYbLA9AXGn_QxX4xEqmJzYuzCXpEc",
"accept": "application/pdf
Request JSON Body
Not Applicable in GET Request
Sample Response JSON
It will return the PDF document
AJAX Code

var settings = {
"async": true,

"crossDomain": true,
"url": "https://dev.taxgenerate.com/api/v1.0/customer/form1040nrez",
"method": "GET",
"headers": {
"content-type": "application/json",
"authorization": "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxIiwiaXNzIjoiaHR0cHM6XC9cL2Rldi
50YXhnZW5lcmF0ZS5jb21cL2FwaVwvdjEuMFwvY3VzdG9tZXJcL2FjY2Vzc190b2tlbiIsI
mlhdCI6MTQ3NjQ3NTU2MCwiZXhwIjoxNDc2NDc5MTYwLCJuYmYiOjE0NzY0NzU1NjAsI
mp0aSI6ImE1YTJlZmVmNzA0ZmI5ZGU3ODA1YTA1OTk1NzRiNjRkIn0.NrcD3z5NPudW
BuoYbLA9AXGn_QxX4xEqmJzYuzCXpEc",
"accept": "application/pdf",
"cache-control": "no-cache",
"postman-token": "c4d965f9-ae62-b19c-4d13-b76f4bc719e5"
}
}
$.ajax(settings).done(function (response) {
console.log(response);
});

Design Page Form 1040NR

Design URL
http://taxcup.azurewebsites.net/manual_taxfile.php
Make sure that the design is matching very closely.

Screen Shot

Download Button
When the user click on the download button, the user should be allowed to
download the PDF in their local machine.

1040NR PDF GET

https://www.getpostman.com/collections/37183aa43c2c15049d2e

This API will provide the Form 8843 PDF from the server. It will return the PDF document. Make sure
to HTTPS
URI: https://dev.taxgenerate.com/api/v1.0/customer/form1040nr
HTTP Method: GET
Headers
Param

Default Value

Required

Content-Type

application/json

YES

Accept

application/pdf

YES

Authorization

Bearer _QxX4xEqmJzYuzCXpEc

YES

"content-type": "application/json",
"authorization": "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxIiwiaXNzIjoiaHR0cHM6XC9cL2Rldi
50YXhnZW5lcmF0ZS5jb21cL2FwaVwvdjEuMFwvY3VzdG9tZXJcL2FjY2Vzc190b2tlbiIsI
mlhdCI6MTQ3NjQ3NTU2MCwiZXhwIjoxNDc2NDc5MTYwLCJuYmYiOjE0NzY0NzU1NjAsI
mp0aSI6ImE1YTJlZmVmNzA0ZmI5ZGU3ODA1YTA1OTk1NzRiNjRkIn0.NrcD3z5NPudW
BuoYbLA9AXGn_QxX4xEqmJzYuzCXpEc",
"accept": "application/pdf
Request JSON Body
Not Applicable in GET Request
Sample Response JSON
It will return the PDF document
AJAX Code
var settings = {
"async": true,
"crossDomain": true,

"url": "https://dev.taxgenerate.com/api/v1.0/customer/form1040nr",
"method": "GET",
"headers": {
"content-type": "application/json",
"authorization": "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxIiwiaXNzIjoiaHR0cHM6XC9cL2Rldi
50YXhnZW5lcmF0ZS5jb21cL2FwaVwvdjEuMFwvY3VzdG9tZXJcL2FjY2Vzc190b2tlbiIsI
mlhdCI6MTQ3NjQ3NTU2MCwiZXhwIjoxNDc2NDc5MTYwLCJuYmYiOjE0NzY0NzU1NjAsI
mp0aSI6ImE1YTJlZmVmNzA0ZmI5ZGU3ODA1YTA1OTk1NzRiNjRkIn0.NrcD3z5NPudW
BuoYbLA9AXGn_QxX4xEqmJzYuzCXpEc",
"accept": "application/pdf",
"cache-control": "no-cache",
"postman-token": "833e99e6-64ef-b53a-f291-8ce92d9be5de"
}
}
$.ajax(settings).done(function (response) {
console.log(response);
});

Design Page Form W7

Design URL
http://taxcup.azurewebsites.net/manual_taxfile.php
Make sure that the design is matching very closely.

Screen Shot

Download Button
When the user click on the download button, the user should be allowed to
download the PDF in their local machine.

FORM W7 GET

https://www.getpostman.com/collections/37183aa43c2c15049d2e

This API will provide the Form w7 PDF from the server. It will return the PDF document. Make sure
to HTTPS
URI: https://dev.taxgenerate.com/api/v1.0/customer/formw7
HTTP Method: GET
Headers
Param

Default Value

Required

Content-Type

application/json

YES

Accept

application/pdf

YES

Authorization

Bearer _QxX4xEqmJzYuzCXpEc

YES

"content-type": "application/json",
"authorization": "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxIiwiaXNzIjoiaHR0cHM6XC9cL2Rldi
50YXhnZW5lcmF0ZS5jb21cL2FwaVwvdjEuMFwvY3VzdG9tZXJcL2FjY2Vzc190b2tlbiIsI
mlhdCI6MTQ3NjQ3NTU2MCwiZXhwIjoxNDc2NDc5MTYwLCJuYmYiOjE0NzY0NzU1NjAsI
mp0aSI6ImE1YTJlZmVmNzA0ZmI5ZGU3ODA1YTA1OTk1NzRiNjRkIn0.NrcD3z5NPudW
BuoYbLA9AXGn_QxX4xEqmJzYuzCXpEc",
"accept": "application/pdf
Request JSON Body
Not Applicable in GET Request
Sample Response JSON
It will return the PDF document
AJAX Code

var settings = {
"async": true,

"crossDomain": true,
"url": "https://dev.taxgenerate.com/api/v1.0/customer/formw7",
"method": "GET",
"headers": {
"content-type": "application/json",
"authorization": "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxIiwiaXNzIjoiaHR0cHM6XC9cL2Rldi
50YXhnZW5lcmF0ZS5jb21cL2FwaVwvdjEuMFwvY3VzdG9tZXJcL2FjY2Vzc190b2tlbiIsI
mlhdCI6MTQ3NjQ3NTU2MCwiZXhwIjoxNDc2NDc5MTYwLCJuYmYiOjE0NzY0NzU1NjAsI
mp0aSI6ImE1YTJlZmVmNzA0ZmI5ZGU3ODA1YTA1OTk1NzRiNjRkIn0.NrcD3z5NPudW
BuoYbLA9AXGn_QxX4xEqmJzYuzCXpEc",
"accept": "application/pdf",
"cache-control": "no-cache",
"postman-token": "2f349fe2-8cc4-0235-c02c-0741d1cc2d97"
}
}
$.ajax(settings).done(function (response) {
console.log(response);
});

You might also like