POST Admin/Save_Patner_Categories?Ticket={Ticket}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Ticket

string

Required

Body Parameters

Partner
NameDescriptionTypeAdditional information
PARTNER_ID

integer

None.

IS_CLIENT

boolean

None.

IS_SUPPLIER

boolean

None.

IS_DELIVERY

boolean

None.

IS_ACTIVE

boolean

None.

isSoleAgent

boolean

None.

ITEMS_TYPE

integer

None.

COMPANY_NAME

string

None.

CONTACT_PERSON

string

None.

CONTACT_PERSON_ADDRESS

string

None.

EMAIL

string

None.

WEBSITE

string

None.

PHONE

string

None.

DEFAULT_COMISSION

decimal number

None.

MOBILE

string

None.

FAX

string

None.

CURRENT_BALANCE_LBP

decimal number

None.

CURENT_BALANCE_USD

decimal number

None.

IS_DRAFT

boolean

None.

IS_UNREGISTERED

boolean

None.

CATEGORIES

string

None.

CategoryIDs

Collection of integer

None.

strCategories

string

None.

CREATE_DATE

string

None.

CAR_TYPES

string

None.

My_Operator

Operator

None.

My_Address

Address

None.

My_Categories

Collection of Supplier_Category

None.

My_Notifications_Settings

Collection of Supplier_Notification_Setting

None.

myPaymentOptions

Collection of PARTNER_PAYMENT_OPTION

None.

Request Formats

application/json, text/json

