From 37922367d78f75e03f4255ca2503966cd3641aec Mon Sep 17 00:00:00 2001 From: ngfrolov Date: Mon, 16 Oct 2023 12:07:04 +0500 Subject: [PATCH] update WellContact.http --- AsbCloudWebApi/Rest/WellContact.http | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/AsbCloudWebApi/Rest/WellContact.http b/AsbCloudWebApi/Rest/WellContact.http index de71f59f..fb45cf3f 100644 --- a/AsbCloudWebApi/Rest/WellContact.http +++ b/AsbCloudWebApi/Rest/WellContact.http @@ -14,7 +14,7 @@ accept: */* Authorization: {{auth}} ### Получение контактов по типу контакта и ключу скважины -GET {{baseUrl}}/api/well/{{idWell}}/WellContact/contactType/{{contactTypeId}} +GET {{baseUrl}}/api/well/{{idWell}}/WellContact/type/{{contactTypeId}} Content-Type: {{contentType}} accept: */* Authorization: {{auth}} @@ -32,16 +32,16 @@ accept: */* Authorization: {{auth}} { + "id" : 2, "IdCompanyType" : 1, "IdWell": 1, - "FullName": "Бэтман Суперменович", + "FullName": "batman", "Email": "aa@aa.aa", "Phone": "80000000000", "Position": "Повар", "Company": "Мишлен лтд" } - ### изменение контакта PUT {{baseUrl}}/api/well/{{idWell}}/WellContact Content-Type: {{contentType}} @@ -49,6 +49,7 @@ accept: */* Authorization: {{auth}} { + "id" : 2, "IdCompanyType" : 1, "IdWell": 1, "FullName": "Бэтман Суперменович",