POST api/TestPayTRPayment/Add
Request Information
URI Parameters
None.
Body Parameters
CompanyAccountActionAddDtoName | Description | Type | Additional information |
---|---|---|---|
CompanyID | globally unique identifier |
None. |
|
Month | integer |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
PromotionCode | string |
None. |
|
Package | string |
None. |
|
Amount | decimal number |
None. |
|
RecipeID | globally unique identifier |
None. |
|
Code | string |
None. |
|
IzibizRecipeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "companyID": "740a8a55-4669-474a-bcc8-e07674cddbb1", "month": 2, "startDate": "2025-05-24T14:45:29.4345627+03:00", "endDate": "2025-05-24T14:45:29.4345627+03:00", "promotionCode": "sample string 3", "package": "sample string 4", "amount": 5.0, "recipeID": "839d9c90-d32e-4723-a664-1f3ef03ce511", "code": "sample string 6", "izibizRecipeId": 7 }
application/xml, text/xml
Sample:
<CompanyAccountActionAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <Amount>5</Amount> <Code>sample string 6</Code> <CompanyID>740a8a55-4669-474a-bcc8-e07674cddbb1</CompanyID> <EndDate>2025-05-24T14:45:29.4345627+03:00</EndDate> <IzibizRecipeId>7</IzibizRecipeId> <Month>2</Month> <Package>sample string 4</Package> <PromotionCode>sample string 3</PromotionCode> <RecipeID>839d9c90-d32e-4723-a664-1f3ef03ce511</RecipeID> <StartDate>2025-05-24T14:45:29.4345627+03:00</StartDate> </CompanyAccountActionAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"companyID":"740a8a55-4669-474a-bcc8-e07674cddbb1","month":2,"startDate":"2025-05-24T14:45:29.4345627+03:00","endDate":"2025-05-24T14:45:29.4345627+03:00","promotionCode":"sample string 3","package":"sample string 4","amount":5.0,"recipeID":"839d9c90-d32e-4723-a664-1f3ef03ce511","code":"sample string 6","izibizRecipeId":7}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.