POST api/customer/{userId}/projects/{projectId}/requests
add new request for customer project
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId | string |
Required |
|
projectId | integer |
Required |
Body Parameters
GetPostRequestsName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
count | integer |
None. |
|
text | string |
None. |
|
randomReferences | boolean |
None. |
|
anchorPercents | integer |
None. |
|
status | integer |
None. |
|
addDate | date |
None. |
|
references | Collection of GetReferencesFromExcelModel |
None. |
|
promoCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "count": 2, "text": "sample string 3", "randomReferences": true, "anchorPercents": 5, "status": 6, "addDate": "2025-04-04T00:16:38.3328823+00:00", "references": { "$id": "2", "$values": [ { "$id": "3", "url": "sample string 1", "count": 2, "anchor": "sample string 3" }, { "$ref": "3" } ] }, "promoCode": "sample string 8" }
application/xml, text/xml
Sample:
<GetPostRequests xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CraudWezom_v1.Controllers.Customer"> <addDate>2025-04-04T00:16:38.3328823+00:00</addDate> <anchorPercents>5</anchorPercents> <count>2</count> <id>1</id> <promoCode>sample string 8</promoCode> <randomReferences>true</randomReferences> <references> <GetReferencesFromExcelModel> <anchor>sample string 3</anchor> <count>2</count> <url>sample string 1</url> </GetReferencesFromExcelModel> <GetReferencesFromExcelModel> <anchor>sample string 3</anchor> <count>2</count> <url>sample string 1</url> </GetReferencesFromExcelModel> </references> <status>6</status> <text>sample string 3</text> </GetPostRequests>
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.