POST api/Manufacturer
Request Information
URI Parameters
None.
Body Parameters
ManufacturerModelsName | Description | Type | Additional information |
---|---|---|---|
MA_Id | integer |
None. |
|
MA_Code | string |
None. |
|
MA_Name | string |
Required Max length: 100 |
|
MA_Country | string |
None. |
|
StateSpeedSearch | StateSpeedSearchModels |
Required |
|
DistrictSpeedSearch | DistrictSpeedSearchModels |
Required |
|
TalukSpeedSearch | TalukSpeedSearchModels |
Required |
|
VillageSpeedSearch | VillageSpeedSearchModels |
Required |
|
MA_PinCode | integer |
Required |
|
MA_MobileNumber | integer |
Required |
|
MA_Email | string |
Required Max length: 50 |
|
MA_TIN_No | string |
Max length: 20 |
|
MA_ST_No | string |
Max length: 20 |
|
MA_CustomerSupportNo | integer |
Required |
|
MA_PO_TC | string |
Required Max length: 500 |
|
MA_Invoice_TC | string |
Required Max length: 500 |
|
MA_UserId_FK | integer |
None. |
|
MA_TS | date |
None. |
|
MA_Inactive | character |
None. |
|
MA_TS_LastEdited | date |
None. |
|
MA_TS_Edited_Uid_FK | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "MA_Id": 1, "MA_Code": "sample string 2", "MA_Name": "sample string 3", "MA_Country": "sample string 4", "StateSpeedSearch": { "ST_Id": 1, "ST_StateID": "sample string 2", "ST_StateName": "sample string 3" }, "DistrictSpeedSearch": { "DI_Id": 1, "DI_DistrictId": "sample string 2", "DI_District": "sample string 3" }, "TalukSpeedSearch": { "TA_Id": 1, "TA_TalukId": "sample string 2", "TA_Taluk": "sample string 3" }, "VillageSpeedSearch": { "VI_Id": 1, "VI_VillageId": "sample string 2", "VI_Village": "sample string 3" }, "MA_PinCode": 5, "MA_MobileNumber": 6, "MA_Email": "sample string 7", "MA_TIN_No": "sample string 8", "MA_ST_No": "sample string 9", "MA_CustomerSupportNo": 10, "MA_PO_TC": "sample string 11", "MA_Invoice_TC": "sample string 12", "MA_UserId_FK": 13, "MA_TS": "2025-01-09T01:01:26.4947226+05:30", "MA_Inactive": "A", "MA_TS_LastEdited": "2025-01-09T01:01:26.4947226+05:30", "MA_TS_Edited_Uid_FK": 17 }
application/xml, text/xml
Sample:
<ManufacturerModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <DistrictSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d2p1:DI_District>sample string 3</d2p1:DI_District> <d2p1:DI_DistrictId>sample string 2</d2p1:DI_DistrictId> <d2p1:DI_Id>1</d2p1:DI_Id> </DistrictSpeedSearch> <MA_Code>sample string 2</MA_Code> <MA_Country>sample string 4</MA_Country> <MA_CustomerSupportNo>10</MA_CustomerSupportNo> <MA_Email>sample string 7</MA_Email> <MA_Id>1</MA_Id> <MA_Inactive>65</MA_Inactive> <MA_Invoice_TC>sample string 12</MA_Invoice_TC> <MA_MobileNumber>6</MA_MobileNumber> <MA_Name>sample string 3</MA_Name> <MA_PO_TC>sample string 11</MA_PO_TC> <MA_PinCode>5</MA_PinCode> <MA_ST_No>sample string 9</MA_ST_No> <MA_TIN_No>sample string 8</MA_TIN_No> <MA_TS>2025-01-09T01:01:26.4947226+05:30</MA_TS> <MA_TS_Edited_Uid_FK>17</MA_TS_Edited_Uid_FK> <MA_TS_LastEdited>2025-01-09T01:01:26.4947226+05:30</MA_TS_LastEdited> <MA_UserId_FK>13</MA_UserId_FK> <StateSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d2p1:ST_Id>1</d2p1:ST_Id> <d2p1:ST_StateID>sample string 2</d2p1:ST_StateID> <d2p1:ST_StateName>sample string 3</d2p1:ST_StateName> </StateSpeedSearch> <TalukSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d2p1:TA_Id>1</d2p1:TA_Id> <d2p1:TA_Taluk>sample string 3</d2p1:TA_Taluk> <d2p1:TA_TalukId>sample string 2</d2p1:TA_TalukId> </TalukSpeedSearch> <VillageSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch"> <d2p1:VI_Id>1</d2p1:VI_Id> <d2p1:VI_Village>sample string 3</d2p1:VI_Village> <d2p1:VI_VillageId>sample string 2</d2p1:VI_VillageId> </VillageSpeedSearch> </ManufacturerModels>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.