Skip to content

Get quotation settings of the team

Note

This API is used for getting the quotation settings of a specified team.

Action Parameters Description
get team Get the quotation settings of the team.
Endpoint
GET
/api/v2/qs/?team={team_id}

Example Request

curl --location --request GET 'https://app.engineerforce.io/api/v2/qs/?team=100'\
--header 'Authorization: API-Token {{YOUR_API_TOKEN}}'
var axios = require('axios');

var config = {
  method: 'get',
  url: 'https://app.engineerforce.io/api/v2/qs/?team=100',
  headers: { 'Authorization': 'API-Token {{YOUR_API_TOKEN}}' }
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
  .url('https://app.engineerforce.io/api/v2/qs/?team=100')
  .method("GET", body)
  .addHeader("Authorization", "API-Token {{YOUR_API_TOKEN}}")
  .build();
Response response = client.newCall(request).execute();
import requests

url = 'https://app.engineerforce.io/api/v2/qs/?team=100'

payload={}
headers = {'Authorization': 'API-Token {{YOUR_API_TOKEN}}' }

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

Example Response

{
    "count": 1,
    "next": null,
    "previous": null,
    "results": [{
        "url": "https://app.engineerforce.io/api/v2/qs/100/",
        "qsId": 1,
        "state": "A",
        "quotationIssueDate": null,
        "invoiceIssueDate": null,
        "deliveryIssueDate": null,
        "projectId": null,
        "teamId": 100,
        "teamName": "Team A",
        "basicInfo": {
            "companyName": "Testing Company",
            "companyAddress": "some address",
            "companyPhone": "070-888-8898",
            "companyEmail": "manager@test.io",
            "companyPostalCode": "003-532",
            "companyCity": "Tokyo",
            "companyCountry": "Japan",
            "companySalePerson": "",
            "themeColor": "#1e75bc",
            "themeType": "default",
            "qsRemark": "",
            "paymentSwiftCode": "",
            "paymentItrsCode": "",
            "paymentTerm": "Month-End Payment",
            "taxRate": 10,
            "companyLogoUrl": "/media/attachements/teams/100/a48d3aeb12klcl6c4b38823ee4aab567fc78.jpg",
            "companySignatureImageUrl": null,
            "companyStampImageUrl": "/media/attachements/teams/100/275176uslc11ee94a3f972bb39e13224476.png"
        },
        "paymentInfo": [{
            "id": 1,
            "priority": 0,
            "paymentBankName": "SOMEBANK",
            "paymentBankBranch": "BANKBRANCH",
            "paymentBankAccount": "11111111",
            "paymentBankAccountName": "BANK ACCOUNT NAME"
        }],
        "taskField": {
            "estimationInformation": "Number,Task Name,Amount"
        },
        "idManagement": {
            "quotationIdPrefix": "",
            "orderIdPrefix": "",
            "invoiceIdPrefix": "",
            "quotationDue": 50
        },
        "termsAndConditions": {
            "tncType": "default",
            "content": "<p>■ Default terms and conditions.</p>",
            "created": "2022-06-01",
            "updated": "2022-06-01"
        }
    }]
}