Get

The Item Master InvtmfSp Get API is used to view supplier information for parts in the database. 

URL-{Root URL}/api/ItemMaster/InvtmfSpGet?apiKey={API KEY}&uniqmfsp={UNIQMFSP}

Parameters

Parameter Description Required Comment
uniqmfsp
Y The uniqmfsp is used to select the part you would like to view information for.

Example Strings

Example invtmfSp Get String-

URL-?uniqmfsp=UNIQMFSP

JSON-

{

'uniqmfsp':'UNIQMFSP',

}

A successful add should result in:

{

"$id": "1",

"Code": 200,

"Message": "Invtmfsp details:",

"SessionId": null,

"IsValidUser": true,

"ResponseObject": {

"$id": "2",

"Uniqmfsp": "2JT3HLSFLQ",

"Uniqmfgrhd": "SWIWRWPI63",

"Uniqsupno": "_44L0SDHY2",

"Suplpartno": "1131 ",

"Uniq_Key": "_4750SWEOD",

"Pfdsupl": false,

"Is_Deleted": false

}

}

Common Errors

API Key Error

If there is an error with the entered API key the system will return an error describing it.

{

"$id": "1",

"Code": 403,

"Message": "Invalid API Key.",

"SessionId": null,

"IsValidUser": false,

"ResponseObject": null

}

URL Error

If there is an error within the URL the system will return a HTTP error.

{

"$id": "1",

"Message": "No HTTP resource was found that matches the request URI 'http://localhost/api/ItemMaster/InvtmfSpGe/123456789'.",

"MessageDetail": "No action was found on the controller 'ItemMaster' that matches the name 'InvtmfSpGe'."

}

Incorrect Parameter

If an incorrect parameter value is used the system will return an error describing the incorrect parameter.

{

"$id": "1",

"Code": 403,

"Message": "Uniqmfsp not provided.",

"SessionId": null,

"IsValidUser": true,

"ResponseObject": null

}