POST api/store/{id}/accounts

Save new store account

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

StoreID

integer

Required

Body Parameters

Store Account

StoreAccount
NameDescriptionTypeAdditional 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

integer

Response 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:
PKb5�Z�O�5xl/workbook.xml �(�����0��&�C���J���/�����_(�ě����o'��k�{�r�-(��d����w�մ봕�'i_Lw�h���[���t<&��^h�0�.�X�X��qD/�%A(Z�w��s����9k��$l	��T`�EPD�ĂV����ۂF��LL�#�!��[���%IR��7X����PKb5�Z����	�[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
b5�Z��y�''_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="Re5ebac298d0044c6" /></Relationships>PKb5�Z��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�PKb5�ZLn���Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞8IcǠ�ݰa[z��3����.г��H\�H�J,�t5��ӓf>�?�۷yb/��hME�#�m;���S��l7�M��ų�b|C��^4���B&v:�f1u=_P�'^��.e�5�����h�n��h�i&��W�~ 
���z

��<��"�T`Om������hժ���o���y"����'2BV(�$�����̀�����S������-�B��,+��E�_���PKb5�ZЃc'2E
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��PKb5�Z�/���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-b5�Z�O�5xl/workbook.xmlPK-b5�Z����	�[Content_Types].xmlPK-
b5�Z��y�''V_rels/.relsPK-b5�Z��4��xl/worksheets/sheet1.xmlPK-b5�ZLn���P.xl/_rels/workbook.xml.relsPK-b5�ZЃc'2E
txl/styles.xmlPK-b5�Z�/����xl/sharedStrings.xmlPK��

application/vnd.ms-excel

Sample:
PKb5�Z�����5xl/workbook.xml �(�����0��J}���P�P����k��L� ?JR��o�[7�����E۩�zb9+W�
F�M���F��.ڐ
�A[�>H��zDG��ޒ��i���Ҍ^h�Fal�X�X�ލD^�J�PP�O��k����E���j2���o����"*�PR
z�{_��-Dm�Y�f-ݺ$ˇ�+����PKb5�Z����	�[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
b5�Z�L�+''_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="R036de790ca5044db" /></Relationships>PKb5�Z��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�PKb5�Z�(��Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞��ȱP�n�a[z�I�Ďl��Xp$��U$H%l����I3�����<�q���`@�ioF�wpN�A�n�9�$S��øD�W\�`Hiy�4�g�����,SNCO�O�GZ1�iX3�I���C�֎�^�gt�0}����(C����R��P�
��tpP\6�j
�n+ �nj1]&��^��JF(U�ܪJ��iE}W�A4�)�K����Z�y%t[�X��3qU�7��PKb5�ZЃc'2E
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��PKb5�Z�/���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-b5�Z�����5xl/workbook.xmlPK-b5�Z����	��[Content_Types].xmlPK-
b5�Z�L�+''U_rels/.relsPK-b5�Z��4��xl/worksheets/sheet1.xmlPK-b5�Z�(��P-xl/_rels/workbook.xml.relsPK-b5�ZЃc'2E
sxl/styles.xmlPK-b5�Z�/����xl/sharedStrings.xmlPK��