API CreateCountry: Porovnání verzí
Z Podpora.nextis.cz
(Založena nová stránka s textem „==== Description ==== Method allows You to create new country in system. ==== Exact name ==== <code>API_CreateCountry</code> ==== Type ==== Standard exec…“) |
|||
| Řádka 16: | Řádka 16: | ||
!Relation | !Relation | ||
|- | |- | ||
| − | |@ | + | |@Name |
|nvarchar(50) | |nvarchar(50) | ||
| | | | ||
| − | | | + | |Name |
| + | | | ||
| + | |- | ||
| + | |@PhoneNumberPrefix | ||
| + | |nvarchar(50) | ||
| + | | | ||
| + | |Phone number prefix | ||
| + | | | ||
| + | |- | ||
| + | |@Code | ||
| + | |nvarchar(50) | ||
| + | | | ||
| + | |Code | ||
| | | | ||
|} | |} | ||
| Řádka 25: | Řádka 37: | ||
==== Example ==== | ==== Example ==== | ||
<syntaxhighlight lang="sql"> | <syntaxhighlight lang="sql"> | ||
| − | EXEC [API_CreateCountry] @ | + | EXEC [API_CreateCountry] @Name= 'Poland' ,@PhoneNumberPrefix= '0048' ,@Code= 'PL' |
</syntaxhighlight> | </syntaxhighlight> | ||
==== Notices ==== | ==== Notices ==== | ||
None. | None. | ||
Verze z 1. 8. 2017, 09:23
Description
Method allows You to create new country in system.
Exact name
API_CreateCountry
Type
Standard executable stored procedure.
Specification
| Parameter | Data type | Value range | Description | Relation |
|---|---|---|---|---|
| @Name | nvarchar(50) | Name | ||
| @PhoneNumberPrefix | nvarchar(50) | Phone number prefix | ||
| @Code | nvarchar(50) | Code |
Example
EXEC [API_CreateCountry] @Name= 'Poland' ,@PhoneNumberPrefix= '0048' ,@Code= 'PL'
Notices
None.