DDS Main Company Questioning

This API retursn main company informations on system.

API Information

URL

/InquireDDSMainCompany

Method

POST

Version

1.0

Scope

payment

Authorization Flow

B2B Credentials


Input Information

This API doesn’t get any input.


Output Information

List< CompanyInfo >

Name Format Description

MainCompanyID

Integer Identity number for main company

ProductType

Integer Product type
1: DDS, 2: DCS

ParentCompanyID

Integer Parent company id

CompanyName

String Company name

CompanyID

Integer Company id


Message Codes

Message Code Description

ACBH000193

Main company cannot be found.

ACBH000174

Transaction cannot be performed with retail customer number.

Example

Request:

{
	
}

Response:

{
    "Header": {
        "StatusCode": "APIGW000000",
        "StatusDescription": "Completed",
        "ObjectID": "00e19125-dc8f-49b6-af81-ac1df2d33112"
    },
    "Data": {
        "CompanyInfo": [
            {
                "CompanyName": "Ebis",
                "CompanyID": 653017,
                "ProductType": 1,
                "MainCompanyID": 345004
            },
            {
                "CompanyName": "Api Test Ana Firma",
                "CompanyID": 688017,
                "ProductType": 1,
                "ParentCompanyID": 703017,
                "MainCompanyID": 371004
            }            
        ]
    }
}