{"id":518,"date":"2021-07-30T14:50:25","date_gmt":"2021-07-30T14:50:25","guid":{"rendered":"https:\/\/payb.co.uk\/integration-guide\/?p=518"},"modified":"2021-08-04T18:42:50","modified_gmt":"2021-08-04T18:42:50","slug":"notation-explained-3","status":"publish","type":"post","link":"https:\/\/payb.co.uk\/integration-guide\/direct-integration\/notation-explained-3\/","title":{"rendered":"Notation Explained"},"content":{"rendered":"<p class=\"western\" lang=\"en-GB\">The message variables are primarily described using a hierarchical table \u2013 the hierarchy information is implied by the indentation amount of the first column. You can see the XML schema diagrams and example messages in the appendices. The table has 5 Columns:<\/p>\n<ol>\n<li>\n<p lang=\"en-GB\" align=\"LEFT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Tag\/Attribute Name \u2013<\/span> <span style=\"font-size: small;\">this<\/span> <span style=\"font-size: small;\">contains<\/span> <span style=\"font-size: small;\">the name<\/span> <span style=\"font-size: small;\">of<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">tag<\/span> <span style=\"font-size: small;\">(or<\/span> <span style=\"font-size: small;\">the name<\/span> <span style=\"font-size: small;\">of<\/span> <span style=\"font-size: small;\">the attribute of<\/span> <span style=\"font-size: small;\">a tag)<\/span><\/span><\/p>\n<\/li>\n<li>\n<p lang=\"en-GB\" align=\"LEFT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Data<\/span> <span style=\"font-size: small;\">Type<\/span> <span style=\"font-size: small;\">\u2013<\/span> <span style=\"font-size: small;\">this<\/span> <span style=\"font-size: small;\">gives<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">valid<\/span> <span style=\"font-size: small;\">data<\/span> <span style=\"font-size: small;\">type<\/span> <span style=\"font-size: small;\">that a tag<\/span> <span style=\"font-size: small;\">or<\/span> <span style=\"font-size: small;\">attribute<\/span> <span style=\"font-size: small;\">can<\/span> <span style=\"font-size: small;\">contain<\/span><\/span><\/p>\n<\/li>\n<li>\n<p lang=\"en-GB\" align=\"LEFT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Max Length \u2013 this gives the maximum length for the contents of a tag or attribute. If a \u201c-\u201c is in this<\/span> <span style=\"font-size: small;\">column, then the tag or attribute has no max length, or it is a special type (like a Boolean for<\/span> <span style=\"font-size: small;\">example)<\/span><\/span><\/p>\n<\/li>\n<li>\n<p lang=\"en-GB\" align=\"LEFT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Mandatory or Always present \u2013 for input messages, this is whether or not the tag or attribute is<\/span> <span style=\"font-size: small;\">required for a valid message &amp; for output messages this is whether the tag or attribute will<\/span> <span style=\"font-size: small;\">always<\/span> <span style=\"font-size: small;\">be present in<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">message<\/span><\/span><\/p>\n<\/li>\n<li>\n<p lang=\"en-GB\" align=\"LEFT\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Comment \u2013 this gives a brief description of the function of the tag or attribute along with<\/span> <span style=\"font-size: small;\">anything<\/span> <span style=\"font-size: small;\">else<\/span> <span style=\"font-size: small;\">worth noting<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">relation<\/span> <span style=\"font-size: small;\">to<\/span> <span style=\"font-size: small;\">that<\/span> <span style=\"font-size: small;\">tag<\/span> <span style=\"font-size: small;\">or attribute<\/span><\/span><\/p>\n<\/li>\n<\/ol>\n<p class=\"western\" lang=\"en-GB\">Rows in orange are tags that do not have any content (i.e. they can have attributes, but they don\u2019t have<\/p>\n<p class=\"western\" lang=\"en-GB\">any content apart from child tags).<\/p>\n<p class=\"western\" lang=\"en-GB\">Rows in white are either tags that have content, or are attributes (marked so) of the containing tag.<\/p>\n<table border=\"1\" width=\"616\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr valign=\"TOP\">\n<td colspan=\"3\" bgcolor=\"#b8cce3\" width=\"224\" height=\"54\">\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Tag\/Attribute<\/span> <span style=\"font-size: small;\">Name<\/span><\/span><\/p>\n<\/td>\n<td bgcolor=\"#b8cce3\" width=\"57\">\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Data<\/span> <span style=\"font-size: small;\">Type<\/span><\/span><\/p>\n<\/td>\n<td bgcolor=\"#b8cce3\" width=\"57\">\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Max<\/span> <span style=\"font-size: small;\">Length<\/span><\/span><\/p>\n<\/td>\n<td bgcolor=\"#b8cce3\" width=\"85\">\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Mandatory<\/span><\/span><\/p>\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">or Always<\/span> <span style=\"font-size: small;\">Present<\/span><\/span><\/p>\n<\/td>\n<td bgcolor=\"#b8cce3\" width=\"192\">\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Comments<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td colspan=\"5\" bgcolor=\"#fce9d9\" width=\"337\" height=\"18\">\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\"><b>RootTag<\/b><\/span><b> <\/b><span style=\"font-size: small;\"><b>(no<\/b><\/span><b> <\/b><span style=\"font-size: small;\"><b>attributes<\/b><\/span><b> <\/b><span style=\"font-size: small;\"><b>or<\/b><\/span><b> <\/b><span style=\"font-size: small;\"><b>content,<\/b><\/span><b> <\/b><span style=\"font-size: small;\"><b>only<\/b><\/span><b> <\/b><span style=\"font-size: small;\"><b>child<\/b><\/span><b> <\/b><span style=\"font-size: small;\"><b>tags)<\/b><\/span><\/span><\/p>\n<\/td>\n<td bgcolor=\"#fce9d9\" width=\"85\"><\/td>\n<td bgcolor=\"#fce9d9\" width=\"192\"><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td bgcolor=\"#bebebe\" width=\"16\" height=\"18\"><\/td>\n<td colspan=\"4\" bgcolor=\"#fce9d9\" width=\"322\">\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\"><b>ChildTag<\/b><\/span><b> <\/b><span style=\"font-size: small;\"><b>(has<\/b><\/span><b> <\/b><span style=\"font-size: small;\"><b>no<\/b><\/span><b> <\/b><span style=\"font-size: small;\"><b>content)<\/b><\/span><\/span><\/p>\n<\/td>\n<td bgcolor=\"#fce9d9\" width=\"85\"><\/td>\n<td bgcolor=\"#fce9d9\" width=\"192\"><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td colspan=\"2\" bgcolor=\"#bebebe\" width=\"25\" height=\"18\"><\/td>\n<td width=\"199\">\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">AnAttribute<\/span> <span style=\"font-size: small;\">(attribute)<\/span><\/span><\/p>\n<\/td>\n<td width=\"57\"><\/td>\n<td width=\"57\"><\/td>\n<td width=\"85\"><\/td>\n<td width=\"192\"><\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td colspan=\"2\" bgcolor=\"#bebebe\" width=\"25\" height=\"17\"><\/td>\n<td width=\"199\">\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">AnotherChildTag<\/span> <span style=\"font-size: small;\">(has<\/span> <span style=\"font-size: small;\">content)<\/span><\/span><\/p>\n<\/td>\n<td width=\"57\"><\/td>\n<td width=\"57\"><\/td>\n<td width=\"85\"><\/td>\n<td width=\"192\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"western\" lang=\"en-GB\"><b>NOTE:<\/b><b> <\/b>The Mandatory\/Always Present fields take into account their scope in the XML hierarchy \u2013 if a tag is<\/p>\n<p class=\"western\" lang=\"en-GB\">labelled as Mandatory, then it is mandatory if its parent tag is present. The same applies to a tag\u2019s presence<\/p>\n<p class=\"western\" lang=\"en-GB\">in the response message.<\/p>\n<p class=\"western\" lang=\"en-GB\">This simple table would represent the simple XML message (not including the SOAP envelope or body):<\/p>\n<p class=\"western\" align=\"LEFT\"><span style=\"font-family: Times New Roman, serif;\"><span style=\"font-size: medium;\"><span style=\"color: #007e7e;\"><span style=\"font-size: xx-small;\">&lt;<\/span><\/span><span style=\"color: #00007e;\"><span style=\"font-size: xx-small;\"><b>RootTag<\/b><\/span><\/span><span style=\"color: #007e7e;\"><span style=\"font-size: xx-small;\">&gt;<\/span><\/span><\/span><\/span><\/p>\n<p class=\"western\" align=\"LEFT\"><span style=\"font-family: Times New Roman, serif;\"><span style=\"font-size: medium;\"><span style=\"color: #007e7e;\"><span style=\"font-size: xx-small;\">&lt;<\/span><\/span><span style=\"color: #00007e;\"><span style=\"font-size: xx-small;\"><b>ChildTag<\/b><\/span><\/span><b> <\/b><span style=\"color: #00007e;\"><span style=\"font-size: xx-small;\"><b>AnAttribute<\/b><\/span><\/span><span style=\"color: #0000ff;\"><span style=\"font-size: xx-small;\"><b>=<\/b><\/span><\/span><span style=\"color: #7e0000;\"><span style=\"font-size: xx-small;\">&#8220;SomeValue&#8221;<\/span><\/span><span style=\"color: #007e7e;\"><span style=\"font-size: xx-small;\">&gt;<\/span><\/span><\/span><\/span><\/p>\n<p class=\"western\" align=\"LEFT\"><span style=\"font-family: Times New Roman, serif;\"><span style=\"font-size: medium;\"><span style=\"color: #007e7e;\"><span style=\"font-size: xx-small;\">&lt;<\/span><\/span><span style=\"color: #00007e;\"><span style=\"font-size: xx-small;\"><b>AnotherChildTag<\/b><\/span><\/span><span style=\"color: #007e7e;\"><span style=\"font-size: xx-small;\">&gt;<\/span><\/span><span style=\"font-size: xx-small;\">SomeValue<\/span><span style=\"color: #007e7e;\"><span style=\"font-size: xx-small;\">&lt;<\/span><\/span><span style=\"font-size: xx-small;\">\/<\/span><span style=\"color: #00007e;\"><span style=\"font-size: xx-small;\"><b>AnotherChildTag<\/b><\/span><\/span><span style=\"color: #007e7e;\"><span style=\"font-size: xx-small;\">&gt;<\/span><\/span><\/span><\/span><\/p>\n<p class=\"western\" align=\"LEFT\"><span style=\"font-family: Times New Roman, serif;\"><span style=\"font-size: medium;\"><span style=\"color: #007e7e;\"><span style=\"font-size: xx-small;\">&lt;<\/span><\/span><span style=\"font-size: xx-small;\">\/<\/span><span style=\"color: #00007e;\"><span style=\"font-size: xx-small;\"><b>ChildTag<\/b><\/span><\/span><b> <\/b><span style=\"color: #007e7e;\"><span style=\"font-size: xx-small;\">&gt;<\/span><\/span><\/span><\/span><\/p>\n<p class=\"western\" align=\"LEFT\"><span style=\"font-family: Times New Roman, serif;\"><span style=\"font-size: medium;\"><span style=\"color: #007e7e;\"><span style=\"font-size: xx-small;\">&lt;<\/span><\/span><span style=\"font-size: xx-small;\">\/<\/span><span style=\"color: #00007e;\"><span style=\"font-size: xx-small;\"><b>RootTag<\/b><\/span><\/span><span style=\"color: #007e7e;\"><span style=\"font-size: xx-small;\">&gt;<\/span><\/span><\/span><\/span><\/p>\n<p class=\"western\" lang=\"en-GB\">The possible values for the data types are detailed in the table below<\/p>\n<table border=\"1\" width=\"616\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr valign=\"TOP\">\n<td bgcolor=\"#b8cce3\" width=\"53\" height=\"35\">\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Data<\/span><\/span><\/p>\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Type<\/span><\/span><\/p>\n<\/td>\n<td bgcolor=\"#b8cce3\" width=\"561\">\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Description<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"53\" height=\"18\">\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">N<\/span><\/span><\/p>\n<\/td>\n<td width=\"561\">\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Numeric<\/span> <span style=\"font-size: small;\">\u2013<\/span> <span style=\"font-size: small;\">only<\/span> <span style=\"font-size: small;\">numbers<\/span> <span style=\"font-size: small;\">allowed<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"53\" height=\"18\">\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">A<\/span><\/span><\/p>\n<\/td>\n<td width=\"561\">\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Alpha<\/span> <span style=\"font-size: small;\">\u2013 any<\/span> <span style=\"font-size: small;\">printable character<\/span> <span style=\"font-size: small;\">is<\/span> <span style=\"font-size: small;\">allowed<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"53\" height=\"18\">\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">B<\/span><\/span><\/p>\n<\/td>\n<td width=\"561\">\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Boolean<\/span> <span style=\"font-size: small;\">\u2013<\/span> <span style=\"font-size: small;\">only TRUE<\/span> <span style=\"font-size: small;\">or FALSE<\/span> <span style=\"font-size: small;\">are<\/span> <span style=\"font-size: small;\">allowed<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<tr valign=\"TOP\">\n<td width=\"53\" height=\"35\">\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">&#8211;<\/span><\/span><\/p>\n<\/td>\n<td width=\"561\">\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">Special<\/span> <span style=\"font-size: small;\">types \u2013<\/span> <span style=\"font-size: small;\">these<\/span> <span style=\"font-size: small;\">variables<\/span> <span style=\"font-size: small;\">only<\/span> <span style=\"font-size: small;\">allow<\/span> <span style=\"font-size: small;\">a<\/span> <span style=\"font-size: small;\">specific<\/span> <span style=\"font-size: small;\">set of<\/span> <span style=\"font-size: small;\">values.<\/span> <span style=\"font-size: small;\">Details<\/span> <span style=\"font-size: small;\">of<\/span> <span style=\"font-size: small;\">the<\/span> <span style=\"font-size: small;\">allowed<\/span><\/span><\/p>\n<p lang=\"en-GB\"><span style=\"font-size: medium;\"><span style=\"font-size: small;\">values<\/span> <span style=\"font-size: small;\">are given<\/span> <span style=\"font-size: small;\">in<\/span> <span style=\"font-size: small;\">the comments<\/span> <span style=\"font-size: small;\">section<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h1 class=\"western\" lang=\"en-GB\"><\/h1>\n","protected":false},"excerpt":{"rendered":"<p>The message variables are primarily described using a hierarchical table \u2013 the hierarchy information is implied by the indentation amount of the first column. You can see the XML schema diagrams and example messages in the appendices. The table has 5 Columns: Tag\/Attribute Name \u2013 this contains the name of the tag (or the name&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,76],"tags":[],"_links":{"self":[{"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/posts\/518"}],"collection":[{"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/comments?post=518"}],"version-history":[{"count":1,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/posts\/518\/revisions"}],"predecessor-version":[{"id":519,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/posts\/518\/revisions\/519"}],"wp:attachment":[{"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/media?parent=518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/categories?post=518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/payb.co.uk\/integration-guide\/wp-json\/wp\/v2\/tags?post=518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}