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": "Бэтман Суперменович",