Skip to main content

API

1.1 Get Credit Term list by its code or description

This API is for searching Credit terms by code or description.

1.1.1 API Definition

FieldDetails
Endpoint/api/term/select
MethodGET
AuthenticationRequired

1.1.2 Request

HeaderValue
AuthorizationValue
Content-typeapplication/json

1.1.3 Query Parameters:

  • None

Request Body:

  • None
    ParameterTypeRequiredDescription
    codestringYesRequired but can be empty
    descriptionstringYesRequired but can be empty

Response

Success (200):

{
"data": [
{
"id": "1",
"code": "DOC",
"description": "Cash On Delivery",
"type_id": "5",
"period": "30",
"payment_mode": "r",
"skip_credit_check": "0",
"is_active": "1",
"created": "2012-02-18 18:37:41",
"createdby": "1",
"updated": "2024-08-01 10:46:47",
"updatedby": "1"
},
{
"id": "2",
"code": "60DAYS",
"description": "60DAYS",
"type_id": "11",
"period": "60",
"payment_mode": "",
"skip_credit_check": "0",
"is_active": "1",
"created": "2012-02-18 18:37:10",
"createdby": "1",
"updated": "2024-08-01 10:46:44",
"updatedby": "1"
},
{
"id": "3",
"code": "30DAYS",
"description": "30DAYS",
"type_id": "3",
"period": "30",
"payment_mode": "",
"skip_credit_check": "0",
"is_active": "1",
"created": "2012-02-18 18:33:34",
"createdby": "1",
"updated": "2022-08-17 15:58:47",
"updatedby": "1"
},
{
"id": "4",
"code": "45 DAYS",
"description": "45 DAYS",
"type_id": "3",
"period": "45",
"payment_mode": "r",
"skip_credit_check": "0",
"is_active": "1",
"created": "2014-10-28 11:03:52",
"createdby": "1",
"updated": "2024-08-12 10:19:02",
"updatedby": "1"
},
{
"id": "5",
"code": "CASH",
"description": "CASH",
"type_id": "3",
"period": "0",
"payment_mode": "",
"skip_credit_check": "0",
"is_active": "1",
"created": "2014-10-28 11:03:53",
"createdby": "1",
"updated": "2024-03-20 09:40:52",
"updatedby": "1"
},
{
"id": "6",
"code": "14DAYS",
"description": "14DAYS",
"type_id": "3",
"period": "14",
"payment_mode": "",
"skip_credit_check": "0",
"is_active": "1",
"created": "2014-10-28 11:03:53",
"createdby": "1",
"updated": "2014-10-28 11:03:53",
"updatedby": "1"
},
{
"id": "7",
"code": "28DAYS",
"description": "28DAYS",
"type_id": "3",
"period": "28",
"payment_mode": "",
"skip_credit_check": "0",
"is_active": "1",
"created": "2014-10-28 11:03:53",
"createdby": "1",
"updated": "2014-10-28 11:03:53",
"updatedby": "1"
},
{
"id": "8",
"code": "28 DAYS",
"description": "28 DAYS",
"type_id": "3",
"period": "40",
"payment_mode": "",
"skip_credit_check": "0",
"is_active": "1",
"created": "2014-10-28 11:03:53",
"createdby": "1",
"updated": "2017-08-23 21:53:44",
"updatedby": "1"
},
{
"id": "9",
"code": "Net 45 days",
"description": "Net 45 days",
"type_id": "3",
"period": "45",
"payment_mode": "",
"skip_credit_check": "0",
"is_active": "1",
"created": "2014-10-28 11:03:53",
"createdby": "1",
"updated": "2023-07-06 18:11:09",
"updatedby": "1"
},
{
"id": "10",
"code": "21DAYS",
"description": "21DAYS",
"type_id": "3",
"period": "21",
"payment_mode": "",
"skip_credit_check": "0",
"is_active": "1",
"created": "2014-10-28 11:03:53",
"createdby": "1",
"updated": "2014-10-28 11:03:53",
"updatedby": "1"
}
],
"success": true
}

Note/Business Logic

  • None

Permission

  • None