1"use strict";(self["webpackChunknxcloud"]=self["webpackChunknxcloud"]||[]).push([[4683],{54683:function(e,n,t){t.r(n),n["default"]='## API Documentation: Bind A and B Numbers and Return X Number\n\n### Request URL\nhttps://number.nxcloud.com/api/pns/\n\n### Request Headers\n\n| Parameter | Type | Required | Description | Example |\n| ---------- | ------ | -------- | ------------------------------------------------------------ | ------------- |\n| accessKey | string | Yes | User\'s accessKey | fme2na3kdi3ki |\n| action | string | Yes | Request method | bindAXB |\n| bizType | string | Yes | [Business type] Fixed value to identify privacy number service | 5 |\n| ts | string | Yes | Current timestamp of the request (in milliseconds). The maximum time difference allowed between the client and the server is 60 seconds. | 1655710885431 |\n| sign | string | Yes | Signature of the API input parameters. [Signature algorithm](/document-en/common/interface-contract) | |\n\n### Request Body\n\n| Parameter | Required | Type | Description |\n| ---------------- | -------- | ------ | ------------------------------------------------------------ |\n| phoneA | Yes | string | Number A, the country code of A and B numbers must be the same |\n| phoneB | Yes | string | Number B, the country code of A and B numbers must be the same |\n| customerBindId | No | string | Custom binding ID (determined by the customer, must be unique), can be empty |\n| flag | No | int | Other flags, bit combination, 0: none, 1: recording |\n| expireSecond | Yes | int | Expiration time in seconds, if 0, it means no expiration |\n\n\n\n## Response Parameters\n\n| Parameter | Type | Description |\n| ---------- | ------ | ---------------------------- |\n| code | int | Return code, 0 means success, others mean failure |\n| msg | string | Return code description |\n| requestId | string | Request ID |\n| data | Object | Request data ID |\n\nDetails of the data returned by the `data` parameter:\n\n| Parameter | Type | Description |\n| ---------- | ------ | ---------------------------- |\n| bindId | string | Binding ID of PNS, subsequent billing will be based on this |\n| did | string | Virtual number bound by PNS |\n\n\n\n## Request Example\n\n### Request URL\nhttps://number.nxcloud.com/api/pns/\n\n### Request Headers\n\n| KEY | VALUE |\n| --------- | -------------------------------- |\n| accessKey | sixgqophrnv4 |\n| ts | 1670479632933 |\n| bizType | 5 |\n| action | bindAXB |\n| sign | faxxxxxxxxxxxxxxxxxxxxxxxxxxxxd4 |\n\n### Request Body\n\n```json\n{\n "phoneA": "85211111114",\n "phoneB": "85222222222",\n "customerBindId": "1",\n "expireSecond": 1011\n}\n```\n\n## Response Example\n\n```json\n{\n "code": 0,\n "msg": "success",\n "requestId": "1602248485121429504",\n "data": {\n "bindId": "f6e24ebdaf64ef91adb0b60e3b582db0",\n "did": "85235753351"\n }\n}\n```'}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.