POST api/store/{id}/accounts
Save new store account
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
StoreID |
integer |
Required |
Body Parameters
Store Account
StoreAccount| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| StoreID | integer |
None. |
|
| AccountName | string |
None. |
|
| BSB | string |
None. |
|
| AccountNumber | string |
None. |
|
| AccountDesignated |
Is this the account designated for customer account payments? |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"storeID": 1,
"accountName": "sample string 2",
"bsb": "sample string 3",
"accountNumber": "sample string 4",
"accountDesignated": true
}
application/xml, text/xml
Sample:
<StoreAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Stores"> <AccountDesignated>true</AccountDesignated> <AccountName>sample string 2</AccountName> <AccountNumber>sample string 4</AccountNumber> <BSB>sample string 3</BSB> <ID>1</ID> <StoreID>1</StoreID> </StoreAccount>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK 3��\}�h� 5 xl/workbook.xml � (� ����0��&�C���"�p��Ճ��H[ҭ�Ǘ�@�����췣F^��/����<\�8�BP�����n�u>X��O��4X��m�Eq�2{��;�f ���a�Z҈��+ʂq�<Ss����9[��db
�ߔZ`�Ţ��� g�sk~�,�f�i�iV�,A��$��;L��w�PK 3��\���� � [Content_Types].xml � (� ���J�0�_��*M�D��V�*��d�
�d�k��<�H���V���=
��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ
�1Z�$�8z�R��3
tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b
��%#H'�2}���e�B)��~j/F�t��PK
3��\,��' ' _rels/.rels � (� <?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="Rd1ba193cce4d455e" /></Relationships>PK 3��\��4 � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j�U���n�ۙ%N@
82����6M�e������<��Ȯ@��ox��8�bg���9�w����t ��aO
71N{!Bk��� |z둜�)�A`��N��|۪� �Q�T*;���G+L�+ܸJ9m=W��I=�g}Ï5gBɂ|���_1�m|"^r��5�*X�|.�_�u��y�o�<�LLz(��Pv�l�gN�ʹ�.��?m��j�M�v��z��+��:騕$\�礚��G����Z�kf���ߎW�Is:#F����W�PK 3��\G�a� P xl/_rels/workbook.xml.rels � (� ��An� E�����.r�*N6�d�����9[=R�P�J�#u�MVh���
�����<�3|�ii���Hۏfh�)���n7�=&Ӎ�GHzbBKu� 5f2�`RGY?��J?0'�Q`e�W�/�I���R�ij��&�f���"%�Ė�D�]�"KTJv}K��B�tyÑ��"����eB����2蚢l�+ޕ�2Zx�/ѧM/���R
(�諢Yu�qůj��_l� PK 3��\Ѓc'2 E
xl/styles.xml � (� �S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v �F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&�
AR>��� ��im��ΑF���YO��%�}� ��LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK 3��\�/�� � xl/sharedStrings.xml � (� 5�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- 3��\}�h� 5 xl/workbook.xmlPK- 3��\���� � � [Content_Types].xmlPK-
3��\,��' ' U _rels/.relsPK- 3��\��4 � � xl/worksheets/sheet1.xmlPK- 3��\G�a� P - xl/_rels/workbook.xml.relsPK- 3��\Ѓc'2 E
s xl/styles.xmlPK- 3��\�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK 3��\3��N� 5 xl/workbook.xml � (� ����0D�&�C��"� '.^=x_`khK��|�o�vfg�N1�7����r[R���3�Z�
�Ɍ��7V���}1ùl�6�[���r>'�� ^�]i���h:'�V��iu<R,͞'�llu��5�~SE��A
KZ�J�s�JQbs9��@C��]v�Nw�+����PK 3��\���� � [Content_Types].xml � (� ���J�0�_��*M�D��V�*��d�
�d�k��<�H���V���=
��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ
�1Z�$�8z�R��3
tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b
��%#H'�2}���e�B)��~j/F�t��PK
3��\(' ' _rels/.rels � (� <?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="Rd65e847b86ee468f" /></Relationships>PK 3��\��4 � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j�U���n�ۙ%N@
82����6M�e������<��Ȯ@��ox��8�bg���9�w����t ��aO
71N{!Bk��� |z둜�)�A`��N��|۪� �Q�T*;���G+L�+ܸJ9m=W��I=�g}Ï5gBɂ|���_1�m|"^r��5�*X�|.�_�u��y�o�<�LLz(��Pv�l�gN�ʹ�.��?m��j�M�v��z��+��:騕$\�礚��G����Z�kf���ߎW�Is:#F����W�PK 3��\a��� P xl/_rels/workbook.xml.rels � (� ��Mn� F��f_�O'�n�Ms��b��m��E��+5R�H]t��o��i������m��08���ҩ����~ha���q1�f�IOl���8�)
��$B�f�����DL���,�I�Hs�j��e��e���փ�G'�����:
19�c��'
���Y�yR�WM-�B�m�V%?j �nj!^F�^�z!Sh��Qr��.Y��U���9����2^�I0U7M�ȼ*��Fo���PK 3��\Ѓc'2 E
xl/styles.xml � (� �S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v �F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&�
AR>��� ��im��ΑF���YO��%�}� ��LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK 3��\�/�� � xl/sharedStrings.xml � (� 5�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- 3��\3��N� 5 xl/workbook.xmlPK- 3��\���� � [Content_Types].xmlPK-
3��\(' ' V _rels/.relsPK- 3��\��4 � � xl/worksheets/sheet1.xmlPK- 3��\a��� P . xl/_rels/workbook.xml.relsPK- 3��\Ѓc'2 E
t xl/styles.xmlPK- 3��\�/�� � � xl/sharedStrings.xmlPK � �