SP SMS Development -Provision Interface Implement 1

xiaoxiao2021-03-30  229

Positive Synchronous Provision Interface Message Definition

• Function Description

This interface updates the user ordering relationship (including ordering, cancellation, pause, activation), by this interface, initiated the interaction of the update order relationship between the SP.

Message name

Message type

News direction

SyncorderReLanceReq

REQUEST

MISC

àsp

SyncorderReranceResp

Response

SP

àmisc

Interface content description

SyncorderReLanceReq

Message field description

:

Return to definition

importance

Types of

Description

MSGType

have to

String

Message type

TransactionID

have to

String

This message number

Version

have to

String

The version number of the interface message, the version of all interface messages

"1.5.0"

Send_address

have to

Address_INFO_SCHEMA

Sender's address

DEST_ADDRESS

have to

Address_INFO_SCHEMA

Receiver's address

Feeuser_id

have to

User_id_schema

Billing user logo

Destuser_id

have to

User_id_schema

Use user ID

Linkid

Optional

String

Transaction ID for temporary ordering relationship

ActionID

have to

Integer

Service status management action code, the specific value is as follows:

1: Open service;

2: Stop service;

3: Activate the service;

4: Suspend the service;

ActionReasonID

have to

Integer

Generate code for service status management action, the specific values ​​are as follows:

1: User initiates behavior

2: Admin & 1860 initiated behavior

3: BOSS downtime

4: BOSS boot

5: BOSS transfer

6: BOSS sales

7: BOSS renovation

8: Service cancellation caused by deduction failure

9: Others

Spid

Optional

String

SP corporate code

SpServiceID

have to

String

SP service code

Accessmode

Optional

Integer

Service access method

1: Web

2: WAP

3: SMS

FeatureStr

Optional

binary

Service order parameters (Base64 encryption), the content is long number space user send content

Address_INFO_SCHEMA (

Address information)

description

Field Name

Field Type

Field description

DeviceType

Integer

Equipment type

0

:

MISC

100

:

ISMG

101

:

WAP SP Proxy

1xx

:

Other business gateways

200

:

WAP Portal

201

:

WWW portal

202

:

Voice Portal

203

:

PDA Portal

2xx

: Other portals

300

:

MMSC

301

:

Kjava Server

302

:

LSP

3xx

: Other application platforms

400

:

SP

DeviceID

String

Equipment number, equipment number uses the network number of each device, such as SMS gateway uses a gateway

Id

,Correct

SP

Use its corporate code, the device number

MISC

Assign, and in the same device type

User_id_schema

User ID)

description

Field Name

Field Type

Field description

UserIDTYPE

Integer

User logo type

1

: Use the mobile phone number ID

2

: Identify by pseudo code

3

: Two simultaneously

MSISDN

String

User mobile phone number

Pseudocode

binary

User pseudo code

4, forward synchronization interface response package message definition

SyncORDERRELATIONRESP message field description:

Field name

importance

Types of

Description

MSGType

have to

String

Message type

TransactionID

have to

String

This message number

Version

have to

String

The version number of the interface message, the version of all interface messages

"1.5.0"

Hret

have to

Integer

Return the value, the main mistakes are as follows:

0: success

4007: MISC synchronously opened service, but the SP end has a subscription relationship, and the status is open

4008: MISC synchronously opened the service, and there is no order relationship in the SP terminal, but the opening service failed

4010: MISC Synchronous Stop Service, and the SP end has a subscription relationship, but the cancel service failed

4011: MISC Synchronous stop service, but there is no order relationship in the SP end

4012: MISC synchronous pause service, and the SP end has a subscription relationship, but the suspension service failed

4013: MISC synchronous pause service, but there is no order relationship in the SP end

4015: MISC synchronous activation service, but the SP end has a subscription relationship, and the status is open

4016: MISC synchronous activation service, but there is no order relationship in the SP end

Other errors, see "MISC SMS SP Access Guide - Interface Reform Volume".

Packet example:

1, SyncorderReranceReq

1.5.0

SyncOrderReLanceReq 0

0011 400 0 1 13456781234

1 13456781234

sp 1

1 419000 -yxxyyxx 3

MTA2NJIXNDQGREE =

2, SyncorderReranceResp

SyncorderReranceResp 1.5 0

转载请注明原文地址:https://www.9cbs.com/read-130745.html

New Post(0)