Skip to content

Latest commit

 

History

History
450 lines (318 loc) · 15.6 KB

File metadata and controls

450 lines (318 loc) · 15.6 KB

SecureApi.SecureVendorManagementApi

All URIs are relative to https://api.uat.anddone.com

Method HTTP request Description
vendorapiSecureMerchantsVendorsDeletePost POST /vendorapi/secure/merchants/vendors/delete This API deletes vendor into system
vendorapiSecureMerchantsVendorsDetailsPost POST /vendorapi/secure/merchants/vendors/details This API gets details of particular vendor
vendorapiSecureMerchantsVendorsEditPost POST /vendorapi/secure/merchants/vendors/edit This API Updates the existing vendor
vendorapiSecureMerchantsVendorsPost POST /vendorapi/secure/merchants/vendors This API creates vendor into system
vendorapiSecureMerchantsVendorsSearchPost POST /vendorapi/secure/merchants/vendors/search This API returns list of all the Vendors of Merchant
vendorapiSecureMerchantsVendorsSuspendPost POST /vendorapi/secure/merchants/vendors/suspend This API suspends vendor into system
vendorapiSecureMerchantsVendorsTimelinePost POST /vendorapi/secure/merchants/vendors/timeline This API gets timeline of particular vendor
vendorapiSecureMerchantsVendorsUnsuspendPost POST /vendorapi/secure/merchants/vendors/unsuspend This API unsuspends vendor into system

vendorapiSecureMerchantsVendorsDeletePost

vendorapiSecureMerchantsVendorsDeletePost(xApiKey, xAppKey, xVersion, origin, secureVendorStatusRequestDTO)

This API deletes vendor into system

Example

import SecureApi from 'secure_api';

let apiInstance = new SecureApi.SecureVendorManagementApi();
let xApiKey = "xApiKey_example"; // String | an authorization header
let xAppKey = "xAppKey_example"; // String | an authorization header
let xVersion = 3.4; // Number | x-version
let origin = "origin_example"; // String | origin
let secureVendorStatusRequestDTO = new SecureApi.SecureVendorStatusRequestDTO(); // SecureVendorStatusRequestDTO | SecureVendorStatusRequestDTO
apiInstance.vendorapiSecureMerchantsVendorsDeletePost(xApiKey, xAppKey, xVersion, origin, secureVendorStatusRequestDTO, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
});

Parameters

Name Type Description Notes
xApiKey String an authorization header
xAppKey String an authorization header
xVersion Number x-version
origin String origin
secureVendorStatusRequestDTO SecureVendorStatusRequestDTO SecureVendorStatusRequestDTO

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

vendorapiSecureMerchantsVendorsDetailsPost

VendorResponseDTO vendorapiSecureMerchantsVendorsDetailsPost(xApiKey, xAppKey, xVersion, origin, secureVendorRequestDTO)

This API gets details of particular vendor

Example

import SecureApi from 'secure_api';

