4.1 Interface: RequestMgrPortType
4.1.1 Operation: GenericAPIRequest
The 3rd party invokes this operation to send a B2B request.
4.1.1.1 Message Header: RequestSOAPHeader
Element name | Element type | Optional | Description |
---|---|---|---|
SpId | xsd: string |
No | SP ID. This is the Service Provider Identifier that is allocated by the Broker to the 3rd party. [Example] 000201 |
SpPassword | xsd: string |
Yes | This is an encrypted form of the SP password issued to an SP when an account is created on the Broker. The encrypted password is a Base64 encoded string of the SHA- 256 hash of the concatenation of the spId, password and the timeStamp as illustrated below: Given the following parameters: spPassword = BASE64(SHA-256(spId + Password + timeStamp)), e.g. |
ServiceId | xsd: string |
Yes | Service ID. |
Timestamp | xsd: string |
Yes | Time stamp (UTC time). |
4.1.1.2 Input Message: RequestMsg
Element name | Element type | Optional | Description |
---|---|---|---|
RequestMsg | xsd: string |
No | Request Message from 3rd party. Its value should be an instance of Request Type and a CDATA |
Note:
- If there is no configuration for notification URL on Broker side, which indicates the callback url for accepting notification of GenericAPIResult, the
ResultURL
parameter inside Identity tag must present. - If there is no configuration for notification URL on Broker side, which indicates the callback url for accepting notification of cached requests expired, the 3rd party must add a key-pair parameter into
ReferenceData
and the key isQueueTimeoutURL
.
4.1.1.3 Output Message: ResponseMsg
Element name | Element type | Optional | Description |
---|---|---|---|
ResponseMsg | xsd: string |
No | Response return to 3rd party. Its value should be an instance of Response Type and a CDATA. |
4.2 Interface: ResultMgrPortType
4.2.1 Operation: GenericAPIResult
This operation must be implemented by a Web Service at the 3rd party side if it requires notification of the final result for B2B request. It will be invoked by Broker to notify the 3rd party once Broker received the notification from Core API.
4.2.1.1 Input Message: ResultMsg
Element name | Element type | Optional | Description |
---|---|---|---|
ResultMsg | xsd: string |
No | Request Message from Broker. Its value should be a instance of Result Type and a CDATA. |
4.2.1.2 Output Message: ResponseMsg
Element name | Element type | Optional | Description |
---|---|---|---|
ResponseMsg | xsd: string |
No | Response return to Broker. Its value should be a instance of Response Type and a CDATA. |
4.3 Interface: QueueTimeoutNotificationPort
4.3.1 Operation: notifyQueueTimeout
This operation must be implemented by a Web Service at the 3rd party side if it requires notification of cached requests are expired. It will be invoked by Broker to notify the 3rd party once cached requests are expired.
4.3.1.1 Input Message: notifyQueueTimeout
Element name | Element type | Optional | Description |
---|---|---|---|
OriginatorConversationID | xsd:string |
originatorConversationID from the request sent by the 3rd party | |
originRequest | xsd:string |
No | Original request without SOAP Header sent by 3rd party. Its value is encoded with base64, when the 3rd party receive the request, it should decode it. |
ExtensionInfo | Parameters | Yes | Extended parameters. |
4.3.1.2 Output Message: notifyQueueTimeoutResponse
Element name | Element type | Optional | Description |
---|---|---|---|
Result | Result | Result | No |
ExtensionInfo | Parameters | Yes | Extended parameters. |
4.3.1.3 Response Code
ResponseCode | ResponseDesc |
---|---|
000000000 | Success |
000000001 | Failed |
4.4 Interface: QueryTransactionPort
4.4.1 Operation: queryTransaction
The 3rd party invokes this operation to query transaction information.
4.4.1.1 Message Header: RequestSOAPHeader
Element name | Element type | Optional | Description |
---|---|---|---|
SpId | xsd: string |
No | SP ID. |
spPassword | xsd: string |
Yes | Encrypted authentication password for partners to access the Broker. The value is a character string encrypted from In the preceding formula: timeStamp: value of timeStamp.Password: authentication password for 3rd parties to access the Broker. The value is allocated by the Broker. NOTE: |
ServiceId | xsd: string |
Yes | Service ID. |
timeStamp | xsd: string |
Yes | Time stamp (UTC time). NOTE: |
4.4.1.2 Input Message: queryTransaction
Element name | Element type | Optional | Description |
---|---|---|---|
originatorConversationID | xsd:string |
The unique identifier of the request message generated by third party. It is used to identify a request between the third party and MM. Max length is 128 | |
extensionInfo | Parameters | Yes | Extended parameters. |
Table 4-1 extensionInfo Description
Parameter | Optional | Type | Description |
---|---|---|---|
queryDate | Yes | String(20) | The date of the original conversation. Format is yyyyMMddHHmmss, for example: 20131230134412 Note: |
4.4.1.3 Output Message: queryTransactionResponse
Element name | Element type | Optional | Description |
---|---|---|---|
Result | Response | No | |
submitApiRequestList | xsd:string[0-unbounded] |
Yes | Requests sent by the 3rd party. Its value is the requests sent by the 3rd party with base64 encoded. |
submitApiResponseList | xsd:string[0-unbounded] |
Yes | Responses returned from the Broker. Its value is the responses returned from the Broker with base64 encoded. |
submitApiResultList | xsd:string[0-unbounded] |
Yes | Results sent to the 3rd party. Its value is the requests sent by the Broker with base64 encoded. |
queueTimeOutList | xsd:string[0-unbounded] |
Yes | QueueTimeout requests sent to the 3rd party. Its value is the requests sent by the Broker with base64 encoded. |
extensionInfo | Parameters | Yes | Extended parameters. |
4.4.1.4 Response Codes
ResponseCode | ResponseDesc |
---|---|
000000000 | Success |
100000001 | The system is overload |
100000002 | Throttling error |
100000003 | Exceed the limitation of the LICENSE |
100000004 | Internal Server Error |
100000005 | Invalid input value:%1 |
100000006 | SP’s status is abnormal |
100000007 | Authentication failed |
100000008 | Service’s status is abnormal |
100000010 | Insufficient permissions |
100000014 | Missing mandatory parameter:%1 |
4.5 Interface: Management
4.5.1 Operation: changePassword
The 3rd party invokes this operation to change his password.
4.5.2 Input Message: changePassword
Element name | Element type | Optional | Description |
---|---|---|---|
spId | xsd: string |
No | SP ID. |
spPassword | xsd: string |
Yes | Encrypted authentication password for partners to access the SAG. The value is a character string encrypted from In the preceding formula: NOTE: [Example] e6434ef249df55c7a21a0b45758a39bb |
4.5.3 Output Message: changePasswordResponse
Element name | Element type | Optional | Description |
---|---|---|---|
result | Result | No | Result |
extensionInfo | Parameters | Yes | Extended parameters |
4.5.4 Response Code
ResponseCode | ResponseDesc |
---|---|
000000000 | Success |
100000001 | The system is overload |
100000002 | Throttling error |
100000003 | Exceed the limitation of the LICENSE |
100000004 | Internal Server Error |
100000005 | Invalid input value:%1 %1 indicates the parameter’s name. |
100000006 | SP’s status is abnormal |
100000007 | Authentication failed |
100000014 | Missing mandatory parameter:%1 %1 indicates the parameter’s name. |