GET api/Customers/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Customer| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| Family | string |
None. |
|
| TelNumber | string |
None. |
|
| MobileNumber | string |
None. |
|
| Address | string |
None. |
|
| Date | date |
None. |
|
| BuildGolds | Collection of BuildGold |
None. |
|
| Fusions | Collection of Fusion |
None. |
|
| Platings | Collection of Plating |
None. |
|
| Receives | Collection of Receive |
None. |
|
| Repaires | Collection of Repaire |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"Name": "sample string 2",
"Family": "sample string 3",
"TelNumber": "sample string 4",
"MobileNumber": "sample string 5",
"Address": "sample string 6",
"Date": "2026-01-01T04:10:18.9079504+03:30",
"BuildGolds": [
{
"$id": "2",
"ID": 1,
"CustomerID": 2,
"GoldTypeID": 3,
"GoldModelID": 4,
"Cutie": 5,
"Weight": 6.1,
"Wage": 7.1,
"Benefit": 8.1,
"AmountPerUnit": 9.1,
"Amount": 10.0,
"Description": "sample string 11",
"Count": 12,
"ReceiptAmount": 1.0,
"ReceiptGold": 1.0,
"ReceiptDate": "2026-01-01T04:10:18.9079504+03:30",
"Date": "2026-01-01T04:10:18.9079504+03:30",
"Customer": {
"$ref": "1"
},
"GoldModel": {
"$id": "3",
"ID": 1,
"GoldTypeID": 2,
"Name": "sample string 3",
"Wage": 1.1,
"BuildGolds": [
{
"$ref": "2"
},
{
"$ref": "2"
}
]
},
"GoldType": {
"$id": "4",
"ID": 1,
"Name": "sample string 2",
"BuildGolds": [
{
"$ref": "2"
},
{
"$ref": "2"
}
],
"Buys": [
{
"$id": "5",
"ID": 1,
"GoldType": 2,
"Cutie": 3,
"Weight": 4.1,
"AmountPerGeram": 5.1,
"Amount": 6.0,
"Description": "sample string 7",
"Date": "2026-01-01T04:10:18.9079504+03:30",
"GoldType1": {
"$ref": "4"
}
},
{
"$ref": "5"
}
],
"Platings": [
{
"$id": "6",
"ID": 1,
"GoldType": 2,
"PlatingType": 3,
"CustomerID": 4,
"Weight": 5.0,
"Amount": 6.0,
"Description": "sample string 7",
"ReceiptAmount": 1.0,
"ReceiptDate": "2026-01-01T04:10:18.9079504+03:30",
"Date": "2026-01-01T04:10:18.9079504+03:30",
"Customer": {
"$ref": "1"
},
"GoldType1": {
"$ref": "4"
},
"PlatingType1": {
"$id": "7",
"ID": 1,
"Name": "sample string 2",
"Platings": [
{
"$ref": "6"
},
{
"$ref": "6"
}
]
}
},
{
"$ref": "6"
}
],
"Repaires": [
{
"$id": "8",
"ID": 1,
"GoldType": 2,
"PersonID": 3,
"AddedGold": 1.0,
"NumberGoldenBoiling": 1,
"PricePerBoilling": 1.1,
"Wage": 1.0,
"Benefit": 1.1,
"PricePerGram": 1.1,
"AmountOfAddedGold": 1.0,
"GoldDeficit": 1.0,
"AmountOfGoldDeficit": 1.0,
"BuyPricePerGram": 1.1,
"ReceiptAmount": 1.0,
"ReceiptGold": 1.0,
"ReceiptDate": "2026-01-01T04:10:18.9079504+03:30",
"Date": "2026-01-01T04:10:18.9079504+03:30",
"Customer": {
"$ref": "1"
},
"GoldType1": {
"$ref": "4"
}
},
{
"$ref": "8"
}
]
}
},
{
"$ref": "2"
}
],
"Fusions": [
{
"$id": "9",
"ID": 1,
"CustomerID": 2,
"FusionAmount": 3.1,
"RayAmount": 1.1,
"Weight": 4.0,
"TotalAmount": 5.0,
"RayNumber": "sample string 6",
"isWithDevice": true,
"ReceiptAmount": 1.0,
"ReceiptDate": "2026-01-01T04:10:18.9079504+03:30",
"Date": "2026-01-01T04:10:18.9079504+03:30",
"Customer": {
"$ref": "1"
}
},
{
"$ref": "9"
}
],
"Platings": [
{
"$ref": "6"
},
{
"$ref": "6"
}
],
"Receives": [
{
"$id": "10",
"ID": 1,
"CustomerID": 2,
"TotalAmountDebt": 3.0,
"TotalGoldDebt": 4.0,
"AmountReceived": 5.0,
"GoldReceived": 6.0,
"Date": "2026-01-01T04:10:18.9079504+03:30",
"Type": 64,
"Customer": {
"$ref": "1"
},
"ReceiveDetails": [
{
"$id": "11",
"ID": 1,
"ReceiveID": 2,
"Type": 3,
"TableID": 4,
"Amount": 5.0,
"Gold": 6.0,
"CreateDate": "2026-01-01T04:10:18.9079504+03:30",
"CreateUserID": 8,
"UpdateDate": "2026-01-01T04:10:18.9079504+03:30",
"UpdateUserID": 1,
"Ver": 9,
"Receive": {
"$ref": "10"
}
},
{
"$ref": "11"
}
]
},
{
"$ref": "10"
}
],
"Repaires": [
{
"$ref": "8"
},
{
"$ref": "8"
}
]
}