action.json 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. {
  2. //根据身份获取人员
  3. "getPersonByIdentity": {"uri": "/jaxrs/person/identity/{name}"},
  4. //根据人员获取身份
  5. "listIdentityByPerson": {"uri": "/jaxrs/identity/list/person/{name}"},
  6. //获取人员
  7. "getPerson": {"uri": "/jaxrs/person/{name}"},
  8. //根据当前人员获取可能替代的身份
  9. "listMyRelief": {"uri": "/jaxrs/okrconfigsecretary/list/my"},
  10. //获取配置表信息
  11. "getProfiles":{"uri":"/jaxrs/baseconfig/getconfig/{type}","method":"PUT"},
  12. "getProvinceList":{"uri":"/jaxrs/region/provincelist","method":"PUT"},
  13. "getCityList":{"uri":"/jaxrs/region/citylist","method":"PUT"},
  14. "getCityListByName":{"uri":"/jaxrs/region/citylistbyname","method":"PUT"},
  15. "getAreaList":{"uri":"/jaxrs/region/countylist","method":"PUT"},
  16. "getAreaListByName":{"uri":"/jaxrs/region/countylistbyname","method":"PUT"},
  17. //customer
  18. "getCustomerListPage":{"uri":"/jaxrs/customer/listpaginlike/page/{page}/size/{size}","method":"PUT"},
  19. "ListMyDuty_customer":{"uri":"/jaxrs/customer/listmyduty/page/{page}/size/{size}","method":"PUT"},
  20. "ListNestedSubPerson_customer":{"uri":"/jaxrs/customer/listsub/page/{page}/size/{size}","method":"PUT"},
  21. "ListMyParticipate_customer":{"uri":"/jaxrs/customer/listmyparticipate/page/{page}/size/{size}","method":"PUT"},
  22. "ListAllMy_customer":{"uri":"/jaxrs/customer/listallmy/page/{page}/size/{size}","method":"PUT"},
  23. "getCustomerInfo":{"uri":"/jaxrs/customer/get/{customerid}","method":"GET"},
  24. "saveCustomer" : {"uri":"/jaxrs/customer/create","method":"POST"},
  25. "updateCustomer":{"uri":"/jaxrs/customer/update/{id}","method":"PUT"},
  26. "customerDealStatus_completed":{"uri":"/jaxrs/customer/moreoperation/{customerid}/dealcompleted","method":"GET"},
  27. "customerDealStatus_processing":{"uri":"/jaxrs/customer/moreoperation/{customerid}/dealprocessing","method":"GET"},
  28. "lockCustomer":{"uri":"/jaxrs/customer/moreoperation/{customerid}/lock","method":"GET"},
  29. "unLockCustomer":{"uri":"/jaxrs/customer/moreoperation/{customerid}/unlock","method":"GET"},
  30. "putToCustomerPool":{"uri":"/jaxrs/customer/topool/{id}","method":"GET"},
  31. "getCustomerListNext":{"uri":"/jaxrs/customer/baseinfo/listall/{id}/next/{count}","method":"PUT"},
  32. "getCustomerListPrev":{"uri":"/jaxrs/customer/baseinfo/listall/{id}/prev/{count}","method":"PUT"},
  33. "gettest":{"uri":"/jaxrs/customer/baseinfo/iswork","method":"GET"},
  34. "customerTransfer":{"uri":"/jaxrs/customer/transfer/id/{id}","method":"PUT"},
  35. "getTeamMemberListById":{"uri":"/jaxrs/customer/teammembers/{id}","method":"GET"},
  36. "setTeamWriter":{"uri":"/jaxrs/customer/setteamwriter/{id}","method":"PUT"},
  37. "setTeamReader":{"uri":"/jaxrs/customer/setteamreader/{id}","method":"PUT"},
  38. "removeTeamMember":{"uri":"/jaxrs/customer/removeteammember/{id}","method":"PUT"},
  39. "addRelevantPerson":{"uri":"/jaxrs/customer/addrelevantperson/id/{id}/symbol/{writeReadSymbol}/add","method":"PUT"},
  40. //Attachment
  41. "updateAttachment":{"uri":"/jaxrs/attachment/wcrm/{wcrmId}/upload/{wcrmModule}/module/{preview}/preview","method":"POST","enctype": "formData"},
  42. "getAttachment":{"uri":"/jaxrs/attachment/list/work/{wcrmId}","method":"GET"},
  43. "delAttachment":{"uri":"/jaxrs/attachment/{id}","method":"DELETE"},
  44. "downloadAttachment":{"uri":"/jaxrs/attachment/download/{id}/work/{wcrmId}","method":"GET"},
  45. //contacts
  46. "getContacts":{"uri":"/jaxrs/customer/contactslist/{CustomerId}","method":"GET"},
  47. "getContactsById":{"uri":"/jaxrs/contacts/get/{contactsid}","method":"GET"},
  48. "saveContacts" : {"uri":"/jaxrs/contacts/create","method":"POST"},
  49. "getContactsListPage":{"uri":"/jaxrs/contacts/listpaginlike/page/{page}/size/{size}","method":"PUT"},
  50. "getContactsInfo":{"uri":"/jaxrs/contacts/get/{contactsid}","method":"GET"},
  51. "listOpportunityByContactsId":{"uri":"/jaxrs/contactsopportunity/listopportunity/contacts/{id}/relation","method":"GET"},
  52. "contactsTransfer":{"uri":"/jaxrs/contacts/transfer/id/{id}","method":"PUT"},
  53. "updateContacts":{"uri":"/jaxrs/contacts/update/{id}","method":"PUT"},
  54. //record
  55. "createRecord" : {"uri":"/jaxrs/record/create","method":"POST"},
  56. "getRecord":{"uri":"/jaxrs/record/listbycrmid/{crmId}","method":"GET"},
  57. "getOptionsRecord":{"uri":"/jaxrs/operationrecord/listbycrmid/{crmid}","method":"GET"},
  58. //clue
  59. "getClueListNext":{"uri":"/jaxrs/customer/baseinfo/listall/{id}/next/{count}","method":"PUT"},
  60. "getClueListPrev":{"uri":"/jaxrs/customer/baseinfo/listall/{id}/prev/{count}","method":"PUT"},
  61. "getClueListPage":{"uri":"/jaxrs/leads/listpaginlike/page/{page}/size/{size}","method":"PUT"},
  62. "getClueInfo":{"uri":"/jaxrs/leads/get/{leadsid}","method":"GET"},
  63. "transformToCustomer":{"uri":"/jaxrs/leads/transformtocustomer/{leadsid}","method":"GET"},
  64. "saveClue" : {"uri":"/jaxrs/leads/create","method":"POST"},
  65. "updateClue":{"uri":"/jaxrs/leads/update/{leadsid}/iskeep/{isKeepOriginalData}","method":"PUT"},
  66. "culeTransfer":{"uri":"/jaxrs/leads/transfer/id/{id}","method":"PUT"},
  67. "gettest":{"uri":"/jaxrs/operationrecord/listbycrmid/{crmid}","method":"GET"},
  68. "ListNestedSubPerson":{"uri":"/jaxrs/leads/listsub/page/{page}/size/{size}","method":"PUT"},
  69. "ListMyDuty":{"uri":"/jaxrs/leads/listmyduty/page/{page}/size/{size}","method":"PUT"},
  70. "ListTransfer":{"uri":"/jaxrs/leads/listsub/page/{page}/size/{size}","method":"PUT"},
  71. "ListAllMy":{"uri":"/jaxrs/leads/listallmy/page/{page}/size/{size}","method":"PUT"},
  72. //StatisticAction--
  73. "countLike" : {"uri":"/jaxrs/statistic/countlike","method":"PUT"},
  74. "countCustomerByProvince":{"uri":"/jaxrs/statistic/countcustomerbyprovince","method":"GET"},
  75. "countGroupByTypes" : {"uri":"/jaxrs/record/countGroupByTypes","method":"PUT"},
  76. "listByTypesAndTimeRange" : {"uri":"/jaxrs/record/listbytypes/{types}","method":"PUT"},
  77. "countCustomerByMonth" : {"uri":"/jaxrs/statistic/countcustomerbymonth","method":"PUT"},
  78. "countCustomerByIndustry" : {"uri":"/jaxrs/statistic/countcustomerbyindustry","method":"PUT"},
  79. "listNextTimePaginLike":{"uri":"/jaxrs/statistic/listnexttimepaginlike/page/{page}/size/{size}","method":"PUT"},
  80. //chance
  81. "getOpportunityListByCustomerId":{"uri":"/jaxrs/customer/opportunitylist/{CustomerId}","method":"GET"},
  82. "createChance":{"uri":"/jaxrs/opportunity/create","method":"POST"},
  83. "getChanceByPage":{"uri":"/jaxrs/opportunity/listpaginlike/page/{page}/size/{size}","method":"PUT"},
  84. "ListMyDuty_chance":{"uri":"/jaxrs/opportunity/listmyduty/page/{page}/size/{size}","method":"PUT"},
  85. "ListNestedSubPerson_chance":{"uri":"/jaxrs/opportunity/listsub/page/{page}/size/{size}","method":"PUT"},
  86. "ListMyParticipate_chance":{"uri":"/jaxrs/opportunity/listmyparticipate/page/{page}/size/{size}","method":"PUT"},
  87. "ListAllMy_chance":{"uri":"/jaxrs/opportunity/listallmy/page/{page}/size/{size}","method":"PUT"},
  88. "getChanceInfo":{"uri":"/jaxrs/opportunity/get/{opportunityid}","method":"GET"},
  89. "updateChance":{"uri":"/jaxrs/opportunity/update/{id}","method":"PUT"},
  90. "chanceTransfer":{"uri":"/jaxrs/opportunity/transfer/id/{id}","method":"PUT"},
  91. "getTeamMemberListByChanceId":{"uri":"/jaxrs/opportunity/teammembers/{id}","method":"GET"},
  92. "setTeamWriterChance":{"uri":"/jaxrs/opportunity/setteamwriter/{id}","method":"PUT"},
  93. "setTeamReaderChance":{"uri":"/jaxrs/opportunity/setteamreader/{id}","method":"PUT"},
  94. "removeTeamMemberChance":{"uri":"/jaxrs/opportunity/removeteammember/{id}","method":"PUT"},
  95. "addRelevantPersonChance":{"uri":"/jaxrs/opportunity/addrelevantperson/id/{id}/symbol/{writeReadSymbol}/add","method":"PUT"},
  96. //ContactsOpportunityAction
  97. "getContactsByChanceId":{"uri":"/jaxrs/contactsopportunity/listcontacts/opportunity/{id}/relation","method":"GET"},
  98. "relateChanceAndContact": {"uri":"/jaxrs/contactsopportunity/create","method":"POST"},
  99. "terminatedRelation": {"uri": "/jaxrs/contactsopportunity/terminated/{id}/relation","method": "GET"},
  100. "getContactsListPageByCustomerId":{"uri":"/jaxrs/contacts/listbycustomeridpaging/page/{page}/size/{size}","method":"PUT"},
  101. //chancetypes
  102. "getTypes":{"uri":"/jaxrs/opportunitytype/list","method":"GET"},
  103. //chancestatus
  104. "getStatusByTypeid":{"uri":"/jaxrs/opportunitystatus/listbytypeid/{typeid}","method":"GET"},
  105. //Publicseas
  106. "getPublicseasByPage":{"uri":"/jaxrs/pool/listpaginlike/page/{page}/size/{size}","method":"PUT"},
  107. "distributeCustomer":{"uri":"/jaxrs/pool/distribute/{id}","method":"PUT"},
  108. "receiveCustomer": {"uri":"/jaxrs/pool/receive/{id}","method":"GET"}
  109. }