• 欢迎光临~

postman相关

开发技术 开发技术 2022-08-29 次浏览

url构成

http://172.17.11.23:9200/salesinchargesearch/_search?pretty

协议:http

IP地址(主机):172.17.11.23     (或者域名:baidu.com)

端口号:9200

路径名:/salesinchargesearch

查询参数:?pretty

 

GET:请求

例:

http://172.17.11.23:9200/salesinchargesearch/_search?pretty

----------------------------------------------------------------------------------------

POST:新增,删除,修正

例:新增,修正

http://172.17.11.23:9200/salesinchargesearch/_doc/SalesInChargeImport.SalesInChargeId(id=01c35662-0b22-450c-8fb2-4b1d697eb447)

请求body里

      {
        "customer_organizationDisplayName": "得意先1",
        "customer_organizationAbbreviationFullName": "得意先組織1",
        "customer_departmentName": "得意先部門1",
        "customer_businessAssociateDisplayName": "得意先取引先1",
        "client_departmentName": "クライアント部門1",
        "client_id": "01c35662-0b22-450c-8fb2-4b1d697eb447",
        "customer_companyName": "得意先会社1",
        "client_companyName": "クライアント会社1",
        "customer_customerCode": "0031210100103",
        "client_businessAssociateDisplayName": "クライアント取引先1",
        "customer_companyOrganizationCode": "得意先組織1",
        "customer_customerType": 1,
        "customer_id": "01c35662-0b22-450c-8fb2-4b1d697eb447",
        "client_clientCode": "01483310001",
        "customer_billingCompanyType": 1
      }
 
例:删除
http://172.17.11.16:9209/maintainedatransaction/_delete_by_query
请求body里
删除全部
{
    "query": {
        "match_all": {}
    }
}
 

----------------------------------------------------------------------------------------

DELETE:删除

例:

http://172.17.11.16:9209/publishedforeigncurrency/_doc/1
http://172.17.11.23:9209/maintainedmediacommissionrate/_doc/MediaCommissionRateMaintenance.MediaCommissionRateId(id=48d40bb0-4bb8-41cb-9343-f2d6fad666c0)
 
 
程序员灯塔
转载请注明原文链接:postman相关
喜欢 (0)