Sample:
{
  "PARTNER_ID": 1,
  "IS_CLIENT": true,
  "IS_SUPPLIER": true,
  "IS_DELIVERY": true,
  "IS_ACTIVE": true,
  "isSoleAgent": true,
  "ITEMS_TYPE": 1,
  "COMPANY_NAME": "sample string 7",
  "CONTACT_PERSON": "sample string 8",
  "CONTACT_PERSON_ADDRESS": "sample string 9",
  "EMAIL": "sample string 10",
  "WEBSITE": "sample string 11",
  "PHONE": "sample string 12",
  "DEFAULT_COMISSION": 1.0,
  "MOBILE": "sample string 13",
  "FAX": "sample string 14",
  "CURRENT_BALANCE_LBP": 1.0,
  "CURENT_BALANCE_USD": 1.0,
  "IS_DRAFT": true,
  "IS_UNREGISTERED": true,
  "CATEGORIES": "sample string 17",
  "CategoryIDs": [],
  "strCategories": "sample string 18",
  "CREATE_DATE": "sample string 19",
  "CAR_TYPES": "sample string 20",
  "My_Operator": {
    "OPERATOR_ID": 1,
    "OPERATOR_UID": "dbcbd1fe-61c3-4d5c-832c-7fbb34ee1cfe",
    "PARTNER_ID": 3,
    "OPERATOR_NAME": "sample string 4",
    "OPERATOR_EMAIL": "sample string 5",
    "OPERATOR_MOBILE": "sample string 6",
    "OPERATOR_PHONE": "sample string 7",
    "OPERATOR_USERNAME": "sample string 8",
    "OPERATOR_PASSWORD": "sample string 9",
    "IS_ACTIVE": true,
    "IS_ADMINISTRATOR": true,
    "TECDOC_USERNAME": "sample string 12",
    "TECDOC_PASSWORD": "sample string 13",
    "IS_DRAFT": true
  },
  "My_Address": {
    "ADDRESS_ID": 1,
    "PARTNER_ID": 2,
    "IS_MAIN": true,
    "ADDRESS_TYPE_ID": 1,
    "CONTACT_PERSON": "sample string 4",
    "PHONE": "sample string 5",
    "LATITUDE": 1.0,
    "LONGITUDE": 1.0,
    "CITY_ID": 1,
    "ADDRESS": "sample string 6"
  },
  "My_Categories": [
    {
      "SUPPLIER_CATEGORY_ID": 1,
      "PARTNER_ID": 2,
      "CAR_TYPE_ID": 3,
      "CATEGORY_ID": 4,
      "COMISSION": 5.0
    },
    {
      "SUPPLIER_CATEGORY_ID": 1,
      "PARTNER_ID": 2,
      "CAR_TYPE_ID": 3,
      "CATEGORY_ID": 4,
      "COMISSION": 5.0
    }
  ],
  "My_Notifications_Settings": [
    {
      "SUPPLIER_NOTIFICATION_SETTINGS_ID": 1,
      "PARTNER_ID": 2,
      "NOTIFICATION_TYPE_ID": 3,
      "RECEIVER_ADDRESS": "sample string 4"
    },
    {
      "SUPPLIER_NOTIFICATION_SETTINGS_ID": 1,
      "PARTNER_ID": 2,
      "NOTIFICATION_TYPE_ID": 3,
      "RECEIVER_ADDRESS": "sample string 4"
    }
  ],
  "myPaymentOptions": [
    {
      "PARTNER_PAYMENT_OPTION_ID": 1,
      "PARTNER_ID": 2,
      "PAYMENT_OPTION_ID": 3,
      "REMARK": "sample string 4",
      "CREATE_DATE": "2025-04-19T07:06:51.7005451+00:00",
      "PAYMENT_OPTION_NAME": "sample string 6",
      "IsSelected": true
    },
    {
      "PARTNER_PAYMENT_OPTION_ID": 1,
      "PARTNER_ID": 2,
      "PAYMENT_OPTION_ID": 3,
      "REMARK": "sample string 4",
      "CREATE_DATE": "2025-04-19T07:06:51.7005451+00:00",
      "PAYMENT_OPTION_NAME": "sample string 6",
      "IsSelected": true
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Partner'.

Response Information

Resource Description

Result_Get_Partner
NameDescriptionTypeAdditional information
My_Result

Partner

None.

ExceptionMsg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "My_Result": {
    "PARTNER_ID": 1,
    "IS_CLIENT": true,
    "IS_SUPPLIER": true,
    "IS_DELIVERY": true,
    "IS_ACTIVE": true,
    "isSoleAgent": true,
    "ITEMS_TYPE": 1,
    "COMPANY_NAME": "sample string 7",
    "CONTACT_PERSON": "sample string 8",
    "CONTACT_PERSON_ADDRESS": "sample string 9",
    "EMAIL": "sample string 10",
    "WEBSITE": "sample string 11",
    "PHONE": "sample string 12",
    "DEFAULT_COMISSION": 1.0,
    "MOBILE": "sample string 13",
    "FAX": "sample string 14",
    "CURRENT_BALANCE_LBP": 1.0,
    "CURENT_BALANCE_USD": 1.0,
    "IS_DRAFT": true,
    "IS_UNREGISTERED": true,
    "CATEGORIES": "sample string 17",
    "CategoryIDs": [],
    "strCategories": "sample string 18",
    "CREATE_DATE": "sample string 19",
    "CAR_TYPES": "sample string 20",
    "My_Operator": {
      "OPERATOR_ID": 1,
      "OPERATOR_UID": "918e5931-2ecd-489a-9cd9-295c0795ba72",
      "PARTNER_ID": 3,
      "OPERATOR_NAME": "sample string 4",
      "OPERATOR_EMAIL": "sample string 5",
      "OPERATOR_MOBILE": "sample string 6",
      "OPERATOR_PHONE": "sample string 7",
      "OPERATOR_USERNAME": "sample string 8",
      "OPERATOR_PASSWORD": "sample string 9",
      "IS_ACTIVE": true,
      "IS_ADMINISTRATOR": true,
      "TECDOC_USERNAME": "sample string 12",
      "TECDOC_PASSWORD": "sample string 13",
      "IS_DRAFT": true
    },
    "My_Address": {
      "ADDRESS_ID": 1,
      "PARTNER_ID": 2,
      "IS_MAIN": true,
      "ADDRESS_TYPE_ID": 1,
      "CONTACT_PERSON": "sample string 4",
      "PHONE": "sample string 5",
      "LATITUDE": 1.0,
      "LONGITUDE": 1.0,
      "CITY_ID": 1,
      "ADDRESS": "sample string 6"
    },
    "My_Categories": [
      {
        "SUPPLIER_CATEGORY_ID": 1,
        "PARTNER_ID": 2,
        "CAR_TYPE_ID": 3,
        "CATEGORY_ID": 4,
        "COMISSION": 5.0
      },
      {
        "SUPPLIER_CATEGORY_ID": 1,
        "PARTNER_ID": 2,
        "CAR_TYPE_ID": 3,
        "CATEGORY_ID": 4,
        "COMISSION": 5.0
      }
    ],
    "My_Notifications_Settings": [
      {
        "SUPPLIER_NOTIFICATION_SETTINGS_ID": 1,
        "PARTNER_ID": 2,
        "NOTIFICATION_TYPE_ID": 3,
        "RECEIVER_ADDRESS": "sample string 4"
      },
      {
        "SUPPLIER_NOTIFICATION_SETTINGS_ID": 1,
        "PARTNER_ID": 2,
        "NOTIFICATION_TYPE_ID": 3,
        "RECEIVER_ADDRESS": "sample string 4"
      }
    ],
    "myPaymentOptions": [
      {
        "PARTNER_PAYMENT_OPTION_ID": 1,
        "PARTNER_ID": 2,
        "PAYMENT_OPTION_ID": 3,
        "REMARK": "sample string 4",
        "CREATE_DATE": "2025-04-19T07:06:51.7005451+00:00",
        "PAYMENT_OPTION_NAME": "sample string 6",
        "IsSelected": true
      },
      {
        "PARTNER_PAYMENT_OPTION_ID": 1,
        "PARTNER_ID": 2,
        "PAYMENT_OPTION_ID": 3,
        "REMARK": "sample string 4",
        "CREATE_DATE": "2025-04-19T07:06:51.7005451+00:00",
        "PAYMENT_OPTION_NAME": "sample string 6",
        "IsSelected": true
      }
    ]
  },
  "ExceptionMsg": "sample string 1"
}