let apiInstance = new SecureApi.SecureVendorManagementApi();
let xApiKey = "xApiKey_example"; // String | an authorization header
let xAppKey = "xAppKey_example"; // String | an authorization header
let xVersion = 3.4; // Number | x-version
let origin = "origin_example"; // String | origin
let secureVendorRequestDTO = new SecureApi.SecureVendorRequestDTO(); // SecureVendorRequestDTO | SecureVendorRequestDTO
apiInstance.vendorapiSecureMerchantsVendorsDetailsPost(xApiKey, xAppKey, xVersion, origin, secureVendorRequestDTO, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
xApiKey String an authorization header
xAppKey String an authorization header
xVersion Number x-version
origin String origin
secureVendorRequestDTO SecureVendorRequestDTO SecureVendorRequestDTO

Return type

VendorResponseDTO

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

vendorapiSecureMerchantsVendorsEditPost

SecureVendorResponseDTO vendorapiSecureMerchantsVendorsEditPost(xApiKey, xAppKey, xVersion, origin, secureVendorUpdateRequestDTO)

This API Updates the existing vendor

Example

import SecureApi from 'secure_api';

let apiInstance = new SecureApi.SecureVendorManagementApi();
let xApiKey = "xApiKey_example"; // String | an authorization header
let xAppKey = "xAppKey_example"; // String | an authorization header
let xVersion = 3.4; // Number | x-version
let origin = "origin_example"; // String | origin
let secureVendorUpdateRequestDTO = new SecureApi.SecureVendorUpdateRequestDTO(); // SecureVendorUpdateRequestDTO | SecureVendorUpdateRequestDTO
apiInstance.vendorapiSecureMerchantsVendorsEditPost(xApiKey, xAppKey, xVersion, origin, secureVendorUpdateRequestDTO, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
xApiKey String an authorization header
xAppKey String an authorization header
xVersion Number x-version
origin String origin
secureVendorUpdateRequestDTO SecureVendorUpdateRequestDTO SecureVendorUpdateRequestDTO

Return type

SecureVendorResponseDTO

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

vendorapiSecureMerchantsVendorsPost

SecureVendorResponseDTO vendorapiSecureMerchantsVendorsPost(xApiKey, xAppKey, xVersion, origin, vendorRequestDTO)

This API creates vendor into system

Example

import SecureApi from 'secure_api';

let apiInstance = new SecureApi.SecureVendorManagementApi();
let xApiKey = "xApiKey_example"; // String | an authorization header
let xAppKey = "xAppKey_example"; // String | an authorization header
let xVersion = 3.4; // Number | x-version
let origin = "origin_example"; // String | origin
let vendorRequestDTO = new SecureApi.VendorRequestDTO(); // VendorRequestDTO | VendorRequestDTO
apiInstance.vendorapiSecureMerchantsVendorsPost(xApiKey, xAppKey, xVersion, origin, vendorRequestDTO, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
xApiKey String an authorization header
xAppKey String an authorization header
xVersion Number x-version
origin String origin
vendorRequestDTO VendorRequestDTO VendorRequestDTO

Return type

SecureVendorResponseDTO

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

vendorapiSecureMerchantsVendorsSearchPost

PageVendorResponseDTO vendorapiSecureMerchantsVendorsSearchPost(xApiKey, xAppKey, xVersion, origin, opts)

This API returns list of all the Vendors of Merchant

Example

import SecureApi from 'secure_api';

let apiInstance = new SecureApi.SecureVendorManagementApi();
let xApiKey = "xApiKey_example"; // String | an authorization header
let xAppKey = "xAppKey_example"; // String | an authorization header
let xVersion = 3.4; // Number | x-version
let origin = "origin_example"; // String | origin
let opts = {
  'paymentMethodType': "paymentMethodType_example", // String | Set paymentMethodType
  'attention': "attention_example", // String | Set attention
  'vendorId': "vendorId_example", // String | Set vendorId
  'vendorName': "vendorName_example", // String | Set vendorName
  'vendorStatus': "vendorStatus_example", // String | Set vendorStatus
  'createdBy': "createdBy_example", // String | Set createdBy
  'startDate': "startDate_example", // String | set start Date
  'endDate': "endDate_example", // String | set end Date
  'pageSize': 56, // Number | Set PageSize
  'searchText': "searchText_example", // String | search Text
  'sortField': "sortField_example", // String | Set SortField
  'startRow': 56, // Number | Set StartRow
  'asc': true // Boolean | Set Asc
};
apiInstance.vendorapiSecureMerchantsVendorsSearchPost(xApiKey, xAppKey, xVersion, origin, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
xApiKey String an authorization header
xAppKey String an authorization header
xVersion Number x-version
origin String origin
paymentMethodType String Set paymentMethodType [optional]
attention String Set attention [optional]
vendorId String Set vendorId [optional]
vendorName String Set vendorName [optional]
vendorStatus String Set vendorStatus [optional]
createdBy String Set createdBy [optional]
startDate String set start Date [optional]
endDate String set end Date [optional]
pageSize Number Set PageSize [optional]
searchText String search Text [optional]
sortField String Set SortField [optional]
startRow Number Set StartRow [optional]
asc Boolean Set Asc [optional]

Return type

PageVendorResponseDTO

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

vendorapiSecureMerchantsVendorsSuspendPost

vendorapiSecureMerchantsVendorsSuspendPost(xApiKey, xAppKey, xVersion, origin, secureVendorStatusRequestDTO)

This API suspends vendor into system

Example

import SecureApi from 'secure_api';

let apiInstance = new SecureApi.SecureVendorManagementApi();
let xApiKey = "xApiKey_example"; // String | an authorization header
let xAppKey = "xAppKey_example"; // String | an authorization header
let xVersion = 3.4; // Number | x-version
let origin = "origin_example"; // String | origin
let secureVendorStatusRequestDTO = new SecureApi.SecureVendorStatusRequestDTO(); // SecureVendorStatusRequestDTO | SecureVendorStatusRequestDTO
apiInstance.vendorapiSecureMerchantsVendorsSuspendPost(xApiKey, xAppKey, xVersion, origin, secureVendorStatusRequestDTO, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
});

Parameters

Name Type Description Notes
xApiKey String an authorization header
xAppKey String an authorization header
xVersion Number x-version
origin String origin
secureVendorStatusRequestDTO SecureVendorStatusRequestDTO SecureVendorStatusRequestDTO

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

vendorapiSecureMerchantsVendorsTimelinePost

[VendorTimelineResponseListInner] vendorapiSecureMerchantsVendorsTimelinePost(xApiKey, xAppKey, xVersion, origin, secureVendorTimelineRequestDTO)

This API gets timeline of particular vendor

Example

import SecureApi from 'secure_api';

let apiInstance = new SecureApi.SecureVendorManagementApi();
let xApiKey = "xApiKey_example"; // String | an authorization header
let xAppKey = "xAppKey_example"; // String | an authorization header
let xVersion = 3.4; // Number | x-version
let origin = "origin_example"; // String | origin
let secureVendorTimelineRequestDTO = new SecureApi.SecureVendorTimelineRequestDTO(); // SecureVendorTimelineRequestDTO | SecureVendorTimelineRequestDTO
apiInstance.vendorapiSecureMerchantsVendorsTimelinePost(xApiKey, xAppKey, xVersion, origin, secureVendorTimelineRequestDTO, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
xApiKey String an authorization header
xAppKey String an authorization header
xVersion Number x-version
origin String origin
secureVendorTimelineRequestDTO SecureVendorTimelineRequestDTO SecureVendorTimelineRequestDTO

Return type

[VendorTimelineResponseListInner]

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

vendorapiSecureMerchantsVendorsUnsuspendPost

vendorapiSecureMerchantsVendorsUnsuspendPost(xApiKey, xAppKey, xVersion, origin, secureVendorStatusRequestDTO)

This API unsuspends vendor into system

Example

import SecureApi from 'secure_api';

let apiInstance = new SecureApi.SecureVendorManagementApi();
let xApiKey = "xApiKey_example"; // String | an authorization header
let xAppKey = "xAppKey_example"; // String | an authorization header
let xVersion = 3.4; // Number | x-version
let origin = "origin_example"; // String | origin
let secureVendorStatusRequestDTO = new SecureApi.SecureVendorStatusRequestDTO(); // SecureVendorStatusRequestDTO | SecureVendorStatusRequestDTO
apiInstance.vendorapiSecureMerchantsVendorsUnsuspendPost(xApiKey, xAppKey, xVersion, origin, secureVendorStatusRequestDTO, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
});

Parameters

Name Type Description Notes
xApiKey String an authorization header
xAppKey String an authorization header
xVersion Number x-version
origin String origin
secureVendorStatusRequestDTO SecureVendorStatusRequestDTO SecureVendorStatusRequestDTO

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined