POST api/Chain
Request Information
URI Parameters
None.
Body Parameters
ChainModelsName | Description | Type | Additional information |
---|---|---|---|
C_Id | integer |
None. |
|
C_Code | string |
None. |
|
C_Name | string |
Required |
|
C_ShortDescription | string |
Required |
|
C_Note | string |
Required |
|
C_UserId_FK | integer |
None. |
|
C_TS | date |
None. |
|
C_Inactive | character |
None. |
|
C_TS_LastEdited | date |
None. |
|
C_TS_Edited_Uid_FK | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "C_Id": 1, "C_Code": "sample string 2", "C_Name": "sample string 3", "C_ShortDescription": "sample string 4", "C_Note": "sample string 5", "C_UserId_FK": 6, "C_TS": "2025-01-09T00:39:05.8018829+05:30", "C_Inactive": "A", "C_TS_LastEdited": "2025-01-09T00:39:05.8018829+05:30", "C_TS_Edited_Uid_FK": 10 }
application/xml, text/xml
Sample:
<ChainModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <C_Code>sample string 2</C_Code> <C_Id>1</C_Id> <C_Inactive>65</C_Inactive> <C_Name>sample string 3</C_Name> <C_Note>sample string 5</C_Note> <C_ShortDescription>sample string 4</C_ShortDescription> <C_TS>2025-01-09T00:39:05.8018829+05:30</C_TS> <C_TS_Edited_Uid_FK>10</C_TS_Edited_Uid_FK> <C_TS_LastEdited>2025-01-09T00:39:05.8018829+05:30</C_TS_LastEdited> <C_UserId_FK>6</C_UserId_FK> </ChainModels>
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.