POST api/Despatch/Save
Request Information
URI Parameters
None.
Body Parameters
DespatchSaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| DespatchDate | string |
Required |
|
| Refno | string |
Required String length: inclusive between 0 and 15 |
|
| DphMode | string |
Required |
|
| DespatchType | DespatchTypeLookupVM |
Required |
|
| DespatchCategory | DespatchCategoryLookupVM |
Required |
|
| Isconfidential | string |
None. |
|
| MailListType | InwardMailListTypeLookup |
Required |
|
| MailerId | integer |
None. |
|
| Prefix | PrefixLookup |
None. |
|
| ToPerson | string |
String length: inclusive between 0 and 100 |
|
| Address1 | string |
String length: inclusive between 0 and 200 |
|
| Address2 | string |
String length: inclusive between 0 and 200 |
|
| AddressPincode | string |
String length: inclusive between 0 and 50 |
|
| AddressPlace | string |
String length: inclusive between 0 and 100 |
|
| AddressLandMark | string |
String length: inclusive between 0 and 200 |
|
| AddressPostOfficeId | integer |
None. |
|
| AddressDistrictId | integer |
None. |
|
| AddressStateId | integer |
None. |
|
| AddressCountryId | integer |
None. |
|
| FromDepartmentId | integer |
None. |
|
| FromEmployeeId | integer |
None. |
|
| LetterDate | string |
None. |
|
| Subject | InwardSubjectLookup |
None. |
|
| AttachItem | string |
String length: inclusive between 0 and 200 |
|
| DphRemarks | string |
String length: inclusive between 0 and 100 |
|
| DphFileno | string |
String length: inclusive between 0 and 100 |
|
| Courier | InwardCourierLookup |
None. |
|
| PostageType | PostageTypeLookupVM |
None. |
|
| PostageFee | decimal number |
None. |
|
| DphReceiptNum | string |
String length: inclusive between 0 and 100 |
|
| DphReceiptDate | string |
None. |
|
| AckReceivedDate | string |
None. |
|
| DeliveredDate | string |
None. |
|
| Inward | InwardEntryLookupVM |
None. |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
|
| ConfirmStatus | string |
Required Matching regular expression pattern: Y|N |
|
| ClosedRemarks | string |
String length: inclusive between 0 and 100 |
|
| FinYear | integer |
None. |
|
| Status | string |
Required Matching regular expression pattern: A|C |
|
| AmtMode | AccountAmtModeLookup |
None. |
|
| AmtModeDate | string |
None. |
|
| Amount | decimal number |
None. |
|
| AmtModeNo | string |
None. |
Request Formats
application/json, text/json
{
"BookId": 1,
"DespatchDate": "sample string 2",
"Refno": "sample string 3",
"DphMode": "sample string 4",
"DespatchType": {
"DphTypeId": 1,
"DphTypeName": "sample string 2"
},
"DespatchCategory": {
"DphCategoryId": 1,
"DphCategoryName": "sample string 2"
},
"Isconfidential": "sample string 5",
"MailListType": {
"MailListTypeId": 1,
"MailListTypeName": "sample string 2"
},
"MailerId": 6,
"Prefix": {
"PrefixId": 1,
"PrefixName": "sample string 2"
},
"ToPerson": "sample string 7",
"Address1": "sample string 8",
"Address2": "sample string 9",
"AddressPincode": "sample string 10",
"AddressPlace": "sample string 11",
"AddressLandMark": "sample string 12",
"AddressPostOfficeId": 13,
"AddressDistrictId": 14,
"AddressStateId": 15,
"AddressCountryId": 16,
"FromDepartmentId": 17,
"FromEmployeeId": 18,
"LetterDate": "sample string 19",
"Subject": {
"InwSubjectId": 1,
"InwSubjectName": "sample string 2"
},
"AttachItem": "sample string 20",
"DphRemarks": "sample string 21",
"DphFileno": "sample string 22",
"Courier": {
"CourierId": 1,
"CourierName": "sample string 2"
},
"PostageType": {
"PostageTypeId": 1,
"PostageTypeName": "sample string 2"
},
"PostageFee": 23.0,
"DphReceiptNum": "sample string 24",
"DphReceiptDate": "sample string 25",
"AckReceivedDate": "sample string 26",
"DeliveredDate": "sample string 27",
"Inward": {
"InwardId": 1,
"RefNo": "sample string 2"
},
"CreateUser": 28,
"CreateIp": "sample string 29",
"ConfirmStatus": "sample string 30",
"ClosedRemarks": "sample string 31",
"FinYear": 32,
"Status": "sample string 33",
"AmtMode": {
"AmtModeId": 1,
"AmtModeName": "sample string 2",
"AmtModeDebitColEnableSts": "sample string 3",
"AmtModeCreditColEnableSts": "sample string 4"
},
"AmtModeDate": "sample string 34",
"Amount": 35.0,
"AmtModeNo": "sample string 36"
}
application/xml, text/xml
<DespatchSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<AckReceivedDate>sample string 26</AckReceivedDate>
<Address1>sample string 8</Address1>
<Address2>sample string 9</Address2>
<AddressCountryId>16</AddressCountryId>
<AddressDistrictId>14</AddressDistrictId>
<AddressLandMark>sample string 12</AddressLandMark>
<AddressPincode>sample string 10</AddressPincode>
<AddressPlace>sample string 11</AddressPlace>
<AddressPostOfficeId>13</AddressPostOfficeId>
<AddressStateId>15</AddressStateId>
<Amount>35</Amount>
<AmtMode>
<AmtModeCreditColEnableSts>sample string 4</AmtModeCreditColEnableSts>
<AmtModeDebitColEnableSts>sample string 3</AmtModeDebitColEnableSts>
<AmtModeId>1</AmtModeId>
<AmtModeName>sample string 2</AmtModeName>
</AmtMode>
<AmtModeDate>sample string 34</AmtModeDate>
<AmtModeNo>sample string 36</AmtModeNo>
<AttachItem>sample string 20</AttachItem>
<BookId>1</BookId>
<ClosedRemarks>sample string 31</ClosedRemarks>
<ConfirmStatus>sample string 30</ConfirmStatus>
<Courier>
<CourierId>1</CourierId>
<CourierName>sample string 2</CourierName>
</Courier>
<CreateIp>sample string 29</CreateIp>
<CreateUser>28</CreateUser>
<DeliveredDate>sample string 27</DeliveredDate>
<DespatchCategory>
<DphCategoryId>1</DphCategoryId>
<DphCategoryName>sample string 2</DphCategoryName>
</DespatchCategory>
<DespatchDate>sample string 2</DespatchDate>
<DespatchType>
<DphTypeId>1</DphTypeId>
<DphTypeName>sample string 2</DphTypeName>
</DespatchType>
<DphFileno>sample string 22</DphFileno>
<DphMode>sample string 4</DphMode>
<DphReceiptDate>sample string 25</DphReceiptDate>
<DphReceiptNum>sample string 24</DphReceiptNum>
<DphRemarks>sample string 21</DphRemarks>
<FinYear>32</FinYear>
<FromDepartmentId>17</FromDepartmentId>
<FromEmployeeId>18</FromEmployeeId>
<Inward>
<InwardId>1</InwardId>
<RefNo>sample string 2</RefNo>
</Inward>
<Isconfidential>sample string 5</Isconfidential>
<LetterDate>sample string 19</LetterDate>
<MailListType>
<MailListTypeId>1</MailListTypeId>
<MailListTypeName>sample string 2</MailListTypeName>
</MailListType>
<MailerId>6</MailerId>
<PostageFee>23</PostageFee>
<PostageType>
<PostageTypeId>1</PostageTypeId>
<PostageTypeName>sample string 2</PostageTypeName>
</PostageType>
<Prefix>
<PrefixId>1</PrefixId>
<PrefixName>sample string 2</PrefixName>
</Prefix>
<Refno>sample string 3</Refno>
<Status>sample string 33</Status>
<Subject>
<InwSubjectId>1</InwSubjectId>
<InwSubjectName>sample string 2</InwSubjectName>
</Subject>
<ToPerson>sample string 7</ToPerson>
</DespatchSaveVM>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.