You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

ItemServiceV2 415-unsupported media type

Summary:

I am trying to call FindItem operation in ItemServiceV2, but I keep getting an unsupported Media type error.

The media type is set to application/json

Is it supposed to be set to something else?


Content (please ensure you mask any confidential information):

Body of request being sent:

{    "findItem": {        "findCriteria": {            "fetchStart": 0,            "fetchSize": 2,            "filter": {                "group": {                    "conjunction": "And",                    "upperCaseCompare": false,                    "item": {                        "upperCaseCompare": false,                        "attribute": "ItemNumber",                        "operator": "=",                        "value": "153-024107-02"                    }                },                "nested": {}            },            "findAttribute": [                "ItemId",                "OrganizationId",                "ItemNumber",                "ItemEffCategory",                "ItemDescription"            ],            "childFindCriteria": {                "findAttribute": [                    "ItemMasterInformationCreatedIn",                    "AdditionalDataFromErp"                ],                "childAttrName": "ItemEffCategory",                "childFindCriteria": [                    {                        "findAttribute": [                            "EffLineId"                        ],                        "childAttrName": "ItemMasterInformationCreatedIn"                    },                    {                        "findAttribute": [                            "EffLineId"                        ],                        "childAttrName": "AdditionalDataFromErp"                    }                ]            }        },        "findControl": {            "retrieveAllTranslations": false        }    }}


Version (include the version you are using, if applicable):

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!