How to send an input param to Kony sync , my json service contains post method to download the response , I have configured context in input mapping still getting 7022 error

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

also I need to send token in header

Hi,

Define your service in Integration module with Input/Output/Header mappings

Define your syncconfiguration under Offline Sync (Sync Objects)

  • Adding a New Synchronization Scope and use your integeraton service as back-end
  • Definiing Sync Objects and do mapping between Sync Object and Mapping (including header mapping)

You can refer the below Documentation in details Sync Object mapping imapping with your services.

http://docs.kony.com/konylibrary/mobilefabric/kony_mobilefabric_user_guide/Content/Synchronization.htm

can you please share some sample how to send inputparam from code?

Hi,

You need not to send input param to your service in case of Sync. Your sync object attriutes mapped to your service input parameters.

So When you create a record at device side and perform Sync, The sync server will process the reqeust and read sync object attributes and maps to your service input params and make a call to your service.