POST api/PayTRPayment/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": "5baa3d59-1797-45e8-8ded-a0af2a03dce2", "month": 2, "startDate": "2025-05-24T17:06:52.4317545+03:00", "endDate": "2025-05-24T17:06:52.4317545+03:00", "promotionCode": "sample string 3", "package": "sample string 4", "amount": 5.0, "recipeID": "95e3de37-d568-42d7-a66a-5c377f5faf06", "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>5baa3d59-1797-45e8-8ded-a0af2a03dce2</CompanyID> <EndDate>2025-05-24T17:06:52.4317545+03:00</EndDate> <IzibizRecipeId>7</IzibizRecipeId> <Month>2</Month> <Package>sample string 4</Package> <PromotionCode>sample string 3</PromotionCode> <RecipeID>95e3de37-d568-42d7-a66a-5c377f5faf06</RecipeID> <StartDate>2025-05-24T17:06:52.4317545+03:00</StartDate> </CompanyAccountActionAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"companyID":"5baa3d59-1797-45e8-8ded-a0af2a03dce2","month":2,"startDate":"2025-05-24T17:06:52.4317545+03:00","endDate":"2025-05-24T17:06:52.4317545+03:00","promotionCode":"sample string 3","package":"sample string 4","amount":5.0,"recipeID":"95e3de37-d568-42d7-a66a-5c377f5faf06","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.