Malzeme Kartı | Material Card
POST
http://yourdomain/MaxiApi/Material/MaterialTransfer
Logo Firma Bilgileri | Logo Company Information
Birden Fazla Firmaya Gönderim Yapılabilir. Renkli Parametreler Zorunlu Alanlardır.
Sending to More Than One Company is Possible. Colored Parameters are Required Fields.
| ParametreParameter | TipType | AçıklamaDescription |
|---|---|---|
| FirmID | int | Logo Firma NumarasıLogo Firm Number |
| PeriodNo | int | Logo Firma Dönem NumarasıLogo Firm Period Number |
MainParams Parametreleri | MainParams Parameters
Çoklu Gönderim Yapılabilir. Renkli Parametreler Zorunlu Alanlardır.
Multiple Sending is Possible. Colored Parameters are Required Fields.
| ParametreParameter | TipType | AçıklamaDescription | UzunlukLength | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| SourceID | string | Malzeme Kaynak ParametresiMaterial Source Parameter | - | ||||||||
| MaterialRefNo | int | Yeni Kayıtlar için 0, Güncellemeler için kayıt sonrası geri bildirimi yapılan referans numarası girilmelidir0 for New Records, after registration reference number must be entered for Updates. | |||||||||
| ItemType | int |
Malzeme Tipi Material Type
|
|||||||||
| ItemCode | string | Kart KoduItem Code | - | ||||||||
| ItemName | string | Ürün AçıklamasıItem Description | - | ||||||||
| ItemName3 | string | Ürün Açıklaması 2Item Description 2 | - | ||||||||
| ItemName4 | string | Ürün Açıklaması 3Item Description 3 | - | ||||||||
| AuxilCode | string | Özel KodSpecial Code | - | ||||||||
| AuthCode | string | Yetki KoduAuthorization Code | - | ||||||||
| Itext | string | Detaylı Bilgi (TR)Detailed Info (TR) | - | ||||||||
| B2CCODE | string | E-Mağaza KoduE-Store Code | - | ||||||||
| GroupCode | string | Grup KoduGroup Code | - | ||||||||
| MarkCode | string | Marka KoduBrand Code | - | ||||||||
| UsefPurchasing | string | Satınalma KullanımıPurchasing Use | - | ||||||||
| UsefSales | string | Satış ve Dağıtım KullanımıSales and Distribution Use | - | ||||||||
| UsefMM | string | Malzeme Yönetimi KullanımıMaterials Management Use | - | ||||||||
| Vat | string | Satınalma KDV OranıPurchase VAT Rate | - | ||||||||
| SellVat | string | Satış KDV OranıSales VAT Rate | - | ||||||||
| ReturnVat | string | İade KDV OranıRefund VAT Rate | - | ||||||||
| RetailSellVat | string | Perakende Satış KDV OranıRetail Sales VAT Rate | - | ||||||||
| RetailReturnVat | string | Perakende İade KDV OranıRetail Refund VAT Rate | - | ||||||||
| AutoINCSL | string |
Otomatik Lot/Seri Numarası Artırımı Automatic Lot/Serial Number Increment
|
|||||||||
| LotsDivisible | string | LOT Büyüklükleri BölünebilirLot Sizes Can Be Divided | - | ||||||||
| ExtAccFlags | int |
Erişim Bilgileri (tek veya toplayarak) Access Information (single or aggregation)
|
|||||||||
| UnitSetCode | string | Birim Setinin KoduUnit Set Code | - | ||||||||
LineParams Parametreleri | LineParams Parameters
Çoklu Gönderim Yapılabilir. Renkli Parametreler Zorunlu Alanlardır
| ParametreParameter | TipType | AçıklamaDescription | UzunlukLength |
|---|---|---|---|
| UnitCode | string | Birim KoduUnit Code | - |
| UsefMtrlClass | string | Malzeme Yönetimi KullanımıMaterials Management Use | - |
| UsefPurchClas | string | Satınalma KullanımıPurchasing Use | - |
| UsefSalesClas | string | Satış ve Dağıtım KullanımıSales and Distribution Use | - |
| ConvFact1 | string | Ana Birime Dönüşüm OranıConversion Rate to Base Unit | - |
| ConvFact2 | string | Ana Birime Dönüşüm OranıConversion Rate to Base Unit | - |
| Barcode | string | Barkod ListesiBarcode List | - |
Örnek (JSON) | Example (JSON)
Request
[
{
"FirmID": 1,
"PeriodNo": 2,
"MainParams":
[
{
"SourceID": "123",
"MaterialRefNo": "",
"ItemType": 1,
"ItemCode": "MLZTEST-7",
"ItemName": "Malzeme Demo-7",
"ItemName3": "Açıklama 2",
"ItemName4": "Açıklama 3",
"AuxilCode": "OZLKOD",
"AuthCode": "YTK-02",
"B2CCODE": "0041",
"GroupCode": "GRP2",
"MarkCode": "",
"UsefPurchasing": "2",
"UsefSales": "0",
"UsefMM": "2",
"UnitSetCode": "05",
"Vat": "20",
"SellVat": "20",
"ReturnVat": "20",
"RetailSellVat": "20",
"RetailReturnVat": "20",
"AutoINCSL":"1",
"LotsDivisible": "1",
"ExtAccFlags": "1",
"LineParams":[
{
"UnitCode": "ADET",
"UsefMtrlClass": "1",
"UsefPurchClas": "0",
"UsefSalesClas": "1",
"ConvFact1" : "1",
"ConvFact2" : "1",
"Barcode": ""
}
]
}
]
}
]
Response
{
"TransferStatus": true,
"TransferMessage": "Transfer Completed!",
"Responseline": [
{
"SourceID": "122",
"Isucceed": true,
"RecordRef": "1968",
"RecordFicheNo": "MLZTEST-4",
"ResponseMsg": "Malzeme Aktarımı Başarılı"
}
]
}
Geri Dönüş Parametreleri | Response Parameters
| ParametreParameter | TipType | AçıklamaDescription |
|---|---|---|
| TransferStatus | bool | API Erişim DurumuApi Access Status |
| TransferMessage | string | Aktarım Genel Bilgi MesajıTransfer Information Message |
| SourceID | string | Malzeme Kartı Kaynak ParametresiItem Card Source Parameter |
| Isucceed | bool | Malzeme Kartı Aktarım Durum BilgisiItem Card Transfer Status Information |
| RecordRef | string | Aktarılan Malzeme Kartının Hedef Kayıt NoTransferred Item Card Destination Registration Number |
| RecordFicheNo | string | Aktarılan Malzeme Kart NoTransferred Item Card number |
| ResponseMsg | string | Malzeme Kartı Aktarım MesajıItem Card transfer message |