IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

REST implementation using JSON

  • 1.  REST implementation using JSON

    Posted Thu August 24, 2017 07:32 AM

    Hi All,

    I am working on a REST service which is having JSON as input while i am posting the json request from postman in Designer 9.9 there is a place where we have DocumentList( named as Role) inside a Document(named as RoleBasedContacts) that is populating as a blank string List, please refer attached screenshot for more details.

    The json message looks like :

    {
    “TestLookupRqst”: {
    “yfc:RequestHeader”: {
    @ApplicationID”: “ABC”,
    @ApplicationName”: “DEF”,
    @ChangeInitiator”: “OPP”,
    @Company”: “XYZ”,
    @Country”: “IND”,
    @DateTime”: “2015-07-15T11:03:14”,
    @Division”: “IND”,
    @Group”: “IND_GRP”,
    @IPAddress”: “198.100.1.1”,
    @Location”: “”,
    @MsgRequiredFlag”: “N”,
    @RecordCount”: “1”,
    @ReqMode”: “04”,
    @SearchTypeCode”: “10100”,
    @SystemID”: “ABC”,
    @TransType”: “TEST_LOOKUP”,
    @TransactionID”: “12345abcde”,
    @UserID”: “USR1”,
    “yfc:Customer”: {
    @CustomerID”: “123456”,
    @OrganizationCode”: “IND”
    },
    “yfc:RoleBasedContacts”: {
    “Role”: [
    {
    @Count”: “20”,
    @Name”: “ABCDEF”
    },
    {
    @Count”: “2”,
    @Name”: “INDIA”
    }
    ]
    }
    }
    }
    }

    Can anyone please help me to get the solution of this issue.

    Thanks,
    Saurabh


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB