Adding MetaData

URL:

http://servername:8089/do?

The input parameters are listed in the following table:

Parameters

Type

Value

Length

Comments

action

String

tpa

  

subaction

String

inserttpametadata

  

domain

Enum

  • Partner

  • PartnerSystem

  • System

  • Routes

  • Partnercontact

 

Domain for which metadata needs to be entered. For example, PARTNER, PARTNERSYSTEM.

text

Number

 

45

Text of the metadata

idparent

Number

  

Parent under which metadata needs to be created.

An example of input would be:

Type

Input

action

tpa

domain

SYSTEM

idparent

0

subaction

inserttpametadata

text

defaultnode

The responses are listed in the following table:

Response

Type

Value

Comment

msg

String

TPA Operation Succeeded

Response message

key

Enum

True/False

Response success condition

success

integer

 

ID of the metadata created

The following syntax is a sample JSON response:

{"msg":"TPA Operation Succeeded ","success":"true","key":"30"}

iWay Software