Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Rest_Ek_Alan Layout ta istenen yere eklenir. 

Model.xafml dosyasından fark alanın kopyalanması

CRM Uygulaması altındaki model.xafml dosyasından REST uygulamasına fark alan bilgisi kopyalanır.

Code Block
languagexml
titleFark Alan
<Class Name="logocrm.net.Module.BusinessObjects.MT_Contact">
      <OwnMembers>
        <Member Name="REST_Ek_Alan" Caption="Created by" IsCustom="True" IsCalculated="False" Type="System.String" EditorType="TextEdit" PropertyIsVisible="True" DataSourceField="" UseCustomTemplate="False" AllowEdit="True" ImmediatePostData="False" LookupEditorMode="Auto" UseSpin="False" LookupProperty="REST_Ek_Alan" UseByListViewCriteriaObjectCreating="True" FieldIndex="8" FieldMaxLength="100" FieldValueLimit="3" ShowSummary="True" Index="" Expression="null" IsVisibleInAnalysis="False" EditMaskType="Simple" Size="20" IncludeInListViewSearch="False" DataSourceProperty="REST_Ek_Alan" IsNewNode="True" />
      </OwnMembers>
</Class>
Warning

REST ve Logo CRM klasörlerine IIS'den ilgili uygulamalar üzerinde sağ klik ile erişebilirsiniz.


IIS Tekrar Başlatılır

İlgili kişi kaydını REST_Ek_Alan dolu olarak girebiliriz.

REST ile ek alan verisine Erişim

POST http://localhost/LogoCrmRest//api/v1.0/login?username=LOGO&password=LOGO

GET http://localhost/LogoCrmRest//api/v1.0/contacts?SessionId=2f8c1049-7ed2-41ea-80bf-c903f21504ee

GET http://localhost/LogoCrmRest//api/v1.0/contacts/f0cbfd7c-06b3-4dfd-95f5-a412c6228a62?SessionId=2f8c1049-7ed2-41ea-80bf-c903f21504ee

Code Block
    "Meta": {
        "href": "localhost/LogoCrmRest/api",
        "mediaType": "application/json; charset=UTF-8",
        "fullPath": "/LogoCrmRest/api/v1.0/contacts/f0cbfd7c-06b3-4dfd-95f5-a412c6228a62",
        "apiVersion": "1"
    },
    "Result": 1,
    "Message": "",
    "Items": [
        {
            "Oid": "f0cbfd7c-06b3-4dfd-95f5-a412c6228a62",
            "FirstName": "ali",
            "MiddleName": null,
            "LastName": "kara",
            "Birthday": "1900-01-01T00:00:00",
            "FullName": "ali kara",
            "InUse": true,
            "EmailAddress1": null,
            "EmailAddress2": null,
            "EmailAddress3": null,
            "WebAddress1": null,
            "WebAddress2": null,
            "Notes": null,
            "Tags": null,
            "NotifyUsers": null,
            "Latitude": 0,
            "Longtitude": 0,
            "PhotoBase64": "iVBORw0KGgoAAAANSUhEUg....",
            "_CreatedDateTime": "2017-12-19T13:07:53.587",
            "_LastModifiedDateTime": "2017-12-19T13:07:53.607",
            "RecordCreateInfo": "System Administrator, 19.12.2017 13:07",
            "RecordLastUpdateInfo": "System Administrator, 19.12.2017 13:07",
            "IsLoading": false,
            "IsDeleted": false,
            "Loading": false,
            "IsMobile": false,
            "IsControllerSaving": false,
            "MobileSessionUser": "00000000-0000-0000-0000-000000000000",
            "AvailableSalesReps": [],
            "OtherPortfolio": true,
            "ContactPhoto": "System.Drawing.Bitmap",
            "CheckOnDelete": true,
            "REST_Ek_Alan": "REST TEST"
        }
    ],
    "AppearanceRules": []
}