The following URL structure is used to call Fabric Web Services:
http://<IP address>:<PORT>/api/[VERSION_NO]/<Web-Service name>?token=<TOKEN NAME>&[format=json]
Input parameters can be transferred to Fabric Web Services either as:
To set Web Service input parameters to be part of the Web Service URL, add them to the URL path covered by {$}.
For example:
In the above screenshot the i_migrateId and i_runMode input parameters have been set as part of the URL related to the wsMigrateStatsParams Web Service which is called as follows:
http://localhost:3213/api/v1/wsMigrateStatsParams/dca63eda-1553-40b7-b2e8-ae098b3c2c04/S?token=ABC&format=json
Where:
When input parameters are not set as part of the URL path, transfer them as follows:
http://<IP address>:<PORT>/api/[VERSION_NO]/<Web-Service name>?[param1 name]=[param1 value]&[param2 name]=[param2 value]...&token=<TOKEN NAME>&[format=json]
For example:
http://localhost:3213/api/v1/wsMigrateStatsParams?i_migrateId=dca63eda-1553-40b7-b2e8-ae098b3c2c04&i_runMode=S&token=ABC&format=json
If an input parameters is correctly set but is not transferred as a part of the URL, the Web Service displays the relevant error code.
The following URL structure is used to call Fabric Web Services:
http://<IP address>:<PORT>/api/[VERSION_NO]/<Web-Service name>?token=<TOKEN NAME>&[format=json]
Input parameters can be transferred to Fabric Web Services either as:
To set Web Service input parameters to be part of the Web Service URL, add them to the URL path covered by {$}.
For example:
In the above screenshot the i_migrateId and i_runMode input parameters have been set as part of the URL related to the wsMigrateStatsParams Web Service which is called as follows:
http://localhost:3213/api/v1/wsMigrateStatsParams/dca63eda-1553-40b7-b2e8-ae098b3c2c04/S?token=ABC&format=json
Where:
When input parameters are not set as part of the URL path, transfer them as follows:
http://<IP address>:<PORT>/api/[VERSION_NO]/<Web-Service name>?[param1 name]=[param1 value]&[param2 name]=[param2 value]...&token=<TOKEN NAME>&[format=json]
For example:
http://localhost:3213/api/v1/wsMigrateStatsParams?i_migrateId=dca63eda-1553-40b7-b2e8-ae098b3c2c04&i_runMode=S&token=ABC&format=json
If an input parameters is correctly set but is not transferred as a part of the URL, the Web Service displays the relevant error code.