update WellContact.http

This commit is contained in:
ngfrolov 2023-10-16 12:07:04 +05:00
parent bfe2583921
commit 37922367d7
Signed by: ng.frolov
GPG Key ID: E99907A0357B29A7

View File

@ -14,7 +14,7 @@ accept: */*
Authorization: {{auth}} Authorization: {{auth}}
### Ïîëó÷åíèå êîíòàêòîâ ïî òèïó êîíòàêòà è êëþ÷ó ñêâàæèíû ### Ïîëó÷åíèå êîíòàêòîâ ïî òèïó êîíòàêòà è êëþ÷ó ñêâàæèíû
GET {{baseUrl}}/api/well/{{idWell}}/WellContact/contactType/{{contactTypeId}} GET {{baseUrl}}/api/well/{{idWell}}/WellContact/type/{{contactTypeId}}
Content-Type: {{contentType}} Content-Type: {{contentType}}
accept: */* accept: */*
Authorization: {{auth}} Authorization: {{auth}}
@ -32,16 +32,16 @@ accept: */*
Authorization: {{auth}} Authorization: {{auth}}
{ {
"id" : 2,
"IdCompanyType" : 1, "IdCompanyType" : 1,
"IdWell": 1, "IdWell": 1,
"FullName": "Áýòìàí Ñóïåðìåíîâè÷", "FullName": "batman",
"Email": "aa@aa.aa", "Email": "aa@aa.aa",
"Phone": "80000000000", "Phone": "80000000000",
"Position": "Ïîâàð", "Position": "Ïîâàð",
"Company": "Ìèøëåí ëòä" "Company": "Ìèøëåí ëòä"
} }
### èçìåíåíèå êîíòàêòà ### èçìåíåíèå êîíòàêòà
PUT {{baseUrl}}/api/well/{{idWell}}/WellContact PUT {{baseUrl}}/api/well/{{idWell}}/WellContact
Content-Type: {{contentType}} Content-Type: {{contentType}}
@ -49,6 +49,7 @@ accept: */*
Authorization: {{auth}} Authorization: {{auth}}
{ {
"id" : 2,
"IdCompanyType" : 1, "IdCompanyType" : 1,
"IdWell": 1, "IdWell": 1,
"FullName": "Áýòìàí Ñóïåðìåíîâè÷", "FullName": "Áýòìàí Ñóïåðìåíîâè÷",