POST api/RaySigorta/CreateOrUpdateCustomer
Müşteri oluşturmak için kullanılan fonksiyondur. Verilen müşteri bilgilerine göre müşteri yaratmak ya da var olan müşteriyi güncellemek için kullanılır.
Request Information
URI Parameters
None.
Body Parameters
CreateOrUpdateCustomerVeriClass| Name | Description | Type | Additional information |
|---|---|---|---|
| ServisKullaniciVerisi | ServisKullaniciBilgileri |
None. |
|
| MusteriBilgileri | CustomerInfo |
None. |
Request Formats
application/json, text/json
Sample:
{
"ServisKullaniciVerisi": {
"$id": "2",
"KullanciAdi": "sample string 1",
"Sifre": "sample string 2"
},
"MusteriBilgileri": {
"$id": "3",
"customerIdField": 1,
"referenceCustomerIdField": 1,
"customerTypeField": 0,
"nameField": "sample string 1",
"surnameField": "sample string 2",
"idnumberField": 1,
"taxnumberField": 1,
"passportNoField": "sample string 3",
"genderField": 0,
"birthDateField": "2025-12-31T23:06:20.2798172+03:00",
"birthPlaceField": "sample string 4",
"fatherNameField": "sample string 5",
"nationalityCodeField": "sample string 6",
"telephone1Field": "sample string 7",
"address1Field": "sample string 8",
"city1CodeField": "sample string 9",
"province1CodeField": "sample string 10",
"country1CodeField": "sample string 11",
"emailField": "sample string 12",
"maritalstatusRfField": "sample string 13",
"occupationRfField": "sample string 14",
"educationRfField": "sample string 15",
"PropertyChanged": null
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |