POST api/BillingService/BatchUpdateDeviceIdentifier

Documentation for 'BatchUpdateDeviceIdentifier'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "flag": 0,
  "level1_Distributor_company_uuid": "sample string 1",
  "leve1_distributor_server_name": "sample string 2",
  "level2_Distributor_company_uuid": "sample string 3",
  "leve2_distributor_server_name": "sample string 4",
  "identifier_list": [
    {
      "device_identifier_model": "sample string 1",
      "state": 0,
      "production_date": "sample string 2",
      "product_name": "sample string 3",
      "promotion_name": "sample string 4",
      "device_identifier_type": 64,
      "device_identifier": "sample string 6"
    },
    {
      "device_identifier_model": "sample string 1",
      "state": 0,
      "production_date": "sample string 2",
      "product_name": "sample string 3",
      "promotion_name": "sample string 4",
      "device_identifier_type": 64,
      "device_identifier": "sample string 6"
    },
    {
      "device_identifier_model": "sample string 1",
      "state": 0,
      "production_date": "sample string 2",
      "product_name": "sample string 3",
      "promotion_name": "sample string 4",
      "device_identifier_type": 64,
      "device_identifier": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<BatchUpdateDeviceIdentifierRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MMS.RestApi.Entities.Billing">
  <flag>All</flag>
  <identifier_list>
    <DeviceIdentifierItem>
      <device_identifier>sample string 6</device_identifier>
      <device_identifier_type>64</device_identifier_type>
      <device_identifier_model>sample string 1</device_identifier_model>
      <product_name>sample string 3</product_name>
      <production_date>sample string 2</production_date>
      <promotion_name>sample string 4</promotion_name>
      <state>None</state>
    </DeviceIdentifierItem>
    <DeviceIdentifierItem>
      <device_identifier>sample string 6</device_identifier>
      <device_identifier_type>64</device_identifier_type>
      <device_identifier_model>sample string 1</device_identifier_model>
      <product_name>sample string 3</product_name>
      <production_date>sample string 2</production_date>
      <promotion_name>sample string 4</promotion_name>
      <state>None</state>
    </DeviceIdentifierItem>
    <DeviceIdentifierItem>
      <device_identifier>sample string 6</device_identifier>
      <device_identifier_type>64</device_identifier_type>
      <device_identifier_model>sample string 1</device_identifier_model>
      <product_name>sample string 3</product_name>
      <production_date>sample string 2</production_date>
      <promotion_name>sample string 4</promotion_name>
      <state>None</state>
    </DeviceIdentifierItem>
  </identifier_list>
  <leve1_distributor_server_name>sample string 2</leve1_distributor_server_name>
  <leve2_distributor_server_name>sample string 4</leve2_distributor_server_name>
  <level1_Distributor_company_uuid>sample string 1</level1_Distributor_company_uuid>
  <level2_Distributor_company_uuid>sample string 3</level2_Distributor_company_uuid>
</BatchUpdateDeviceIdentifierRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "total_count": 1,
  "success_count": 2,
  "result": [
    {
      "device_identifier_type": 64,
      "device_identifier": "sample string 1",
      "is_success": true,
      "error_message": "sample string 3"
    },
    {
      "device_identifier_type": 64,
      "device_identifier": "sample string 1",
      "is_success": true,
      "error_message": "sample string 3"
    },
    {
      "device_identifier_type": 64,
      "device_identifier": "sample string 1",
      "is_success": true,
      "error_message": "sample string 3"
    }
  ],
  "is_success": true,
  "error_message": "sample string 4",
  "exception_name": "sample string 5",
  "error_code": 6
}

application/xml, text/xml

Sample:
<BatchUpdateDeviceIdentifierResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MMS.RestApi.Entities.Billing">
  <error_code xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">6</error_code>
  <error_message xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 4</error_message>
  <exception_name xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 5</exception_name>
  <is_success xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">true</is_success>
  <result>
    <BatchOperateResponseItem>
      <device_identifier>sample string 1</device_identifier>
      <device_identifier_type>64</device_identifier_type>
      <error_message>sample string 3</error_message>
      <is_success>true</is_success>
    </BatchOperateResponseItem>
    <BatchOperateResponseItem>
      <device_identifier>sample string 1</device_identifier>
      <device_identifier_type>64</device_identifier_type>
      <error_message>sample string 3</error_message>
      <is_success>true</is_success>
    </BatchOperateResponseItem>
    <BatchOperateResponseItem>
      <device_identifier>sample string 1</device_identifier>
      <device_identifier_type>64</device_identifier_type>
      <error_message>sample string 3</error_message>
      <is_success>true</is_success>
    </BatchOperateResponseItem>
  </result>
  <success_count>2</success_count>
  <total_count>1</total_count>
</BatchUpdateDeviceIdentifierResponse>