POST
http://yourdomain/MaxiApi/Material/GetMaterialCode
Talep Parametresi | Request Parameter
ParametreParameter TipType AçıklamaDescription
FirmNr int Logo Firma NumarasıLogo Firm Number
Geri Bildirim Parametreleri | Response Parameters
ParametreParameter TipType AçıklamaDescription
GetStatus bool API Erişim DurumuApi Access Status
GetMessage string Genel Bilgi MesajıGeneral Information Message
Responseline List Malzeme Kartları Material Card
Parametre | Parameter Tip | Type Açıklama | Description
ItemLogRef int Malzeme LogRefMaterial LogRef
ItemCode string Malzeme KoduMaterial Code
ItemName string Malzeme AdıMaterial Name
UnitCode string Birim KoduUnitSet Code
SpeCodeType int Malzeme Tipi (1 - Alınan Malzeme / 2 - Satılan Malzeme)Material Type
ProductType int
GroupCode string Grup KoduGroup Code
Barcode string BarkodBarcode
CreatedDate string Oluşturulma TarihiCreated Date
ModifiedDate string Değiştirilme TarihiModified Date
TextField1 string Metinsel Tanımlı Alan 1Textual Defined Area 1
TextField2 string Metinsel Tanımlı Alan 2Textual Defined Area 2
UnitSetList List Birim Listesi Unit List
Parametre | Parameter Tip | Type Açıklama | Description
UnitCode string Birim KoduUnit Code
MainUnit int Ana Birim (1/0)Main Unit (1/0)
LineNR int Satır NoLİne NR
Width decimal GenişlikWidth
WidthUnit string Genişlik BirimWidth Unit
Length decimal UzunlukLength
LengthUnit string Uzunluk BirimLength Unit
Height decimal YükseklikHeight
HeightUnit string Yükseklik BirimHeight Unit
Area decimal AlanArea
AreaUnit string Alan BirimArea Unit
Volume decimal HacimVolume
VolumeUnit string Hacim BirimVolume Unit
GrossVolume decimal Bürüt HacimGross Volume
GrossVolumeUnit string Bürüt Hacim BirimGross Volume Unit
Weight decimal AğırlıkWeight
WeightUnit string Ağırlık BirimWeight Unit
GrossWeight decimal Bürüt AğırlıkGross Weight
GrossWeightUnit string Bürüt Ağırlık BirimGross Weight Unit
ConversionRate decimal Çevrim KatsayısıConversion Rate
Barcode string BarkodBarcode
Örnek (JSON) | Example (JSON)

Request

                            
                                {
                                    "FirmNr": 1
                                }
                            
				        

Response

                            

                                {
                                    "GetStatus": true,
                                    "GetMessage": "Kayıtlar Bulundu",
                                    "Responseline": [
                                        {
                                        "ItemLogRef": 2071,
                                        "ItemCode": "XXXXXX",
                                        "ItemName": "Test Malzeme",
                                        "UnitCode": "KG",
                                        "SpeCodeType": 0,
                                        "ProductType": 11,
                                        "GroupCode": "",
                                        "Barcode": "",
                                        "CreatedDate": "01-01-2016 10:05:01",
                                        "ModifiedDate": "02-03-2020 11:38:08",
                                        "TextField1": "",
                                        "TextField2": "",
                                        "UnitSetList": 
                                            [
                                                {
                                                "UnitCode": "KG",
                                                "MainUnit": 1,
                                                "LineNR": 1,
                                                "Width": 0.00000000,
                                                "WidthUnit": "",
                                                "Length": 0.00000000,
                                                "LengthUnit": "",
                                                "Height": 0.00000000,
                                                "HeightUnit": "",
                                                "Area": 0.00000000,
                                                "AreaUnit": "",
                                                "Volume": 0.00000000,
                                                "VolumeUnit": "",
                                                "GrossVolume": 0.00000000,
                                                "GrossVolumeUnit": "",
                                                "Weight": 0.00000000,
                                                "WeightUnit": "",
                                                "GrossWeight": 0.00000000,
                                                "GrossWeightUnit": "",
                                                "ConversionRate": 1.00000000,
                                                "Barcode": ""
                                                }
                                            ]
                                        }
                                }