POST api/ServicesAPI/NewInsertPurchaseRequest
Request Information
URI Parameters
None.
Body Parameters
PurchaseRequestDTOName | Description | Type | Additional information |
---|---|---|---|
FullName | string |
Required |
|
Mobile | string |
Required Matching regular expression pattern: ^(\+9665)([0-9]{8})$ |
|
string |
Required Matching regular expression pattern: ^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$ |
||
ProjectMasterId | integer |
Required |
|
StatusCode | integer |
None. |
|
MessageEn | string |
None. |
|
MessageAr | string |
None. |
|
datasetxml | string |
None. |
|
FlagId | integer |
None. |
|
TypeId | integer |
None. |
|
PageSize | integer |
None. |
|
PageNumber | integer |
None. |
|
ActionBy | integer |
None. |
|
pagingNumber | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "FullName": "sample string 1", "Mobile": "sample string 2", "Email": "sample string 3", "ProjectMasterId": 4, "StatusCode": 5, "MessageEn": "sample string 6", "MessageAr": "sample string 7", "datasetxml": "sample string 8", "FlagId": 9, "TypeId": 10, "PageSize": 11, "PageNumber": 12, "ActionBy": 13, "pagingNumber": 14 }
application/xml, text/xml
Sample:
<PurchaseRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <ActionBy>13</ActionBy> <FlagId>9</FlagId> <MessageAr>sample string 7</MessageAr> <MessageEn>sample string 6</MessageEn> <PageNumber>12</PageNumber> <PageSize>11</PageSize> <StatusCode>5</StatusCode> <TypeId>10</TypeId> <datasetxml>sample string 8</datasetxml> <pagingNumber>14</pagingNumber> <Email>sample string 3</Email> <FullName>sample string 1</FullName> <Mobile>sample string 2</Mobile> <ProjectMasterId>4</ProjectMasterId> </PurchaseRequestDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.